[FIX] Production Order: raw materials account is credited, not debited
also renamed MO -> PO for coherence with rest of
This commit is contained in:
parent
05f2b29914
commit
7dc71b46ea
@ -253,11 +253,11 @@
|
|||||||
{account: ASSETS.STOCK.code, credit: constant(cor)}
|
{account: ASSETS.STOCK.code, credit: constant(cor)}
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
label: "Manufacturing Order",
|
label: "Production Order",
|
||||||
operations: [
|
operations: [
|
||||||
{account: ASSETS.STOCK.code, debit: constant(50)},
|
{account: ASSETS.STOCK.code, debit: constant(50)},
|
||||||
{account: EXPENSES.MANUFACTURING_OVERHEAD.code, debit: constant(2)},
|
{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; };}
|
function constant(val) {return function () { return val; };}
|
||||||
|
Loading…
Reference in New Issue
Block a user