2010-12-14 12:22:13 +00:00
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<!-- configartion view -->
|
|
|
|
|
|
|
|
<record id="view_config_purchase_limit_amount" model="ir.ui.view">
|
|
|
|
<field name="name">Configure Limit Amount for Purchase</field>
|
|
|
|
<field name="model">purchase.double.validation.installer</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="inherit_id" ref="base.res_config_view_base"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<data>
|
|
|
|
<form position="attributes">
|
|
|
|
<attribute name="string">Purchase Application Configuration</attribute>
|
|
|
|
</form>
|
|
|
|
<separator string="title" position="attributes">
|
|
|
|
<attribute name="string">Configure Limit Amount for Purchase</attribute>
|
|
|
|
</separator>
|
|
|
|
<xpath expr="//label[@string='description']" position="attributes">
|
|
|
|
<attribute name="string">Define minimum amount after which puchase is needed to be validated.</attribute>
|
|
|
|
</xpath>
|
2011-07-29 13:48:10 +00:00
|
|
|
<xpath expr="//separator[@string="vsep"]" position="attributes">
|
|
|
|
<attribute name="rowspan">15</attribute>
|
|
|
|
<attribute name="string"/>
|
2010-12-14 12:22:13 +00:00
|
|
|
</xpath>
|
|
|
|
<group string="res_config_contents" position="replace">
|
|
|
|
<field name="limit_amount"/>
|
|
|
|
<newline/>
|
|
|
|
</group>
|
|
|
|
</data>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_config_purchase_limit_amount" model="ir.actions.act_window">
|
|
|
|
<field name="name">Configure Limit Amount for Purchase</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">purchase.double.validation.installer</field>
|
|
|
|
<field name="view_id" ref="view_config_purchase_limit_amount"/>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
2011-06-10 09:35:16 +00:00
|
|
|
<record id="category_purchase_configuration" model="ir.actions.todo.category">
|
|
|
|
<field name="name">Purchase Management</field>
|
|
|
|
<field name="sequence">5</field>
|
|
|
|
</record>
|
|
|
|
|
2010-12-14 12:22:13 +00:00
|
|
|
<!-- register configuration wizard -->
|
|
|
|
<record id="config_wizard_step_purchase_limit_amount" model="ir.actions.todo">
|
|
|
|
<field name="action_id" ref="action_config_purchase_limit_amount"/>
|
2011-06-10 09:35:16 +00:00
|
|
|
<field name="category_id" ref="category_purchase_configuration"/>
|
2010-12-14 12:22:13 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
</data>
|
2011-07-29 14:03:24 +00:00
|
|
|
</openerp>
|