Merge pull request #5368 from expsa/fix/module-icon-sponsor-phone-visibility-20251112-033000
fix: Module Icon + Sponsor Phone Field Visibility - 20251112
This commit is contained in:
commit
b4a0afd534
|
|
@ -77,7 +77,7 @@
|
|||
'reports/transfer_deduction_report.xml',
|
||||
'reports/transfer_deduction_report_templates.xml',
|
||||
],
|
||||
'images': ['static/description/icon5.png'],
|
||||
'icon': 'static/description/icon5.png',
|
||||
# 'installable': True,
|
||||
# 'application': True,
|
||||
# 'auto_install': False,
|
||||
|
|
|
|||
|
|
@ -192,12 +192,11 @@
|
|||
|
||||
<field name="sponsor_phone" string="رقم الجوال" widget="phone"
|
||||
attrs="{
|
||||
'readonly': ['|',
|
||||
('state','!=','draft'),
|
||||
'|',
|
||||
'invisible': ['|',
|
||||
'&', ('record_type','=','donation'), ('sponsor_or_donor_type','!=','unknown'),
|
||||
'&', ('record_type','=','sponsorship'), ('sponsor_donor_type','!=','unknown')
|
||||
]
|
||||
],
|
||||
'readonly': [('state','!=','draft')]
|
||||
}"
|
||||
placeholder="05xxxxxxxx"/>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue