[REM]: Remove partner_view for parent_id and remove hr_expense product inherited view.

bzr revid: atp@tinyerp.com-20121018071537-92qq6lfuo14y7j8e
This commit is contained in:
Atul Patel (OpenERP) 2012-10-18 12:45:37 +05:30
parent 9b01d57864
commit 24257069e6
2 changed files with 0 additions and 40 deletions

View File

@ -6,32 +6,4 @@
<field name="state">open</field>
</record>
</data>
<data>
<record id="product_expense_installer_tree_view" model="ir.ui.view">
<field name="name">product.product.tree</field>
<field name="model">product.product</field>
<field eval="8" name="priority"/>
<field name="arch" type="xml">
<tree editable="bottom" string="Products">
<field name="name"/>
<field name="standard_price"/>
<field name="list_price"/>
<field name="uom_id" string="Unit of Measure"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="product_normal_form_view_installer">
<field name="name">Review Your Expenses Products</field>
<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>
<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\':True,\'default_categ_id\': ' + str(ref('cat_expense')) +'}'"/>
<field name="domain">[('hr_expense_ok','=',True)]</field>
<field name="view_id" ref="product_expense_installer_tree_view"/>
<field name="help">Define one product for each expense type allowed for an employee (travel by car, hostel, restaurant, etc). If you reimburse the employees at a fixed rate, set a cost and a unit of measure on the product. If you reimburse based on real costs, set the cost at 0.00. The user will set the real price when recording his expense sheet.</field>
</record>
</data>
</openerp>

View File

@ -75,18 +75,6 @@
</xpath>
</field>
</record>
<record id="view_tree_partner_id" model="ir.ui.view">
<field name="name">- Add partner on tree</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<field name="country_id" position="after">
<field name="parent_id" invisible="1"/>
</field>
</field>
</record>
</data>
</openerp>