1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/documents_hr/views/res_config_settings_views.xml
2024-12-10 09:04:09 +07:00

34 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.documents</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="70"/>
<field name="inherit_id" ref="documents.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//app[@name='documents']" position="attributes">
<attribute name="notApp">0</attribute>
</xpath>
<xpath expr="//app[@name='documents']" position="inside">
<block>
<setting company_dependent="1" help="Centralize your employees' documents (contracts, payslips, etc.)">
<field name="documents_hr_settings"/>
<div name="documents_hr_folder" class="content-group" invisible="not documents_hr_settings">
<div class="row mt16">
<label class="o_form_label col-lg-3" for="documents_hr_folder" string="Workspace"/>
<field name="documents_hr_folder" required="documents_hr_settings"/>
</div>
</div>
<!-- invisible="1" until an HR bridge module needs tags -->
<div class="mt-3">
<span name="documents_hr_tags" class="o_form_label" invisible="1">
Default tags
</span>
</div>
</setting>
</block>
</xpath>
</field>
</record>
</odoo>