Commit b16de136 by Yvon

preprod hotfix : shift counter - makeups balancing : do not impact ftop counter event

parent 816d4274
......@@ -35,7 +35,7 @@ class ShiftCounterEvent(models.Model):
TODO : _update_partner_target_status looks similar to run_process_target_status... is it necessary to call run_process_target_status in update_members_makeups_core ?
"""
try:
if vals['point_qty'] > 0:
if vals['type'] == 'standard' and vals['point_qty'] > 0:
res_partner = self.env['res.partner'].search([('id', '=', vals['partner_id'])])
if res_partner:
p = res_partner[0]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment