From ebcfcbb0b1458ab31eed8bdef8e92d6069ba9cdb Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Thu, 30 May 2013 14:48:08 +0200 Subject: [PATCH] =?utf8?q?Ajout=20d'une=20priorit=C3=A9=20et=20d'un=20statut?= =?utf8?q?=20pour=20une=20question.=20Tout=202=20venant=20de=20semantics?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- faq.py | 2 ++ views/faq_view.xml | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/faq.py b/faq.py index 0c82f94..ebb888b 100644 --- a/faq.py +++ b/faq.py @@ -41,6 +41,8 @@ class question(osv.Model): "topic_id": fields.many2one("semantics.topic", string="Topic", required=True), "answers": fields.one2many("faq.answer" , "question_id", string="Answers"), "answer_items": fields.function(_answer_items, type="text", string="Answer items"), + "priority":fields.many2one("semantics.priority", string="Priority"), + "status": fields.many2one("semantics.status", string="Status"), } class answer(osv.Model): diff --git a/views/faq_view.xml b/views/faq_view.xml index 5377309..3d976c6 100644 --- a/views/faq_view.xml +++ b/views/faq_view.xml @@ -115,10 +115,14 @@
- - - - + + + + + + + +
-- 1.7.10.4