From 27acbb89ea6ceb709e1eb4bf1c1af360d201b87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 27 Feb 2021 15:23:46 +0100 Subject: [PATCH] Add method to post invoices by batch issue10054 review333811002 --- invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invoice.py b/invoice.py index 74f98f0de7..55d463c102 100644 --- a/invoice.py +++ b/invoice.py @@ -88,8 +88,8 @@ class Invoice(metaclass=PoolMeta): @classmethod @process_purchase - def post(cls, invoices): - super(Invoice, cls).post(invoices) + def _post(cls, invoices): + super()._post(invoices) @classmethod @process_purchase