diff options
| author | Djamel (otd) <otd@odoo.com> | 2021-04-09 12:13:17 +0000 |
|---|---|---|
| committer | Djamel (otd) <otd@odoo.com> | 2021-04-09 12:44:42 +0000 |
| commit | 7cac0104625ea2bedf02a6c47801ccdb930ab939 (patch) | |
| tree | 739d42cd0acc40412389bdcdedf361dd2d9dddd7 /doc/python3.rst | |
| parent | 7faa11ca87cb5308df1d1921a674e2e2edc3f065 (diff) | |
[FIX] l10n_id_efaktur: fix the “_onchange_l10n_id_tax_number” method
Steps to follow to reproduce the bug:
- Create an Indonesian company
- Go to Invoicing settings / in “Fiscal Localization” / install Indonesian-Accounting “ l10n_id”
- Go to Invoicing / Vendors / bills
- Create a new bill / add a vendor / go to “other info” / add a valid Indonesian Tax Number, for example : “0112345678912345”
- An error is triggered
Problem:
In the “_onchange_l10n_id_tax_number” method, we try to access “record.type”, but in v14 the field "type" was replaced by "move_type” in the "account.move" model.
opw-2492530
closes odoo/odoo#69037
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
