~sale-core-editors/sale-financial/7.0

« back to all changes in this revision

Viewing changes to sale_markup/sale_view.xml

  • Committer: Alexandre Fayolle @ camptocamp
  • Date: 2012-05-15 15:56:19 UTC
  • Revision ID: alexandre.fayolle@camptocamp.com-20120515155619-6rjic223enk2xwwi
[REM] delete trailing whitespace
(lp:c2c-addons/6.1  rev 40.1.15)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<openerp>
3
3
  <data>
4
 
    
 
4
 
5
5
    <!-- Sale order -->
6
 
    
 
6
 
7
7
    <!-- Add markup rate of the order in form view after Compute button -->
8
8
    <record model="ir.ui.view" id="sale_markup_sale_order_view">
9
9
      <field name="name">sale.order.markup.view.form</field>
26
26
      <field name="inherit_id" ref="sale.view_order_tree" />
27
27
      <field name="arch" type="xml">
28
28
        <field name="state" position="after">
29
 
 
30
29
          <field name="markup_rate"
31
30
                 groups="base.group_sale_manager"/>
32
31
        </field>
47
46
        </field>
48
47
      </field>
49
48
    </record>
50
 
    
51
 
    
 
49
 
 
50
 
52
51
    <!-- Add Markup in Sales Orders form's Sale order lines form -->
53
52
    <!-- Add onchanges on unit price and discount to update margin and markup -->
54
 
    
55
53
    <record model="ir.ui.view" id="sale_markup_sale_order_form_line_form">
56
54
      <field name="name">sale.order.markup.view.form2</field>
57
55
      <field name="type">form</field>
77
75
          </group>
78
76
        </xpath>
79
77
        <xpath expr="//field[@name='product_uom_qty']" position="attributes">
80
 
            <attribute name="on_change">product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id,False,True,parent.date_order,product_packaging,parent.fiscal_position,False,price_unit,discount,context)</attribute> 
 
78
            <attribute name="on_change">product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id,False,True,parent.date_order,product_packaging,parent.fiscal_position,False,price_unit,discount,context)</attribute>
81
79
        </xpath>
82
80
      </field>
83
81
    </record>