2011-04-07 05:08:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<record model="ir.actions.act_window" id="product_normal_form_view_installer">
|
2011-04-07 13:29:56 +00:00
|
|
|
<field name="name">Review Your Expenses Products</field>
|
2011-04-07 05:08:10 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">product.product</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
2011-04-12 05:17:01 +00:00
|
|
|
<field name="context" eval="'{\'default_type\':\'service\',\'default_procure_method\':\'make_to_stock\',\'default_supply_method\':\'buy\',\'default_purchase_ok\':True, \'default_sale_ok\':False, \'default_hr_expense_ok\':False,\'default_categ_id\': ' + str(ref('cat_expense')) +'}'"/>
|
2011-04-07 05:08:10 +00:00
|
|
|
<field name="view_id" ref="product.product_normal_form_view"/>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="product_normal_form_view_todo" model="ir.actions.todo">
|
|
|
|
<field name="action_id" ref="product_normal_form_view_installer"/>
|
|
|
|
<field name="sequence">3</field>
|
2011-04-11 13:17:19 +00:00
|
|
|
<field name="type">normal_recurring</field>
|
2011-04-07 05:08:10 +00:00
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|