[FIX] hr_commission: account.move soft deprecated method post

This commit is contained in:
Jared Kipe
2021-09-24 16:11:55 -07:00
parent c2c254951a
commit 42964b2e77
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ class Commission(models.Model):
}), }),
], ],
}) })
move.post() move._post()
commission.write({'state': 'done', 'move_id': move.id}) commission.write({'state': 'done', 'move_id': move.id})
return True return True

View File

@@ -3,7 +3,7 @@
{ {
'name': 'Hibou Payroll', 'name': 'Hibou Payroll',
'author': 'Hibou Corp. <hello@hibou.io>', 'author': 'Hibou Corp. <hello@hibou.io>',
'version': '14.0.1.1.0', 'version': '14.0.1.1.1',
'category': 'Payroll Localization', 'category': 'Payroll Localization',
'depends': [ 'depends': [
'hr_payroll', 'hr_payroll',