projects
/
OpenERP
/
faq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee9e11e
)
Affichage réponses dans la vue Kanban des thèmes, commencement
author
Alicia FLOREZ
<alicflorez@gmail.com>
Wed, 15 May 2013 16:02:23 +0000
(18:02 +0200)
committer
Alicia FLOREZ
<alicflorez@gmail.com>
Wed, 15 May 2013 16:02:23 +0000
(18:02 +0200)
faq.py
patch
|
blob
|
history
diff --git
a/faq.py
b/faq.py
index
4b52d0a
..
9002157
100644
(file)
--- 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})
+ res.append({'id': question.id, 'name': question.name, 'reponses': question.answer_items})
result[theme.id] = res
return result