Ravish(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1028264-rmu into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1028264 in OpenERP Addons: "[trunk] 6.2 - Manufacturing error on Produce
and Confirm stage (with Analytic Accounts)"
https://bugs.launchpad.net/openobject-addons/+bug/1028264
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1028264-rmu/+merge/116436
Hello,
I have solved the problem . Generates by following steps
- Use routing with 2+ work centers
- Put analytic accounts on work centers - Hour Account, Cycle Account, Analytic
Journal and General Account
- Run all stages of production till "Produce"
With this merge all working fine
Thanks..!!
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1028264-rmu/+merge/116436
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1028264-rmu.
=== modified file 'mrp/mrp.py'
--- mrp/mrp.py 2012-07-19 12:03:34 +0000
+++ mrp/mrp.py 2012-07-24 10:19:31 +0000
@@ -819,7 +819,8 @@
'ref': wc.code,
'product_id': wc.product_id.id,
'unit_amount': wc_line.hour,
- 'product_uom_id': wc.product_id.uom_id.id
+ 'product_uom_id': wc.product_id.id and wc.product_id.uom_id.id or False
+
} )
if wc.costs_journal_id and wc.costs_general_account_id:
value = wc_line.cycle * wc.costs_cycle
@@ -835,7 +836,8 @@
'ref': wc.code,
'product_id': wc.product_id.id,
'unit_amount': wc_line.cycle,
- 'product_uom_id': wc.product_id.uom_id.id
+ 'product_uom_id': wc.product_id.id and wc.product_id.uom_id.id or False
+
} )
return amount
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp