From efd359080e9364a0db18117aeff13a319301590f Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Tue, 4 Jun 2013 17:49:25 +0200 Subject: [PATCH] Projet - Ajout de nouveaux champs : 'use_chantier' et 'use_palier' --- projet.py | 3 +++ views/projet.xml | 16 ++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/projet.py b/projet.py index 1c2fc93..8bfce87 100644 --- a/projet.py +++ b/projet.py @@ -82,6 +82,9 @@ class Projet(osv.Model): _columns = { "name": fields.char(string="Title", size=64, required=True), "description": fields.text(string="Description"), + "use_chantier": fields.boolean(string="Utilisation de la notion de chantier ?"), + "use_palier": fields.boolean(string="Utilisation de la notion de palier ?"), + # Backrefs "domains": fields.one2many("cmmi.projet.domaine", "project_id", diff --git a/views/projet.xml b/views/projet.xml index a896669..0cb1a04 100644 --- a/views/projet.xml +++ b/views/projet.xml @@ -14,14 +14,14 @@ - -- 1.7.10.4