Hello

I' d like to have a setup with a relation in my project

Similar to Sale and Sale Lines

I made the models, they compile and run.
Now I only neeed a basic form with a list of lines within it

But I' m a bit confused

In sale.xml I see these 2 records:

        <record model="ir.ui.view" id="sale_line_view_tree">
            <field name="model">sale.line</field>
            <field name="type">tree</field>
            <field name="priority" eval="10"/>
            <field name="name">sale_line_tree</field>
        </record>

        <record model="ir.ui.view" id="sale_line_view_tree_sequence">
            <field name="model">sale.line</field>
            <field name="type">tree</field>
            <field name="priority" eval="20"/>
            <field name="name">sale_line_tree_sequence</field>
        </record>


What's the difference between a sequence and a plain tree view ? 

What's a sequence anyway ?

the view/sales_form.xml file conatins this line 

            <field name="lines" colspan="4"
                view_ids="sale.sale_line_view_tree_sequence"/>


Why does it point to the sequence rather than to the plain view ?
Do I need to do the same ? 


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/4990a718-ee2b-4d3c-8677-327c0e096833%40googlegroups.com.

Reply via email to