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

Show all produced products in a Tree View

By
Spy Shifty
on 11/23/13, 7:18 AM 836 views

Hi everyone. I use OpenERP V7 and I want to display all produced products from a Manufacturing Order (MRP App) in a Tree View

like this:

MO/000001
    Product 1     100 Unit(s)
    Product 2     10 Unit(s)
MO/000002
    Product 10   1 Unit(s)

So I created a new Menu Item named: Produced Products with an Action to call my own Tree View named: mrp.production.producedproducts.tree

the Tree View have the following settings:

View Name: mrp.production.producedproducts.tree
View Type: Tree
Object: mrp.production
Sequence: 16
Child Field: move_created_ids2
Inherited View: None
External Id: None

Architecture:

<tree toolbar="1" string="Produced Products">
    <field name="name"/>    
    <field name="move_created_ids2"></field>
    <field name="state"/>
</tree>

Groups: None

But what i get is a flat list of Manufacuring Orders, Recods of ProducedProducts and the Status. I also can't call fields from move_created_ids2 like product_id.name or product_qty and so on.

Hope some one can help me :)

Thank you

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

0 follower(s)

Stats

Asked: 11/23/13, 7:18 AM
Seen: 836 times
Last updated: 3/16/15, 8:10 AM