From: Sébastien CHAZALLET Date: Fri, 31 May 2013 06:50:07 +0000 (+0200) Subject: Correction projet X-Git-Url: http://git.inspyration.org/?p=OpenERP%2Fcmmi.git;a=commitdiff_plain;h=f5fe2d8b215be509165dbc65ec96bbeb98d198a4 Correction projet --- 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