commit
92224867f3
|
|
@ -251,7 +251,9 @@ class FamilyMemberProfile(models.Model):
|
|||
default='auto')
|
||||
is_member_workflow = fields.Boolean('Is Member Workflow?')
|
||||
# sponsor_id = fields.Many2one('res.partner', string='Sponsor Partner',domain="[('account_type','=','sponsor')]")
|
||||
|
||||
sponsor_id = fields.Many2one('res.partner', string='Sponsor Partner', domain="[('is_sponsor_portal', '=', True)]")
|
||||
sponsor_related_id = fields.Many2one('res.partner', string='Sponsor')
|
||||
sponsorship_id = fields.Many2one('takaful.sponsorship', string='Sponsorship')
|
||||
required_attach = fields.Selection(selection=[('true', 'True'), ('false', 'False')], compute='get_required_attach',
|
||||
store=True, string='Member Required Attach')
|
||||
# Exception fields
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='invoice_origin']" position="attributes">
|
||||
<attribute name="attrs">{'invisible': False}</attribute>
|
||||
|
||||
</xpath>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue