IMP benefit
This commit is contained in:
parent
24c43acd5c
commit
b51d0253c6
|
|
@ -244,8 +244,8 @@ class GrantBenefitProfile(models.Model):
|
|||
date_divorcee = fields.Date()
|
||||
# Education_data
|
||||
mother_education_status_ids = fields.One2many('education.status', 'mother_grant_benefit_id')
|
||||
mother_diseases_attachment_ids = fields.One2many('ir.attachment', 'mother_grant_benefit_id', string='Diseases Attachments',domain=[('diseases_id', '!=', False)])
|
||||
mother_disabilities_attachment_ids = fields.One2many('ir.attachment', 'mother_grant_benefit_id', string='Disabilities Attachments',domain=[('disabilities_id', '!=', False)])
|
||||
mother_diseases_attachment_ids = fields.One2many('ir.attachment', 'benefit_id', string='Diseases Attachments',domain=[('diseases_id', '!=', False)])
|
||||
mother_disabilities_attachment_ids = fields.One2many('ir.attachment', 'benefit_id', string='Disabilities Attachments',domain=[('disabilities_id', '!=', False)])
|
||||
education_status = fields.Selection(string='Education Status',selection=[('educated', 'educated'), ('illiterate', 'illiterate'),('under_study_age','Under Study Age')])
|
||||
case_study = fields.Selection(string='Case Study',
|
||||
selection=[('continuous', 'continuous'), ('intermittent', 'intermittent'),
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class BenefitAttachment(models.Model):
|
|||
# fields to management required and delete records in benefit attachment
|
||||
is_required = fields.Boolean(string='Is Required?')
|
||||
is_default = fields.Boolean(string='Is Default?')
|
||||
mother_grant_benefit_id = fields.Many2one('grant.benefit', string='Mother Grant Benefit')
|
||||
# mother_grant_benefit_id = fields.Many2one('grant.benefit', string='Mother Grant Benefit')
|
||||
show_in_portal = fields.Boolean(default=True)
|
||||
|
||||
def action_preview_attachment(self):
|
||||
|
|
|
|||
|
|
@ -516,7 +516,7 @@
|
|||
<field name="datas" string="File content"/>
|
||||
<field name="expiration_date"/>
|
||||
<field name="attach_status"/>
|
||||
<field name="mother_grant_benefit_id" invisible="1"/>
|
||||
<!-- <field name="mother_grant_benefit_id" invisible="1"/>-->
|
||||
<field name="member_id" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
|
@ -529,7 +529,7 @@
|
|||
<field name="datas" string="File content"/>
|
||||
<field name="expiration_date"/>
|
||||
<field name="attach_status"/>
|
||||
<field name="mother_grant_benefit_id" invisible="1"/>
|
||||
<!-- <field name="mother_grant_benefit_id" invisible="1"/>-->
|
||||
<field name="member_id" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<field name="allow_days" invisible="1"/>
|
||||
<field name="is_required" invisible="1"/>
|
||||
<field name="is_default" invisible="1"/>
|
||||
<field name="mother_grant_benefit_id" invisible="1"/>
|
||||
<!-- <field name="mother_grant_benefit_id" invisible="1"/>-->
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Reference in New Issue