Skip to content

Commit

Permalink
!fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHForgeFlow committed Dec 13, 2018
1 parent 050ee22 commit 9d815fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion hr_period/__manifest__.py
Expand Up @@ -14,7 +14,6 @@
'website': 'https://github.com/OCA/hr',
'depends': [
'hr_payroll',
'hr_payroll_account',
'date_range',
],
'data': [
Expand Down
3 changes: 1 addition & 2 deletions hr_period/models/hr_payslip.py
Expand Up @@ -49,8 +49,7 @@ def onchange_company_id(self):

@api.multi
@api.onchange('contract_id')
def onchange_contract(self):
super(HrPayslip, self).onchange_contract()
def onchange_contract_period(self):
if self.contract_id.employee_id and self.contract_id:
employee = self.contract_id.employee_id
contract = self.contract_id
Expand Down

0 comments on commit 9d815fe

Please sign in to comment.