avanzosc team mailing list archive
-
avanzosc team
-
Mailing list archive
-
Message #00234
[Bug 905381] Re: 'string indices must be integers, not str' error on printing cost structure report for a product
Hi.
The problem was function _bom_explode from class mrp_bom is redefined when you install mrp_master_extension addon, and return format and values are redefined. I've fixed this received parameters before send its to the functions process_bom and process_workcenter (when that error occurs).
I attached the file 'printer.py' with the solution for this report. Put
this file at addons/mrp/report (overwrite), and force update the mrp
addon or compile report.py.
Best regards
--
You received this bug notification because you are a member of Avanzosc
Developers, which is subscribed to Avanzosc developments.
https://bugs.launchpad.net/bugs/905381
Title:
'string indices must be integers, not str' error on printing cost
structure report for a product
Status in Avanzosc OpenERP modules:
New
Bug description:
When I try to print the cost structure report for a product from the
product's form, OpenERP throws the error 'string indices must be
integers, not str'.
I've noticed that this only happens for those products which have a
BoM. In a raw material's form I'm able to show the report.
Am I missing something, or is this a bug?
(Congrats for ur job!!!!!)
To manage notifications about this bug go to:
https://bugs.launchpad.net/avanzosc/+bug/905381/+subscriptions
References