123456789101112131415161718192021222324252627282930313233343536 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="sale_order_factory_ref_view">
- <field name="name">sale.order.factory.ref.view</field>
- <field name="model">sale.order</field>
- <field name="inherit_id" ref="sale.view_order_form"/>
- <field name="arch" type="xml">
- <xpath expr="//tree/field[@name='product_id']" position="after">
- <field name="product_factory_ref"/>
- </xpath>
- <xpath expr="//tree/field[@name='name']" position="replace">
- <field name="name" invisible="1"/>
- </xpath>
- <xpath expr="//tree/field[@name='discount']" position="replace">
- <field name="discount" invisible="1"/>
- </xpath>
- <field name="date_order" position="after">
- <field name="create_uid" readonly="1"/>
- </field>
- <field name="client_order_ref" position="replace">
- <field name="client_order_ref" invisible="1"/>
- </field>
- <field name="note" position="replace">
- <field name="note" invisible="1"/>
- </field>
- <field name="message_ids" position="replace">
- <field name="message_ids" invisible="1"/>
- </field>
- <field name="message_follower_ids" position="replace">
- <field name="message_follower_ids" invisible="1"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|