summaryrefslogtreecommitdiff
path: root/addons/l10n_latam_invoice_document
diff options
context:
space:
mode:
authorKatherine Zaoral <kz@adhoc.com.ar>2019-12-18 19:48:59 +0000
committerKatherine Zaoral <kz@adhoc.com.ar>2019-12-18 19:48:59 +0000
commit8777e4960cb0d63c658039529ef0b489e54d36ba (patch)
treef0e888ae7e27d82467b1f8e1fcb94ec0c1089394 /addons/l10n_latam_invoice_document
parentbd80ea51d736ba3345791724a60c2fa966861f39 (diff)
[REF] l10n_ar, l10n_latam_invoice_document: replace staticmethods with api.model methods
closes odoo/odoo#42177 X-original-commit: 4854bef072807828f66ada7d2996f70ad01ec506 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/l10n_latam_invoice_document')
-rw-r--r--addons/l10n_latam_invoice_document/wizards/account_move_reversal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_latam_invoice_document/wizards/account_move_reversal.py b/addons/l10n_latam_invoice_document/wizards/account_move_reversal.py
index 2565a2a05a1..de81b3c6ba7 100644
--- a/addons/l10n_latam_invoice_document/wizards/account_move_reversal.py
+++ b/addons/l10n_latam_invoice_document/wizards/account_move_reversal.py
@@ -27,8 +27,8 @@ class AccountMoveReversal(models.TransientModel):
return res
- @staticmethod
- def _reverse_type_map(move_type):
+ @api.model
+ def _reverse_type_map(self, move_type):
match = {
'entry': 'entry',
'out_invoice': 'out_refund',