[FIX] product_extended: price from bom is build for product templates
[odoo/odoo.git] / addons / hr_timesheet_sheet / res_config_view.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <openerp>
3     <data noupdate="1">
4         <!-- After installation of the module, open the related menu -->
5         <record id="base.open_menu" model="ir.actions.todo">
6             <field name="action_id" ref="hr.action_client_hr_menu"/>
7             <field name="state">open</field>
8         </record>
9     </data>
10     <data>
11         <record id="view_hr_timehseet_config_settings" model="ir.ui.view">
12             <field name="name">hr settings for timesheets</field>
13             <field name="model">hr.config.settings</field>
14             <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
15             <field name="arch" type="xml">
16                 <xpath expr="//div[@name='hr_timesheet']" position="after">
17                     <div>
18                         <label for="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
19                         <field name="timesheet_range" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
20                     </div>
21                     <div>
22                         <label for="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)]}"/>
23                         <field name="timesheet_max_difference" attrs="{'invisible': [('module_hr_timesheet_sheet','=',False)], 'required': [('module_hr_timesheet_sheet','=',True)]}" class="oe_inline"/>
24                     </div>
25                 </xpath>
26             </field>
27         </record>
28     </data>
29 </openerp>