From: Alicia FLOREZ Date: Thu, 30 May 2013 12:48:08 +0000 (+0200) Subject: Ajout d'une priorité et d'un statut pour une question. Tout 2 venant de semantics X-Git-Url: http://git.inspyration.org/?p=OpenERP%2Ffaq.git;a=commitdiff_plain;h=ebcfcbb0b1458ab31eed8bdef8e92d6069ba9cdb Ajout d'une priorité et d'un statut pour une question. Tout 2 venant de semantics --- 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 @@
- - - - + + + + + + + +