[FIX] accounts unbalanced in continental accounting for stock transactions

In the documentation of continental accounting for stock transactions.
In the perpetual inventory valuation, when we choose the option 'Vendor
Invoice (PO €48, Invoice €50)', the purchase goods must be €50 and not
€48 as is the case for the moment.

opw-2052725
This commit is contained in:
Jorge Pinna Puissant 2019-09-05 09:38:28 +02:00 committed by Nicolas Martinelli
parent ab7ff165f7
commit eced2f4cca

View File

@ -225,7 +225,7 @@
}, {
label: "Vendor Invoice (PO €48, Invoice €50)",
operations: [
{account: EXPENSES.PURCHASED_GOODS.code, debit: constant(48)},
{account: EXPENSES.PURCHASED_GOODS.code, debit: constant(50)},
{account: ASSETS.TAXES_PAID.code, debit: constant(50 * 0.09)},
{account: LIABILITIES.ACCOUNTS_PAYABLE.code, credit: constant(50 * 1.09)},
]