mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-12-23 04:41:45 +00:00
add to send the is_move_sent
This commit is contained in:
parent
f4428d28fa
commit
cc8c0ce21c
@ -39,6 +39,7 @@ class AccountInvoice(models.Model):
|
|||||||
raise UserError(_("Error generating Paynet message"))
|
raise UserError(_("Error generating Paynet message"))
|
||||||
message.send_to_paynet()
|
message.send_to_paynet()
|
||||||
self.invoice_exported = True
|
self.invoice_exported = True
|
||||||
|
self.is_move_sent = True
|
||||||
return "Paynet invoice generated and in state {}".format(message.state)
|
return "Paynet invoice generated and in state {}".format(message.state)
|
||||||
|
|
||||||
def create_paynet_message(self):
|
def create_paynet_message(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user