From dcaaa9e777211e6c0018a6ddfd0094d58d943572 Mon Sep 17 00:00:00 2001 From: Alicia FLOREZ Date: Wed, 22 May 2013 10:14:11 +0200 Subject: [PATCH] =?utf8?q?Vue=20KANBAN=20th=C3=A8me=20:=20ajout=20des=20r=C3?= =?utf8?q?=A9ponses=20pour=20les=20questions?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- faq.py | 2 +- views/faq_view.xml | 27 +++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/faq.py b/faq.py index 9002157..87f9d85 100644 --- a/faq.py +++ b/faq.py @@ -10,7 +10,7 @@ class theme(osv.Model): for theme in self.browse(cr, uid, ids, context=context): res=[] for question in theme.questions: - res.append({'id': question.id, 'name': question.name, 'reponses': question.answer_items}) + res.append({'id': question.id, 'name': question.name, 'answer_items': question.answer_items}) result[theme.id] = res return result diff --git a/views/faq_view.xml b/views/faq_view.xml index c9c6339..d494576 100644 --- a/views/faq_view.xml +++ b/views/faq_view.xml @@ -25,6 +25,7 @@ +
@@ -45,23 +46,45 @@

Questions

- +
  • +
-

Pas de question pour ce thèmes.

+

Pas de question pour ce thème.

+

(ID : )

+
    +
  • +

    (ID : )

    +
  • +
+

Pas de réponse pour cette question.

-- 1.7.10.4