product_view.xml 832 Bytes
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<?xml version="1.0" encoding="utf-8"?>
<!--
  product_is_a_gift for OpenERP
  Copyright (C) 2011 Akretion Sébastien BEAU <sebastien.beau@akretion.com>
  The licence is in the file __openerp__.py
-->

<openerp>
    <data>
    
        <!-- INHERITED VIEW FOR THE OBJECT : product_product -->

		<record id="product_normal_form_view" model="ir.ui.view">
			<field name="name">product_is_a_gift.product_normal_form_view</field>
			<field name="model">product.product</field>
			<field name="inherit_id" ref="product.product_normal_form_view" />
			<field name="type">form</field>
            <field eval="15" name="priority"/>
			<field name="arch" type="xml">
				<data>
					<field name="purchase_ok" position="after">
						<field name="allow_gift_wrap" />
					</field>
				</data>
			</field>
		</record>

    </data>
</openerp>