Odoo Compute Partner res.partner

Read Access Error issue during compute partners fix

Probuse Admin

Sample Example

custom_partner_parent_id = fields.Many2one(

  'res.partner',

  string="Partner Parent",

  compute="_compute_custom_parent",

  store=True,

compute_sudo=True

  )

Ref: https://github.com/odoo/odoo/pull/5087