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.
My knowledge of python is relatively limited, but as I understand it the code at the top of most addons that reads:
from openerp import $whatever
Is supposed to grab functionality from a module (library? class?) called openerp. Where exactly is that located? I am trying to figure out what exactly happens when
[[ o.workcenter_lines,'line2' ]]
is called. I am assuming that workcenter_lines is a method defined somewhere else that is being imported at the beginning of the code.
Ultimately, I am trying to add the description ("note") that I have in each step of my routing onto my Production Order Report but can't figure out how to refer to it. For the sequence it is just [[ line2.sequence ]], and for the name [[ line2.name ]]. Does anyone know where workcenter_lines is defined? Or how I could call the description from each of the routing steps? Or where I could locate the openerp class?
Sorry if my terminology is all out of whack, I have only recently begun to learn python. 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/14/14, 5:51 PM|
|Seen: 434 times|
|Last updated: 3/16/15, 8:10 AM|