mirror of
https://github.com/odoo/documentation.git
synced 2026-01-04 02:36:32 +07:00
[FIX] Production Order: raw materials account is credited, not debited
also renamed MO -> PO for coherence with rest of
This commit is contained in:
@@ -253,11 +253,11 @@
|
||||
{account: ASSETS.STOCK.code, credit: constant(cor)}
|
||||
]
|
||||
}, {
|
||||
label: "Manufacturing Order",
|
||||
label: "Production Order",
|
||||
operations: [
|
||||
{account: ASSETS.STOCK.code, debit: constant(50)},
|
||||
{account: EXPENSES.MANUFACTURING_OVERHEAD.code, debit: constant(2)},
|
||||
{account: ASSETS.RAW_MATERIALS.code, debit: constant(52)}
|
||||
{account: ASSETS.RAW_MATERIALS.code, credit: constant(52)}
|
||||
]
|
||||
}]);
|
||||
function constant(val) {return function () { return val; };}
|
||||
|
||||
Reference in New Issue
Block a user