Odoo Help

1

Hi, Add this in xml:

<record id="view_order_tree" model="ir.ui.view">
            <field name="name">sale.view_order_tree</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_tree"/>
            <field name="arch" type="xml">
                <field name="state" position="after">
                    <field name="custom_field"/>
                </field>
            </field>
</record>

In py:

'custom_field': fields.char('Custom Field'),

Thx.......

Odoo
on 7/15/14, 7:59 AM

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

1 follower(s)

Stats

Asked: 7/15/14, 7:49 AM
Seen: 434 times
Last updated: 3/16/15, 8:10 AM