Browse Source

Followed info session not checked by default

pull/59/head
nicolasjamoulle 6 years ago
parent
commit
41bdc3c6a6
  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