diff options
| author | wan <wan@odoo.com> | 2021-05-20 11:52:47 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2021-05-20 11:52:47 +0000 |
| commit | 4f43dda7cd690bea780a209f48240ecf07e2f198 (patch) | |
| tree | e03736b0b003724fa0db329eef0d459fbd996264 /addons | |
| parent | f5651baa86d0537665d5b1bc2b8b51e1a803d141 (diff) | |
[FIX] l10n_cl: do not override `_onchange_journal``
This method was defined in `account` but overrided in `l10n_cl`. Prefix
the method to avoid that.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/l10n_cl/models/account_move.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_cl/models/account_move.py b/addons/l10n_cl/models/account_move.py index 1227af0116b..06588533973 100644 --- a/addons/l10n_cl/models/account_move.py +++ b/addons/l10n_cl/models/account_move.py @@ -91,7 +91,7 @@ class AccountMove(models.Model): 'the country should be different from Chile to register purchases.')) @api.onchange('journal_id') - def _onchange_journal(self): + def _l10n_cl_onchange_journal(self): self.l10n_latam_document_type_id = False def _post(self, soft=True): |
