Browse Source

[ADD][TASK 0048j]

Cooperative status des personnes archivées à archiver aussi
pull/53/head
Thibault Francois 7 years ago
parent
commit
20e06efcc7
  1. 1
      beesdoo_shift/models/cooperative_status.py

1
beesdoo_shift/models/cooperative_status.py

@ -39,6 +39,7 @@ class CooperativeStatus(models.Model):
today = fields.Date(help="Field that allow to compute field and store them even if they are based on the current date", default=fields.Date.today) today = fields.Date(help="Field that allow to compute field and store them even if they are based on the current date", default=fields.Date.today)
cooperator_id = fields.Many2one('res.partner') cooperator_id = fields.Many2one('res.partner')
active = fields.Boolean(related="cooperator_id.active", store=True, index=True)
info_session = fields.Boolean('Information Session ?') info_session = fields.Boolean('Information Session ?')
info_session_date = fields.Datetime('Information Session Date') info_session_date = fields.Datetime('Information Session Date')
super = fields.Boolean("Super Cooperative") super = fields.Boolean("Super Cooperative")

Loading…
Cancel
Save