diff options
| author | Xavier Morel <xmo@odoo.com> | 2020-03-10 14:48:24 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-03-10 14:54:42 +0000 |
| commit | ff53bdfb0986023422269f0d649ad0c015054d99 (patch) | |
| tree | 430ee0e02e4829547f883c4e1054343722b52f3d /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | db6a018c84468b80e1c32bca84fe743c874cdf26 (diff) | |
[FIX] l10n_latam_invoice_document: check of account_move type
The `type` field was renamed `move_type` in
d675dbaa4c7174591e0e7c1a3caf3e76877312ce but a forward-port re-added a
use of the old `type` name, which breaks if an account.move is
unlinked while l10n_latam_invoice_document is unlinked (and there are
related moves to update).
Instead of renaming the field, use the proper utility method for the
category (purchase) provided by account.move.
closes odoo/odoo#47301
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
