[IMP] partner_portal_extra_link: fix dependency and clean a view
This commit is contained in:
@@ -35,15 +35,16 @@ and only if the portal user belongs to a company (has a `parent_id`).
|
||||
and `wiki_homepage_url`.
|
||||
2. The backend partner form view is extended to show these fields after the tags
|
||||
field, hidden for individual contacts (non-company partners).
|
||||
3. The portal layout template (`portal.portal_layout`) is extended to inject
|
||||
clickable links into the "My Details" section. The links are read from
|
||||
`user_id.partner_id.parent_id` (the portal user's parent company).
|
||||
3. The portal template `portal.portal_contact` (sidebar contact section on
|
||||
`/my/home`) is extended to inject clickable links from the portal user's
|
||||
parent company (`user_id.partner_id.parent_id`). A `parent` variable is
|
||||
captured via `t-set` to avoid repeated relation lookups.
|
||||
|
||||
## Dependencies
|
||||
|
||||
This module depends on:
|
||||
|
||||
- `base`: Odoo base module
|
||||
- `portal`: Odoo portal module (provides the portal layout templates)
|
||||
|
||||
No external Python dependencies are required.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user