[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) <mat@odoo.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user