Odoo Help

Welcome!

This community 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.

0

Accessing fields from mrp_workcenter table in Manufacturing Order Report

By
Alex Gallien
on 5/20/14, 4:53 PM 419 views

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!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 5/20/14, 4:53 PM
Seen: 419 times
Last updated: 3/16/15, 8:10 AM