summaryrefslogtreecommitdiff
path: root/addons/l10n_be_invoice_bba
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2019-07-10 14:59:37 +0200
committerAdrian Torres <adt@odoo.com>2019-07-17 14:13:12 +0200
commit4b38cc6590abcb58a0ca102a06063eb3db7ac1f4 (patch)
treecfd11739fc6b4c0cb4b23b54cc6badad4bf5c55e /addons/l10n_be_invoice_bba
parentf6fdde96bddfedf8764cd8a73089e44340d476ae (diff)
[REM] *: calls to @api.multi
Multi is the default api for methods, it is not necessary to explicitly decorate methods with it, adds clutter and most people use it because they see that the rest of the code uses it. Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
Diffstat (limited to 'addons/l10n_be_invoice_bba')
-rw-r--r--addons/l10n_be_invoice_bba/models/account_invoice.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/l10n_be_invoice_bba/models/account_invoice.py b/addons/l10n_be_invoice_bba/models/account_invoice.py
index fc50d09cd5a..036baa3ebce 100644
--- a/addons/l10n_be_invoice_bba/models/account_invoice.py
+++ b/addons/l10n_be_invoice_bba/models/account_invoice.py
@@ -17,7 +17,6 @@ account.move object: add support for Belgian structured communication
class AccountMove(models.Model):
_inherit = 'account.move'
- @api.multi
def _get_reference_be_partner(self):
""" This computes the reference based on the belgian national standard
“OGM-VCS”.
@@ -35,7 +34,6 @@ class AccountMove(models.Model):
reference = '+++%s/%s/%s%02d+++' % (bbacomm[:3], bbacomm[3:7], bbacomm[7:], mod)
return reference
- @api.multi
def _get_reference_be_invoice(self):
""" This computes the reference based on the belgian national standard
“OGM-VCS”.