[IMP] partner_profiles: clarify position profiles display
separates the notebook pages of the child_ids and the position profiles in both company and individual partner form views.
This commit is contained in:
committed by
Stéphan Sainléger
parent
9438f19140
commit
019019aa93
@@ -40,6 +40,8 @@ class res_partner(models.Model):
|
||||
domain=[("is_position_profile", "=", True)]
|
||||
)
|
||||
|
||||
structure_position_ids = fields.One2many('res.partner', 'parent_id', string="Structure's positions", domain=[('active', '=', True), ('is_position_profile', '=', True)])
|
||||
|
||||
@api.depends("partner_profile", "other_contact_ids")
|
||||
def _compute_profile_booleans(self):
|
||||
for partner in self:
|
||||
|
Reference in New Issue
Block a user