123456789101112131415161718192021222324252627282930313233 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!-- sale.order -->
- <record id="eiru_sale_utility_tool_sale" model="ir.ui.view">
- <field name="name">eiru_sale_utility_tool.sale</field>
- <field name="model">sale.order</field>
- <field name="inherit_id" ref="sale.view_order_form"/>
- <field name="arch" type="xml">
- <field name="order_line" position="before">
- <div class="eiru-sale-utility-tool-sale" attrs="{'invisible': [('state','not in',['draft','sent'])]}"></div>
- </field>
- </field>
- </record>
- <!-- purchase.order -->
- <record id="views_eiru_payment_term_configurator_purchase" model="ir.ui.view">
- <field name="name">views_eiru_payment_term_configurator.purchase</field>
- <field name="model">purchase.order</field>
- <field name="inherit_id" ref="purchase.purchase_order_form"/>
- <field name="arch" type="xml">
- <field name="date_order" position="after">
- <field name="date_quota" required="1"/>
- </field>
- <field name="order_line" position="before">
- <div class="purchase-payment-term-configurator" attrs="{'invisible': [('state','not in',['draft','sent'])]}"></div>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|