Browse Source

[ADD] Date of information session not fill by default

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

2
beesdoo_shift/wizard/subscribe.py

@ -37,7 +37,7 @@ class Subscribe(models.TransientModel):
return partner.state == 'unsubscribed' and partner.working_mode == 'regular' return partner.state == 'unsubscribed' and partner.working_mode == 'regular'
info_session = fields.Boolean(string="Followed an information session", default=False) info_session = fields.Boolean(string="Followed an information session", default=False)
info_session_date = fields.Date(string="Date of information session", default=_get_date)
info_session_date = fields.Date(string="Date of information session")
super = fields.Boolean(string="Super Cooperator", default=_get_super) super = fields.Boolean(string="Super Cooperator", default=_get_super)
working_mode = fields.Selection( working_mode = fields.Selection(
[ [

Loading…
Cancel
Save