mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch 'mig/16.0/hr_commission' into '16.0-test'
mig/16.0/hr_commission into 16.0-test See merge request hibou-io/hibou-odoo/suite!1576
This commit is contained in:
@@ -31,8 +31,8 @@ class AccountMove(models.Model):
|
||||
self.env['hr.commission'].invoice_validated(invoices)
|
||||
return res
|
||||
|
||||
def action_invoice_paid(self):
|
||||
res = super(AccountMove, self).action_invoice_paid()
|
||||
def _invoice_paid_hook(self):
|
||||
res = super(AccountMove, self)._invoice_paid_hook()
|
||||
self.env['hr.commission'].invoice_paid(self)
|
||||
return res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user