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):