Nice patch.

However, you can actually insert anything on an existing page. For example this 
adds a new field named "ok_product_manager" on the 3rd page of the purchase 
order form:

&nbsp; &nbsp; &nbsp; &nbsp; <record model="ir.ui.view" 
id="magaerp_purchase_order_form1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <field 
name="name">custom.purchase.order.form</field>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <field 
name="model">purchase.order</field>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <field 
name="type">form</field>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <field 
name="inherit_id" ref="purchase.purchase_order_form"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <field name="arch" 
type="xml">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; <field name="origin" position="after">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <field name="ok_product_manager" />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; </field>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </field>
&nbsp; &nbsp; &nbsp; &nbsp; </record>


You just don't need to reference the page but a field that is in it...

Regards,
Pedro




_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to