|
|
@ -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( |
|
|
|