Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3506 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
8135
3
thg 7 24
8403
0
thg 8 19
3365
4
thg 8 19
4578
0
thg 4 17
3145