Browse Source

[WIP] Tests in comment

pull/105/head
nicolasjamoulle 6 years ago
committed by Elouan
parent
commit
bae9393c54
  1. 6
      beesdoo_shift/models/task.py

6
beesdoo_shift/models/task.py

@ -82,7 +82,11 @@ class Task(models.Model):
to_unsubscribe_replace.write({'worker_id': False, 'is_regular': False, 'replaced_id': False}) to_unsubscribe_replace.write({'worker_id': False, 'is_regular': False, 'replaced_id': False})
# if self.super_coop_id.id: # if self.super_coop_id.id:
# to_unsubscribe_replace.write({'super_coop_id': False})
# to_unsubscribe_super_coop = self.search([('super_coop_id', 'in',
# self.super_coop_id.id)]
# + date_domain)
# to_unsubscribe_super_coop.write({'super_coop_id': False,
# 'is_regular': False})
@api.multi @api.multi
def write(self, vals): def write(self, vals):

Loading…
Cancel
Save