Review: Needs Fixing code review

Pon la vista de esta forma:

<?xml version="1.0"?>
<openerp>
    <data> 

        <!-- Sale Order Inherit Form View -->
        <record model="ir.ui.view" id="view_order_form_rented">
            <field name="name">sale.order.form.rented</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_form"/>
            <field name="arch" type="xml">
                <xpath 
expr="//field[@name='order_line']//field[@name='product_id']" position="after"> 
         
                    <field name="rented" on_change="rented_change(product_id, 
parent.contract_id, num_cabins, rented)" />       
                </xpath> 
                <xpath 
expr="//field[@name='order_line']//field[@name='price_subtotal']" 
position="after">              
                    <field name="rented" />     
                </xpath> 
            </field>
        </record>

    </data>
</openerp>
-- 
https://code.launchpad.net/~avanzosc-security-team/avanzosc/72h_dos_services_to_invoice/+merge/226071
Your team Avanzosc_security is subscribed to branch 
lp:~avanzosc-security-team/avanzosc/72horas.

-- 
Mailing list: https://launchpad.net/~avanzosc
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~avanzosc
More help   : https://help.launchpad.net/ListHelp

Reply via email to