Skip to content

[18.0][ADD] agreement_portal: portal pages for agreements - #129

Open
marcos-mendez wants to merge 2 commits into
OCA:18.0from
marcos-mendez:18.0-add-agreement_portal
Open

[18.0][ADD] agreement_portal: portal pages for agreements#129
marcos-mendez wants to merge 2 commits into
OCA:18.0from
marcos-mendez:18.0-add-agreement_portal

Conversation

@marcos-mendez

Copy link
Copy Markdown

New module: lets portal users see the agreements of their commercial partner (or agreements they follow).

  • Agreements card with counter on the portal home
  • Paginated, sortable list at /my/agreements
  • Detail page per agreement, shareable via portal access token (portal.mixin)
  • Record rule: portal users only see agreements of their commercial partner or ones they follow

Design notes:

  • Depends only on portal + agreement (base): the detail page shows base fields; modules wanting to display agreement_legal fields (description, signatures) can inherit portal_agreement_page — keeping with one-feature-per-module.
  • Extracted and genericized from a module by Rafnix Guzman running in production on Odoo 18 (clinical engineering vertical).
  • 5 tests (HttpCase) covering list/detail/access-token/record-rule isolation, green against Odoo 18.

Portal users can see the agreements of their commercial partner (or
agreements they follow): counter card on /my, paginated list at
/my/agreements and a token-shareable detail page.

Extracted and genericized from a production clinical-engineering vertical
running on Odoo 18. Original module by Rafnix Guzman.
@OCA-git-bot OCA-git-bot added series:18.0 mod:agreement_portal Module agreement_portal labels Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants