[REM]:lp-500931 remove wrong changes

bzr revid: ksa@tinyerp.co.in-20101118045531-eihmkjo3a4rv8mj5
This commit is contained in:
ksa (Open ERP)
2010-11-18 10:25:31 +05:30
parent 1b74ce2567
commit 4c517bc53a
+2 -3
View File
@@ -737,7 +737,7 @@ class mrp_production(osv.osv):
'account_id': account,
'general_account_id': wc.costs_general_account_id.id,
'journal_id': wc.costs_journal_id.id,
'ref': wc.code
'code': wc.code
} )
if wc.costs_journal_id and wc.costs_general_account_id:
value = wc_line.cycle * wc.costs_cycle
@@ -750,8 +750,7 @@ class mrp_production(osv.osv):
'account_id': account,
'general_account_id': wc.costs_general_account_id.id,
'journal_id': wc.costs_journal_id.id,
'ref': wc.code,
'product_id': production.product_id.id
'code': wc.code,
} )
return amount