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!