From e1c5fdea55af5f5546ae7fec93606b79c910d8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulius=20Sladkevi=C4=8Dius?= Date: Wed, 9 Mar 2022 16:47:54 +0200 Subject: [PATCH] [FIX] connector_ecommerce: Return account.move post() results Without return of results e.g. actions won't be returned --- connector_ecommerce/models/invoice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connector_ecommerce/models/invoice.py b/connector_ecommerce/models/invoice.py index 572c3d80..c6d1b032 100644 --- a/connector_ecommerce/models/invoice.py +++ b/connector_ecommerce/models/invoice.py @@ -8,8 +8,9 @@ class AccountMove(models.Model): _inherit = "account.move" def post(self): - super().post() + res = super().post() self.notify_invoice_validate() + return res def action_invoice_paid(self): res = super().action_invoice_paid()