mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
[IMP] hr_commission: new method been called _invoice_paid_hook
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