1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="sale_commision_sale_order">
<field name="name">sale.order.commision.view.form</field>
<field name="type">form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<xpath expr="/form/notebook/page/group/field[@name='amount_total']" position="after">
<field name="commision"/>
<!-- <field name="margin"/> -->
</xpath>
</field>
</record>
</data>
</openerp>
|