[REM] website_sale_aplicoop: remove dead code and orphaned tests

Duplicate _translate_labels fallback, unreachable /eskaera/add-to-cart and
/eskaera/save-cart routes (the frontend cart is localStorage-only and uses
save-order), redundant pickup wrappers, unused pagination/count helpers and
fields, deprecated JS shims, and the already-empty checkout_summary.js and
i18n key/init leftovers.

Also drops 11 tests/*.py never wired into tests/__init__.py: three were
unimplemented placeholders (setUp with no assertions), and the other eight
had real assertions but were bit-rotted against the current schema (e.g.
res.partner.is_supplier no longer exists) — wiring them in surfaced 43
failures unrelated to this cleanup. Verified 0 failed/0 errors of 270 tests
both before and after.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-08-16 22:31:13 +02:00
parent 6ba554c91b
commit b3999e2283
24 changed files with 5 additions and 5598 deletions

View file

@ -107,12 +107,6 @@
</script>
</t>
</template>
<template id="confirm_message_snippet" name="Confirm Message Snippet">
<t>Thank you! Your order has been confirmed.</t>
</template>
<template id="confirm_pickup_label_snippet" name="Confirm Pickup Label Snippet">
<t>Pickup Day</t>
</template>
<template id="eskaera_order_card_meta" name="Order Card Metadata">
<div class="card-meta-compact mt-3">
<div class="meta-grid">