From cc8c0ce21c46e5057637238f3d319392a319c537 Mon Sep 17 00:00:00 2001 From: Kevin Kempf Date: Sun, 20 Nov 2022 18:31:13 +0000 Subject: [PATCH] add to send the is_move_sent --- ebill_paynet/models/account_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ebill_paynet/models/account_invoice.py b/ebill_paynet/models/account_invoice.py index 616a91b..e087cd4 100644 --- a/ebill_paynet/models/account_invoice.py +++ b/ebill_paynet/models/account_invoice.py @@ -39,6 +39,7 @@ class AccountInvoice(models.Model): raise UserError(_("Error generating Paynet message")) message.send_to_paynet() self.invoice_exported = True + self.is_move_sent = True return "Paynet invoice generated and in state {}".format(message.state) def create_paynet_message(self):