FIX res partner
This commit is contained in:
parent
fb9b39d0b1
commit
305bab9423
|
|
@ -46,6 +46,7 @@ class ResPartner(models.Model):
|
|||
# operation_ids = fields.One2many('takaful.sponsor.operation', 'sponsor_id', string="Operations Records")
|
||||
benefit_ids = fields.One2many('family.member', 'sponsor_related_id', string="Benefits Records")
|
||||
related_benefits_count = fields.Integer(compute="_compute_related_benefits_count")
|
||||
kafel_id = fields.Many2one('res.users')
|
||||
|
||||
state = fields.Selection([
|
||||
('draft', 'Draft'),
|
||||
|
|
@ -96,7 +97,6 @@ class ResPartner(models.Model):
|
|||
readonly=True
|
||||
)
|
||||
|
||||
kafel_id = fields.Many2one('res.users')
|
||||
|
||||
_sql_constraints = [
|
||||
('id_number_uniq', 'unique (id_number)', 'The ID Number Already Exist!'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue