1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="dikasa_sale_form">
- <field name="name">dikasa_sale_form</field>
- <field name="model">sale.order</field>
- <field name="inherit_id" ref="sale.view_order_form"/>
- <field name="arch" type="xml">
- <field name="partner_id" position="replace">
- <field name="partner_id" domain="[('customer','=',True)]" options='{"always_reload": True}'/>
- </field>
- <field name="partner_id" position="after">
- <field name="ruc"/>
- <field name="street"/>
- <field name="state_id"/>
- <field name="country_id"/>
- <field name="email"/>
- <field name="phone"/>
- <field name="mobile"/>
- <field name="credit_limit"/>
- </field>
- <field name="user_id" position="attributes">
- <attribute name="string">Vendedor</attribute>
- <attribute name="readonly">True</attribute>
- </field>
- <field name="user_id" position="after">
- <field name="create_uid" readonly="1"/>
- </field>
- <field name="note" position="before">
- <group>
- <field name="total_weight" class='oe_inline'/>%%
- </group>
- </field>
- </field>
- </record>
- <record model="ir.ui.view" id="dikasa_sale_form2">
- <field name="name">dikasa_sale_form2</field>
- <field name="model">sale.order</field>
- <field name="inherit_id" ref="sale_stock.view_order_form_inherit"/>
- <field name="arch" type="xml">
- <field name="incoterm" position="attributes">
- <attribute name="invisible">True</attribute>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|