changeset 199a73cef7ef in modules/sale_payment:default
details: 
https://hg.tryton.org/modules/sale_payment?cmd=changeset;node=199a73cef7ef
description:
        Add method to post invoices by batch

        issue10054
        review333811002
diffstat:

 account.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fe5699894b9f -r 199a73cef7ef account.py
--- a/account.py        Mon Jan 25 16:36:22 2021 +0100
+++ b/account.py        Sat Feb 27 15:23:46 2021 +0100
@@ -167,12 +167,12 @@
             Line.reconcile(lines)
 
     @classmethod
-    def post(cls, invoices):
+    def _post(cls, invoices):
         pool = Pool()
         Payment = pool.get('account.payment')
         Move = pool.get('account.move')
 
-        super(Invoice, cls).post(invoices)
+        super()._post(invoices)
 
         payments = []
         for invoice in invoices:

Reply via email to