Skip to content
Snippets Groups Projects
Commit 9247d35e authored by Juliana's avatar Juliana
Browse files

Ajout date + Liste dep

parent e973f48c
No related branches found
No related tags found
No related merge requests found
File added
File added
File added
File added
......@@ -88,14 +88,14 @@ class Project(models.Model):
('type_structure_id.name', '=', 'PETR/PNR')],
string="PETR/PNR",
related='territoire_id.petr_ids')
departement_id = fields.Many2one(
'res.partner',
string='Département du Projet',
domain=[
('active', '=', True),
('is_company', '=', True),
('type_structure_id', '=', 'Département')],
on_delete='restrict')
departement = fields.Selection([
('12', '12'),
('34', '34'),
('46', '46'),
('48', '48'),
('81', '81'),
('82', '82')
], string="Département du projet")
user_id = fields.Many2one(
'res.users',
string='CFD',
......
......@@ -83,7 +83,7 @@
<field name="departement_ids" widget="many2many_tags"/>
<field name="region_ids" widget="many2many_tags"/>
<field name="petr_ids" widget="many2many_tags"/>
<field name="departement_id" options="{'no_create': True}"/>
<field name="departement"/>
<field name="user_id"/>
<field name="description"/>
</group>
......@@ -179,9 +179,9 @@
<page name="consultation" string="Consultation">
<group>
<group>
<field name="date_cdc"/>
<field name="date_selection"/>
<field name="date_notification"/>
<field name="date_cdc"/>
</group>
</group>
<field name="consulant_ids" widget="one2many" options="{'no_create': True}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment