diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-09-22 09:54:50 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-09-28 11:28:06 +0000 |
| commit | a97d3839c676f102eb6f6e94f824b6e0cd257455 (patch) | |
| tree | 7df99d625404542575f7caf8f7def6fda51d51e0 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 937e018ee35ca0f63c96442a11bb8f0d2d03471a (diff) | |
[FIX] stock_account: take default credit/debit accounts from journal
Create a product category with automated inventory valuation but no
accounts defined for expense/income
Create a stored product with such category but again without expense/income
accounts.
Create an invoice with such product and a jounral on which default
credit/debit accounts are defined.
Save and Post the invoice.
Journal entries related to the inventory move (COGS) are not created
because the accounts are missing, but the system should take the default
defined on the jounral instead of skipping the operation
opw-2339168
closes odoo/odoo#58644
X-original-commit: 3019828c1c101cdbf2f7d61a751ed6d73e40005f
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
