Skip to content
Extraits de code Groupes Projets
Valider 3e785c9a rédigé par Hervé Silvant - CGScop's avatar Hervé Silvant - CGScop
Parcourir les fichiers

Champs spécifiques ICD

parent 86c4827f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!2Champs spécifiques ICD
......@@ -42,6 +42,13 @@ class CGScopCalendar(models.Model):
('teleworking', 'Télétravail'),
('absent', 'Absence, Congés, Divers')],
string="Type de Réunion")
format = fields.Selection(
[('exchange', 'Echange'),
('meeting', 'Rendez-vous'),
('workshop', 'Atelier'),
('training', 'Formation'),
('networking', 'Animation réseau')],
string="Format du rdv")
location = fields.Text()
coop_id = fields.Many2one(
comodel_name='res.partner',
......
......@@ -116,7 +116,8 @@
<span> hours</span>
</div>
<field name="allday" attrs="{'readonly': [('id', '!=', False), ('recurrency','=',True)]}" force_save="1"/>
<field name="type" />
<field name="type" attrs="{'required': [('ur_id','=',%(cgscop_partner.riga_14231)d)]}"/>
<field name="format" attrs="{'invisible': [('ur_id','!=',%(cgscop_partner.riga_14231)d)]}"/>
<field name="location" />
<field name="ur_financial_system_nb" invisible="1"/>
<field name="ur_regional_convention_nb" invisible="1"/>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter