Skip to content
Extraits de code Groupes Projets
Valider 1cacea00 rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[cgscop #241] Champs spécifiques ICD

See merge request !2
parents 4153dcde 3e785c9a
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): ...@@ -42,6 +42,13 @@ class CGScopCalendar(models.Model):
('teleworking', 'Télétravail'), ('teleworking', 'Télétravail'),
('absent', 'Absence, Congés, Divers')], ('absent', 'Absence, Congés, Divers')],
string="Type de Réunion") 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() location = fields.Text()
coop_id = fields.Many2one( coop_id = fields.Many2one(
comodel_name='res.partner', comodel_name='res.partner',
......
...@@ -116,7 +116,8 @@ ...@@ -116,7 +116,8 @@
<span> hours</span> <span> hours</span>
</div> </div>
<field name="allday" attrs="{'readonly': [('id', '!=', False), ('recurrency','=',True)]}" force_save="1"/> <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="location" />
<field name="ur_financial_system_nb" invisible="1"/> <field name="ur_financial_system_nb" invisible="1"/>
<field name="ur_regional_convention_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