27 lines
1.4 KiB
XML
27 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<flectra>
|
|
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.inherit.project.timesheet.holidays</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="inherit_id" ref="hr_timesheet.res_config_settings_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='module_project_timesheet_holidays']" position="replace">
|
|
<div attrs="{'invisible': [('module_project_timesheet_holidays','=',False)]}">
|
|
<div class="row mt16">
|
|
<div>
|
|
<label string="Project" for="leave_timesheet_project_id" class="col-xs-3 col-md-3 o_light_label"/>
|
|
<field name="leave_timesheet_project_id" context="{'active_test': False}" class="oe_inline"/>
|
|
</div>
|
|
<div>
|
|
<label string="Task" for="leave_timesheet_task_id" class="col-xs-3 col-md-3 o_light_label"/>
|
|
<field name="leave_timesheet_task_id" context="{'active_test': False, 'default_project_id': leave_timesheet_project_id}" class="oe_inline"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|