Skip to content

Commit

Permalink
[FIX] Removed api.one to prevent errors during onchange
Browse files Browse the repository at this point in the history
  • Loading branch information
benwillig committed Jul 31, 2017
1 parent a58f622 commit 8d70bfb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hr_contract_signature/models/hr_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class HrContract(models.Model):
signature_date = fields.Date()

@api.onchange('signature_date')
@api.one
def onchange_signature_date(self):
if self.signature_date:
self.contract_signed = True

0 comments on commit 8d70bfb

Please sign in to comment.