[FIX] odex_takaful
This commit is contained in:
parent
308b426b5b
commit
94742fe1e8
|
|
@ -920,7 +920,7 @@ class DonationsDetailsLines(models.Model):
|
||||||
rec.members_domain_ids = self.env['family.member'].sudo().browse()
|
rec.members_domain_ids = self.env['family.member'].sudo().browse()
|
||||||
continue
|
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()
|
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="number_of_family_member" optional="hide" />
|
||||||
<field name="diseases_attachment_ids" widget="many2many_tags" optional="hide" />
|
<field name="diseases_attachment_ids" widget="many2many_tags" optional="hide" />
|
||||||
</xpath>
|
</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>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue