Commit 1b5367c3 by Yvon Kerdoncuff

do not try to read not existing final_standard_point field from shift_registration

parent 8ac58d10
Pipeline #3774 failed with stage
in 44 seconds
......@@ -249,7 +249,7 @@ class CagetteShift(models.Model):
not_before = datetime.datetime.now().isoformat()
if start_date:
not_before = start_date.isoformat()
fields = ['date_begin', 'date_end','final_standard_point',
fields = ['date_begin', 'date_end',
'shift_id', 'shift_type','partner_id', "id", "associate_registered", "is_makeup"] # res.partner
cond = [['partner_id.id', '=', id],['state', '=', 'open'],
['date_begin', '>', not_before]]
......
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