From c653afc81e70234350dfceef578b882506946f58 Mon Sep 17 00:00:00 2001 From: Parveen Date: Wed, 27 May 2020 15:45:34 +0000 Subject: [PATCH] [IMP] account: add return value This allows the method to be called in RPC The nil extension has not been enabled as explained at odoo/odoo#12289 closes odoo/odoo#55374 Cla: signature for parveenjangra290 X-original-commit: abac62f35c8cd293143e01c137c79519897eb21c Signed-off-by: Martin Trigaux (mat) --- addons/account/models/account_move.py | 1 + doc/cla/individual/parveenjangra290.md | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 doc/cla/individual/parveenjangra290.md diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index 79da861439b..888406b7ed5 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -2370,6 +2370,7 @@ class AccountMove(models.Model): # Force balance check since nothing prevents another module to create an incorrect entry. # This is performed at the very end to avoid flushing fields before the whole processing. self._check_balanced() + return True def _auto_compute_invoice_reference(self): ''' Hook to be overridden to set custom conditions for auto-computed invoice references. diff --git a/doc/cla/individual/parveenjangra290.md b/doc/cla/individual/parveenjangra290.md new file mode 100644 index 00000000000..2ee31c412f3 --- /dev/null +++ b/doc/cla/individual/parveenjangra290.md @@ -0,0 +1,11 @@ +India, 2020-05-27 + +I hereby agree to the terms of the Odoo Individual Contributor License +Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this +declaration. + +Signed, + +Parveen Kumar parveensidhar@gmail.com https://github.com/parveenjangra290