Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
i need to loop over the records of o2m filed in kanban to show what i need from the other model.
all i need in kanban view to do this
<t t-foreach="o2m_field" t-as"record">
is that possible to do it.
Below module will work for your requirement -
I got some problem with web_one2many_kanban module.
I have o2many field in model:
quotations = fields.One2many('sale.order', 'lead_id', ondelete='cascade')
I put "quotations" field into kanban tag in kanban view.
<t t-foreach="quotations" t-as="r">
According to description it shoul works but I got error as below:
Error: QWeb2 - template['kanban-box']: Runtime Error: Error: QWeb2 - template['kanban-box']: No enumerator given to foreach
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 8/19/16, 8:08 AM|
|Seen: 2287 times|
|Last updated: 4/6/17, 6:01 AM|