From f87b31567d66d15a607b60d2f577b297238ed915 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20CHAZALLET?= Date: Fri, 3 May 2013 09:24:10 +0200 Subject: [PATCH] =?utf8?q?S=C3=A9mantique=20MO=20rang?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- mo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mo.py b/mo.py index 261222e..76fb9f4 100644 --- a/mo.py +++ b/mo.py @@ -38,14 +38,14 @@ class Role_MO(osv.Model): class mo(osv.Model): _name = "projet.mo" - _choses = [("primaire", "Primaire"), + _rangs = [("primaire", "Primaire"), ("secondaire", "Secondaire"), ("generique", "Générique")] _columns = { "name": fields.char(string="Title"), "description": fields.text(string="Description"), - "chose": fields.selection(_choses, string="Chose", required=True), + "rang": fields.selection(_rangs, string="Chose", required=True), "role_mo_id": fields.many2one("projet.role_mo", string="Role"), "charges": fields.one2many("projet.charge", "mo_id", -- 1.7.10.4