Stéphan Sainléger 34f70b342c [ADD] membership_status_in_portal: portal membership status badge
Add a generic module displaying the connected portal user's membership
status in the account sidebar, below the "Edit information" link.

The native Odoo membership label (``res.partner.membership_state`` from
the ``membership`` module) is shown as a colored badge:
- green (``text-bg-success``) for free / paid members;
- yellow (``text-bg-warning``) for waiting / invoiced members;
- red (``text-bg-danger``) otherwise.

Color, icon and label are computed in the QWeb template; no model or
field is added. Includes HttpCase tests covering member and non-member
rendering and asserting no action button is rendered.
2026-09-21 14:26:43 +02:00
2024-03-06 14:42:35 +01:00
Description
No description provided
AGPL-3.0 82 KiB
Languages
JavaScript 61.1%
Python 27.1%
Shell 11.8%