Commit Graph

19 Commits

Author SHA1 Message Date
Stéphan Sainléger
18e7ae8925 [ADD] subscription_oca_portal: expose subscriptions in the portal
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m34s
tests / test (pull_request) Successful in 2m39s
Add the missing portal layer for subscription_oca, modelled on the
portal of the OCA contract module:

- sale.subscription inherits portal.mixin; access_url resolves to
  /my/subscriptions/<id>
- read-only ACLs (base.group_portal) on subscription, line, stage and
  template models, with record rules restricting both subscription and
  lines to the user's own commercial partner
- CustomerPortal extension: home counter, paginated and sortable list,
  detail page with lines, totals and a portal chatter
- related invoices are listed only when posted and actually readable by
  the visitor, since subscription_oca creates them in sudo
- /my home entry with a recurring-cycle icon (circular arrows around a
  calendar, matching the portal icon palette)
- 13 tests, fr.po translation catalog

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 `invoice` and `subscription`:
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".
2026-10-20 23:28:32 +02:00
252fee9c99 [CI] sync config from odoo-elabore-ci 2026-09-23 18:29:26 +00:00
1c2f82febb [CI] sync config from odoo-elabore-ci 2026-09-23 17:51:55 +00:00
34f8fd2e34 [CI] sync config from odoo-elabore-ci 2026-09-23 13:13:21 +00:00
Stéphan Sainléger
c06b8437ac [MIG] sale_order_invoice_untaxed_amount: migrate to 18.0 2026-07-23 12:18:37 +02:00
Stéphan Sainléger
4c51357735 [MIG] sale_outstanding: migrate to 18.0 2026-06-02 12:46:25 +02:00
Stéphan Sainléger
438dcbeaf0 [MIG] sale_disable_product_creation_in_sale: migration to 18.0 2026-03-29 15:47:58 +02:00
Stéphan Sainléger
b6cfe0b027 [MIG] sale_usability_misc: migration to 18.0 2026-03-29 15:47:40 +02:00
a140edb60e Sync config from odoo-elabore-ci:16.0 2026-01-20 10:01:03 +01:00
64fca2a574 [IMP]sale_usability_misc:make opportunity_id visible for sale manager group instead of dev mode group 2026-01-20 10:01:03 +01:00
clementthomas
c6880f9bbc [NEW] sale_disable_product_creation_in_sale 2024-11-25 14:46:13 +01:00
27ce85cb9b [ADD]sale_usability_misc:show date_order even not in dev mode 2024-10-29 11:59:37 +01:00
d7cbea0ce5 [ADD]sale_show_crm_opportunity 2024-06-17 10:50:43 +02:00
f752c0f7f1 [ADD]sale_order_validity_date addon 2023-12-22 09:31:45 +01:00
clementthomas
f0db28ab8a [IMP] sale_outstanding: computation of sum_pending_work
management of "ordered_timesheet" service products
2023-04-25 10:31:33 +02:00
clementthomas
eef69bfd8e add gitignore 2023-04-13 14:23:06 +02:00
Stéphan Sainléger
5872159274 [ADD] create sale_order_invoice_untaxed_amount add-on 2022-12-02 10:15:28 +01:00
Stéphan Sainléger
867e3af50a [ADD] create sale_outstanding add-on 2022-12-02 09:45:18 +01:00
Stéphan Sainléger
dae461b8d9 Initial commit 2022-10-09 10:37:50 +02:00