跳至内容
菜单
此问题已终结
3485 查看

I am trying to call the 'note' field from the mrp_workcenter table in order to enter more detailed steps for each stage of my routing. I noticed in the default Manufacturing Order Report that it uses the python command:

    (o.workcenter_lines,'line2')

and then is able to reference the fields in the table mrp_production_workcenter_line by using calls such as: 

    line2.sequence

    line2.name

    line2.workcenter_id

How can I similarly refer to the mrp_workcenter table, in order to grab the text field 'note' for my various workcenter lines? Thanks!

形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
8114
3
7月 24
8387
0
8月 19
3348
4
8月 19
4568
0
4月 17
3130