Browse Source

Followed info session not checked by default

pull/105/head
nicolasjamoulle 5 years ago
committed by Elouan
parent
commit
aba7246b53
  1. 2
      beesdoo_shift/wizard/subscribe.py

2
beesdoo_shift/wizard/subscribe.py

@ -36,7 +36,7 @@ class Subscribe(models.TransientModel):
partner = self.env['res.partner'].browse(self._context.get('active_id'))
return partner.state == 'unsubscribed' and partner.working_mode == 'regular'
info_session = fields.Boolean(string="Followed an information session", default=True)
info_session = fields.Boolean(string="Followed an information session", default=False)
info_session_date = fields.Date(string="Date of information session", default=_get_date)
super = fields.Boolean(string="Super Cooperator", default=_get_super)
working_mode = fields.Selection(

Loading…
Cancel
Save