Merge pull request #6203 from expsa/samir_aladawi_fix_state_sponsorship
[FIX] odex_takaful
This commit is contained in:
commit
418d2aea3f
|
|
@ -920,7 +920,7 @@ class DonationsDetailsLines(models.Model):
|
|||
rec.members_domain_ids = self.env['family.member'].sudo().browse()
|
||||
continue
|
||||
|
||||
members = self.env['family.member'].sudo().search(domain)
|
||||
members = self.env['family.member'].search(domain)
|
||||
rec.members_domain_ids = members if members else self.env['family.member'].sudo().browse()
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -122,6 +122,28 @@
|
|||
<field name="number_of_family_member" optional="hide" />
|
||||
<field name="diseases_attachment_ids" widget="many2many_tags" optional="hide" />
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='member_location_conf']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='exit_benefit_date']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='member_status']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='branch_custom_id']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='state']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='relationn']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='member_id_number']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue