fix(Currencies): Currency code in services.

This commit is contained in:
a.bouhuolia
2021-03-30 16:18:57 +02:00
parent 78d4b56e92
commit 1ba67f183b
37 changed files with 160 additions and 73 deletions

View File

@@ -350,7 +350,7 @@ export default class JournalCommands {
const costEntry = new JournalEntry({
...commonEntry,
debit: inventoryCostLot.cost,
account: inventoryCostLot.itemEntry.costAccountId,
account: inventoryCostLot.costAccountId,
itemId: inventoryCostLot.itemId,
index: getIndexIncrement(),
});