Browse Source

[FIX] call action_invoice_open instead of validate

pull/7/head
houssine 6 years ago
parent
commit
4a234e18cf
  1. 2
      easy_my_coop/models/coop.py

2
easy_my_coop/models/coop.py

@ -425,7 +425,7 @@ class subscription_request(models.Model):
self.env['account.invoice.line'].create(vals) self.env['account.invoice.line'].create(vals)
# validate the capital release request # validate the capital release request
invoice.signal_workflow('invoice_open')
invoice.action_invoice_open()
self.send_capital_release_request(invoice) self.send_capital_release_request(invoice)

Loading…
Cancel
Save