Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025717Openbravo ERP05. Production managementpublic2014-02-12 23:342014-03-18 18:18
chelipf 
dmiguelez 
highmajoralways
newopen 
30Debian Wheezy
2.50MP51 
 
Mozilla Firefox
Core
No
0025717: Generate production costs doesn't take into account inventory adjustments.
Generate production costs doesn't take into account inventory adjustments because of it doesn't take into account when m_productionline_id column of m_transaction table is null.
-Create a inventory adjustement.
-Execute generate production costs process.
-The process sets v_qty without taking into account inventory adjustments.
Check out the attached patch.
Sidesoft
diff MA_PRODUCTION_COST.diff (2,250) 2014-02-12 23:34
https://issues.openbravo.com/file_download.php?file_id=6699&type=bug
diff MA_PRODUCTION_COST2.diff (2,238) 2014-03-08 04:43
https://issues.openbravo.com/file_download.php?file_id=6739&type=bug
Issue History
2014-02-12 23:34chelipfNew Issue
2014-02-12 23:34chelipfAssigned To => dmiguelez
2014-02-12 23:34chelipfFile Added: MA_PRODUCTION_COST.diff
2014-02-12 23:34chelipfWeb browser => Mozilla Firefox
2014-02-12 23:34chelipfModules => Core
2014-02-12 23:34chelipfTriggers an Emergency Pack => No
2014-02-12 23:35chelipfTag Attached: Sidesoft
2014-03-08 04:43chelipfFile Added: MA_PRODUCTION_COST2.diff
2014-03-08 04:45chelipfNote Added: 0064966
2014-03-18 18:18chelipfNote Added: 0065275

Notes
(0064966)
chelipf   
2014-03-08 04:45   
The new patch fixes the problem when there are two or more entries in the m_transaction table with the same values.
(0065275)
chelipf   
2014-03-18 18:18   
What were I thinking about? the right patch is the reverse one of MA_PRODUCTION_COST2.diff.