[ADD] subscription_oca_portal: expose subscriptions in the portal #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "18.0-subscription-portal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add the missing portal layer for subscription_oca, modelled on the
portal of the OCA contract module:
/my/subscriptions/
template models, with record rules restricting both subscription and
lines to the user's own commercial partner
detail page with lines, totals and a portal chatter
the visitor, since subscription_oca creates them in sudo
calendar, matching the portal icon palette)
Chatter headings carry mb-4: the frontend portal chatter paints an
opaque sticky bar 15px above its container, which would otherwise clip
the heading (same overlap exists on core portal pages, hidden behind
their taller h3).
Portal body loop variables avoid the names
invoiceandsubscription:qweb renders a t-call body before the layout it calls in the same values
dict, so top-level loop variables leak into the breadcrumb context where
account's portal_breadcrumbs template tests t-if="invoice".