Odoo Help

0

Show all produced products in a Tree View

By
Spy Shifty
on 11/23/13, 7:18 AM 1,061 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

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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