From 9fdbf4b78ec3fd437e935a79c4c2b4f1d689a00c Mon Sep 17 00:00:00 2001 From: Hansa Rathod Date: Fri, 6 Jul 2018 17:00:44 +0530 Subject: [PATCH] [IMP]:Added Upstream Patch for HR Contract --- addons/hr_contract/models/hr_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_contract/models/hr_contract.py b/addons/hr_contract/models/hr_contract.py index 44207439..f26a778b 100644 --- a/addons/hr_contract/models/hr_contract.py +++ b/addons/hr_contract/models/hr_contract.py @@ -67,7 +67,7 @@ class Contract(models.Model): resource_calendar_id = fields.Many2one( 'resource.calendar', 'Working Schedule', default=lambda self: self.env['res.company']._company_default_get().resource_calendar_id.id) - wage = fields.Monetary('Wage', digits=(16, 2), required=True, help="Employee's monthly gross wage.") + wage = fields.Monetary('Wage', digits=(16, 2), required=True, track_visibility="onchange", help="Employee's monthly gross wage.") advantages = fields.Text('Advantages') notes = fields.Text('Notes') state = fields.Selection([