[FIX] website_sale_aplicoop: payment-neutral label on the checkout button

The cart button that opens /eskaera/<slug>/checkout read "Proceed to
Checkout", and the curated eu/ca translations went further ("Ordaintzera
Joan", "Finalitza la Comanda"), all implying a payment step. With
instances running both with and without online payment, revert it to the
neutral "Review Order" in the source string, the JS labels and the es/eu/ca
translations.

Changing the msgid also drops the stale DB translation on update, so the
instance that still showed "Ir al pago" picks up the fresh term.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-08-27 19:33:43 +02:00
parent 512dd9f00d
commit 394f9a60a4
8 changed files with 13 additions and 13 deletions

View file

@ -100,7 +100,7 @@ def _get_translated_labels(self, lang=None, request_obj=None):
), ),
"save_cart": tr("Save Cart"), "save_cart": tr("Save Cart"),
"reload_cart": tr("Reload Cart"), "reload_cart": tr("Reload Cart"),
"proceed_to_checkout": tr("Proceed to Checkout"), "proceed_to_checkout": tr("Review Order"),
"confirm_order": tr("Confirm Order"), "confirm_order": tr("Confirm Order"),
"back_to_cart": tr("Back to Cart"), "back_to_cart": tr("Back to Cart"),
"remove_item": tr("Remove Item"), "remove_item": tr("Remove Item"),

View file

@ -1686,8 +1686,8 @@ msgstr "Tarifa de preus utilitzada per a les comandes de grup d'Aplicoop"
#. odoo-python #. odoo-python
#: code:addons/website_sale_aplicoop/models/js_translations.py:0 #: code:addons/website_sale_aplicoop/models/js_translations.py:0
#: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop #: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop
msgid "Proceed to Checkout" msgid "Review Order"
msgstr "Finalitza la Comanda" msgstr "Revisa la comanda"
#. module: website_sale_aplicoop #. module: website_sale_aplicoop
#: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop #: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop

View file

@ -1687,8 +1687,8 @@ msgstr "Lista de precios para pedidos de grupo Aplicoop"
#. odoo-python #. odoo-python
#: code:addons/website_sale_aplicoop/models/js_translations.py:0 #: code:addons/website_sale_aplicoop/models/js_translations.py:0
#: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop #: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop
msgid "Proceed to Checkout" msgid "Review Order"
msgstr "Revisar Pedido" msgstr "Revisar pedido"
#. module: website_sale_aplicoop #. module: website_sale_aplicoop
#: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop #: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop

View file

@ -1683,8 +1683,8 @@ msgstr "Aplicoop taldeko eskaerei erabiltzeko prezio zerrenda"
#. odoo-python #. odoo-python
#: code:addons/website_sale_aplicoop/models/js_translations.py:0 #: code:addons/website_sale_aplicoop/models/js_translations.py:0
#: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop #: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop
msgid "Proceed to Checkout" msgid "Review Order"
msgstr "Ordaintzera Joan" msgstr "Eskaera berrikusi"
#. module: website_sale_aplicoop #. module: website_sale_aplicoop
#: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop #: model_terms:ir.ui.view,arch_db:website_sale_aplicoop.eskaera_shop

View file

@ -29,7 +29,7 @@ def _register_translations():
_("Save Cart") _("Save Cart")
_("Reload Cart") _("Reload Cart")
_("Browse Product Categories") _("Browse Product Categories")
_("Proceed to Checkout") _("Review Order")
_("Confirm Order") _("Confirm Order")
_("Back to Cart") _("Back to Cart")
_("Remove Item") _("Remove Item")

View file

@ -50,7 +50,7 @@ Paying an order online
When the group order has online payment enabled: When the group order has online payment enabled:
#. Build the cart in ``/eskaera/<slug>`` as usual #. Build the cart in ``/eskaera/<slug>`` as usual
#. Press **Proceed to Checkout**: the cart is saved to your order first, so #. Press **Review Order**: the cart is saved to your order first, so
the checkout shows the very lines and amounts that will be charged the checkout shows the very lines and amounts that will be charged
#. Review the summary, choose home delivery if offered, and pick a payment #. Review the summary, choose home delivery if offered, and pick a payment
method — all on the same page method — all on the same page

View file

@ -1362,7 +1362,7 @@
error_save_draft: "Error saving cart", error_save_draft: "Error saving cart",
save_cart: "Save Cart", save_cart: "Save Cart",
reload_cart: "Reload Cart", reload_cart: "Reload Cart",
proceed_to_checkout: "Proceed to Checkout", proceed_to_checkout: "Review Order",
remove_item: "Remove Item", remove_item: "Remove Item",
confirm_order: "Confirm Order", confirm_order: "Confirm Order",
back_to_cart: "Back to Cart", back_to_cart: "Back to Cart",

View file

@ -264,7 +264,7 @@
<!-- js-eskaera-checkout: the cart is pushed to the draft <!-- js-eskaera-checkout: the cart is pushed to the draft
sale.order before navigating, so the checkout page can sale.order before navigating, so the checkout page can
render (and charge) the very lines the member sees. --> render (and charge) the very lines the member sees. -->
<a t-attf-href="/eskaera/{{ group_order.slug }}/checkout" class="btn btn-success cart-btn-compact js-eskaera-checkout" aria-label="Proceed to Checkout" title="Proceed to Checkout" data-bs-toggle="tooltip"> <a t-attf-href="/eskaera/{{ group_order.slug }}/checkout" class="btn btn-success cart-btn-compact js-eskaera-checkout" aria-label="Review Order" title="Review Order" data-bs-toggle="tooltip">
<i class="fa fa-check cart-icon-size" aria-hidden="true" /> <i class="fa fa-check cart-icon-size" aria-hidden="true" />
</a> </a>
<button type="button" class="btn btn-outline-danger cart-btn-compact" id="clear-cart-btn" t-attf-data-order-id="{{ group_order.id }}" title="Clear Cart" data-bs-toggle="tooltip" aria-label="Clear Cart"> <button type="button" class="btn btn-outline-danger cart-btn-compact" id="clear-cart-btn" t-attf-data-order-id="{{ group_order.id }}" title="Clear Cart" data-bs-toggle="tooltip" aria-label="Clear Cart">
@ -279,8 +279,8 @@
<button type="button" class="btn btn-outline-danger btn-sm" id="clear-cart-btn-footer" t-attf-data-order-id="{{ group_order.id }}" title="Clear Cart" data-bs-toggle="tooltip" aria-label="Clear Cart"> <button type="button" class="btn btn-outline-danger btn-sm" id="clear-cart-btn-footer" t-attf-data-order-id="{{ group_order.id }}" title="Clear Cart" data-bs-toggle="tooltip" aria-label="Clear Cart">
<i class="fa fa-trash me-1" aria-hidden="true" />Clear Cart <i class="fa fa-trash me-1" aria-hidden="true" />Clear Cart
</button> </button>
<a t-attf-href="/eskaera/{{ group_order.slug }}/checkout" class="btn btn-success checkout-btn-lg js-eskaera-checkout" title="Proceed to Checkout" data-bs-toggle="tooltip"> <a t-attf-href="/eskaera/{{ group_order.slug }}/checkout" class="btn btn-success checkout-btn-lg js-eskaera-checkout" title="Review Order" data-bs-toggle="tooltip">
Proceed to Checkout Review Order
</a> </a>
</div> </div>
</div> </div>