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 am working on a custom report currently, and have added a new repeatIn() line and table. I followed the convention that I saw in other reports (Table with the headings, followed by a non-table line with [[ repeatIn(o.routing_id.workcenter_lines,'line3') ]], then a 1x2 table with [[ line3.name ]] and [[ line3.note ]]. However I am getting an error message now stating:
name 'o' is not defined
(<type 'exceptions.NameError'>, NameError("name 'o' is not defined",), <traceback object at 0x7feb1dfd39e0>)
'o' is defined at the top, [[repeatIn(objects,'o')]] and is referenced by repeatIn() functions above and below the one that I added - any idea why it is throwing me this error? Thanks!
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: 5/27/14, 7:43 PM|
|Seen: 986 times|
|Last updated: 3/16/15, 8:10 AM|