addons-cm/website_sale_aplicoop/views
GitHub Copilot 6e6d1e5256 [IMP] website_sale_aplicoop: signal frontend to reload on deploy
When we ship a JS-only fix, users with a long-lived tab keep running
the old code until they hard-refresh — there is no clean way to push
new code to an already-loaded page. Now /eskaera/check-status returns
the module's installed_version as client_version, and the eskaera
page embeds the same version in data-build-version on the cart
container. The JS captures the page's build version at init; on every
check-status response it compares them and triggers window.location.
reload() on mismatch. A sessionStorage timestamp guards against
reload loops if the versions stay disagreeing (cached HTML upstream).

The version bump in __manifest__.py also invalidates the asset bundle
URL hash, so even users without this signalling path get fresh JS on
their next navigation.

This is forward-looking: clients on the old JS (no check) still need
one manual refresh today, but every future deploy will auto-recover.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 15:31:37 +02:00
..
group_order_views.xml group order form notebook 2026-05-21 17:37:22 +02:00
load_from_history_templates.xml lint: fix linter warnings (log exceptions, disable attribute-string-redundant, suppress C901 where necessary) 2026-05-20 16:05:14 +02:00
portal_templates.xml disable load in cart portal buttons 2026-05-21 13:50:50 +02:00
product_category_views.xml [IMP] website_sale_aplicoop: add sequence field to product.category for web ordering 2026-05-20 16:05:14 +02:00
product_template_views.xml Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
res_config_settings_views.xml feat(website_sale_aplicoop): sistema de ribbons basado en stock 2026-02-25 19:48:39 +01:00
res_partner_views.xml [IMP] website_sale_aplicoop: propagate consumer_group_id directly from group_order 2026-03-06 13:49:13 +01:00
sale_order_views.xml lint: fix linter warnings (log exceptions, disable attribute-string-redundant, suppress C901 where necessary) 2026-05-20 16:05:14 +02:00
stock_picking_views.xml [DOC] website_sale_aplicoop: Add lazy loading documentation and implement v18.0.1.3.0 feature 2026-02-16 18:39:39 +01:00
website_sale_disable_cart.xml [IMP] website_sale_aplicoop: disable standard website_sale cart — hide header cart, remove add-to-cart, redirect cart routes to /eskaera 2026-05-20 16:05:14 +02:00
website_templates.xml [IMP] website_sale_aplicoop: signal frontend to reload on deploy 2026-06-06 15:31:37 +02:00