mirror of
https://gitlab.com/flectra-community/l10n-switzerland-flectra.git
synced 2024-11-16 19:12:04 +00:00
24 lines
1.3 KiB
XML
24 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
<record model="ir.ui.view" id="hr_salary_rule_form_l10n_ch_inherit_info">
|
|
<field name="name">hr.salary.rule.form.inherit_ch_info</field>
|
|
<field name="model">hr.salary.rule</field>
|
|
<field name="inherit_id" ref="hr_payroll_account.hr_salary_rule_form_inherit"/>
|
|
<field name="priority" eval="20"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="/form/notebook/page/group/field[@name='account_debit']" position="attributes">
|
|
<attribute name="attrs">{'readonly':[('category_id','=',%(INFO)d)]}</attribute>
|
|
</xpath>
|
|
<xpath expr="/form/notebook/page/group/field[@name='account_credit']" position="attributes">
|
|
<attribute name="attrs">{'readonly':[('category_id','=',%(INFO)d)]}</attribute>
|
|
</xpath>
|
|
<xpath expr="/form/notebook/page/group/field[@name='analytic_account_id']" position="attributes">
|
|
<attribute name="attrs">{'readonly':[('category_id','=',%(INFO)d)]}</attribute>
|
|
</xpath>
|
|
<xpath expr="/form/notebook/page/group/field[@name='account_tax_id']" position="attributes">
|
|
<attribute name="attrs">{'readonly':[('category_id','=',%(INFO)d)]}</attribute>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</flectra>
|