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

Ajout coche consultants + Modif date sur projet

parent 55084c92
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class Project(models.Model):
('date_end_validity', '=', False)],
string="Type de convention de financement")
date_ca = fields.Date("Date de CA pressenti")
date_start = fields.Date("Date de démarrage prévisionnel")
date_demarrage = fields.Date("Date de démarrage prévisionnel")
# list_photos_ids = fields.One2many('images')
# documents_ids = fields.One2many('ir.attachment', "Documents")
......@@ -191,7 +191,9 @@ class Project(models.Model):
column1='consultant_id',
column2='project_id',
string="Consultants")
date_selection = fields.Date("Date de sélection")
date_notification = fields.Date("Date de notification")
# Champs étape "Instruction" => Onglet GAP
elu_referent_id = fields.Many2one(
'res.partner',
......@@ -351,8 +353,7 @@ class AdefpatConsultantsProjets(models.Model):
date_cdc = fields.Date("Date d'envoi du CDC")
cout_journée = fields.Float("Coût journée")
# document_ids = fields.One2many('ir.attachment', string="Documents Consultants")
date_selection = fields.Date("Date de sélection")
date_notification = fields.Date("Date de notification")
is_selected = fields.Boolean("Est sélectionné")
class AdefpatPorteursProjets(models.Model):
......
......@@ -122,7 +122,7 @@
</group>
<group>
<field name="date_ca"/>
<field name="date_start"/>
<field name="date_demarrage"/>
</group>
</group>
......@@ -171,6 +171,12 @@
</group>
</page>
<page name="consultation" string="Consultation">
<group>
<group>
<field name="date_selection"/>
<field name="date_notification"/>
</group>
</group>
<field name="consulant_ids" widget="one2many" options="{'no_create': True}">
<tree string="Consultants" editable="top">
<field name="partner_id" options="{'no_create': True}"/>
......@@ -181,8 +187,7 @@
<field name="email" widget="email"/>
<field name="date_cdc"/>
<field name="cout_journée"/>
<field name="date_selection"/>
<field name="date_notification"/>
<field name="is_selected"/>
</tree>
<form string="Consultants">
<sheet>
......@@ -198,8 +203,7 @@
<field name="reference"/>
<field name="date_cdc"/>
<field name="cout_journée"/>
<field name="date_selection"/>
<field name="date_notification"/>
<field name="is_selected"/>
</group>
</group>
</sheet>
......
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