From f5fe2d8b215be509165dbc65ec96bbeb98d198a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20CHAZALLET?= Date: Fri, 31 May 2013 08:50:07 +0200 Subject: [PATCH] Correction projet --- demo/projet.xml | 8 ++++++++ projet.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/demo/projet.xml b/demo/projet.xml index a145835..6075a04 100644 --- a/demo/projet.xml +++ b/demo/projet.xml @@ -39,6 +39,14 @@ + + Projet of the doom + Ici c'est la description de ce super projet ! + + + diff --git a/projet.py b/projet.py index 80ba871..55e9b2d 100644 --- a/projet.py +++ b/projet.py @@ -112,7 +112,7 @@ class Projet(osv.Model): project_id = osv.Model.create(self, cr, uid, vals, context=context) # Récupération des ids de toutes les phases - phase_model = self.pool.get("cmmi.phase.type") + phase_model = self.pool.get("cmmi.phase") phases_ids = phase_model.search(cr, uid, []) # Création des relations -- 1.7.10.4