Add Domain on sponsership
This commit is contained in:
parent
90597f5a75
commit
baa1ceebd0
|
|
@ -178,7 +178,7 @@
|
|||
|
||||
<group>
|
||||
<group string="Donation Information">
|
||||
<field name="ages" />
|
||||
<field name="ages" invisible="1" />
|
||||
<field name="donation_type" invisible="1"/>
|
||||
<field name="donation_types"
|
||||
attrs="{'invisible': [('donation_type', '!=', 'donation')], 'readonly': [('parent_state', '!=', 'draft')]}" />
|
||||
|
|
|
|||
|
|
@ -509,7 +509,7 @@
|
|||
</header>
|
||||
<group>
|
||||
<group>
|
||||
<field name="ages" />
|
||||
<field name="ages" invisible="1"/>
|
||||
<field name="family_id"
|
||||
attrs="{'invisible': [('sponsorship_type','=','group'), ('parent.record_type','=','sponsorship')],
|
||||
'readonly': ['|', ('sponsorship_type', '!=', 'group'), ('parent.record_type','!=','donation')],
|
||||
|
|
|
|||
Loading…
Reference in New Issue