Debian Codegraph @

addons/l10n_dk/views/account_journal_views.xml

raw symbols SCIP
1 <?xml version="1.0" ?>
2 <odoo>
3 <record id="l10n_dk_view_account_journal_form_inherited" model="ir.ui.view">
4 <field name="name">l10n.dk.account.journal.form.inherited</field>
5 <field name="model">account.journal</field>
6 <field name="inherit_id" ref="account.view_account_journal_form" />
7 <field name="arch" type="xml">
8 <field name="profit_account_id" position="attributes">
9 <attribute name="invisible">type not in ('cash', 'bank') or country_code == 'DK'</attribute>
10 </field>
11 <field name="loss_account_id" position="attributes">
12 <attribute name="invisible">type not in ('cash', 'bank') or country_code == 'DK'</attribute>
13 </field>
14
15 <field name="profit_account_id" position="after">
16 <field name="profit_account_id"
17 invisible="type not in ('cash', 'bank') or country_code != 'DK'"
18 groups="account.group_account_readonly"
19 />
20 </field>
21 <field name="loss_account_id" position="after">
22 <field name="loss_account_id"
23 invisible="type not in ('cash', 'bank') or country_code != 'DK'"
24 groups="account.group_account_readonly"
25 />
26 </field>
27 </field>
28 </record>
29 </odoo>