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>
89 lines
3.2 KiB
Python
89 lines
3.2 KiB
Python
# Copyright 2025 - Today Criptomart
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
|
|
|
|
{ # noqa: B018
|
|
"name": "Website Sale - Aplicoop",
|
|
"version": "18.0.1.14.0",
|
|
"category": "Website/Sale",
|
|
"summary": "Modern replacement of legacy Aplicoop - Collaborative consumption group orders",
|
|
"author": "Odoo Community Association (OCA), Criptomart",
|
|
"maintainers": ["Criptomart"],
|
|
"website": "https://git.criptomart.net/criptomart/addons-cm",
|
|
"license": "AGPL-3",
|
|
"depends": [
|
|
"website_sale",
|
|
"website_sale_stock",
|
|
"payment",
|
|
"product",
|
|
"sale",
|
|
"stock",
|
|
"stock_picking_batch",
|
|
"account",
|
|
"product_get_price_helper",
|
|
"l10n_es_partner",
|
|
],
|
|
"data": [
|
|
# Datos: Grupos propios
|
|
"data/groups.xml",
|
|
# Datos: Menús del website
|
|
"data/website_menus.xml",
|
|
# Datos: Cron jobs
|
|
"data/cron.xml",
|
|
# Datos: Product ribbons for stock levels
|
|
"data/product_ribbon_data.xml",
|
|
# Vistas de seguridad
|
|
"security/ir.model.access.csv",
|
|
"security/record_rules.xml",
|
|
# Vistas
|
|
"views/group_order_views.xml",
|
|
"views/product_category_views.xml",
|
|
"views/res_partner_views.xml",
|
|
"views/res_config_settings_views.xml",
|
|
"views/website_templates.xml",
|
|
"views/product_template_views.xml",
|
|
"views/sale_order_views.xml",
|
|
"views/stock_picking_views.xml",
|
|
"views/portal_templates.xml",
|
|
"views/load_from_history_templates.xml",
|
|
],
|
|
"demo": [
|
|
# Demo: Account Taxes (must be loaded first)
|
|
"demo/account_tax_demo.xml",
|
|
# Demo: Partners (Groups and Members)
|
|
"demo/res_partner_demo.xml",
|
|
# Demo: Suppliers
|
|
"demo/res_partner_suppliers_demo.xml",
|
|
# Demo: Products and Categories
|
|
"demo/product_demo.xml",
|
|
# Demo: Group Orders
|
|
"demo/group_order_demo.xml",
|
|
# Demo: Sale Orders
|
|
"demo/sale_order_demo.xml",
|
|
],
|
|
"external_dependencies": {
|
|
"python": [],
|
|
},
|
|
"assets": {
|
|
"web.assets_frontend": [
|
|
"website_sale_aplicoop/static/src/css/website_sale.css",
|
|
# i18n and helpers must load first
|
|
"website_sale_aplicoop/static/src/js/i18n_manager.js",
|
|
"website_sale_aplicoop/static/src/js/i18n_helpers.js",
|
|
# Core shop functionality
|
|
"website_sale_aplicoop/static/src/js/website_sale.js",
|
|
"website_sale_aplicoop/static/src/js/checkout_labels.js",
|
|
"website_sale_aplicoop/static/src/js/home_delivery.js",
|
|
"website_sale_aplicoop/static/src/js/eskaera_payment.js",
|
|
# Search and pagination
|
|
"website_sale_aplicoop/static/src/js/infinite_scroll.js",
|
|
"website_sale_aplicoop/static/src/js/realtime_search.js",
|
|
],
|
|
"web.assets_tests": [
|
|
"website_sale_aplicoop/static/tests/test_suite.js",
|
|
"website_sale_aplicoop/static/tests/test_cart_functions.js",
|
|
"website_sale_aplicoop/static/tests/test_tooltips_labels.js",
|
|
"website_sale_aplicoop/static/tests/test_realtime_search.js",
|
|
],
|
|
},
|
|
"application": True,
|
|
}
|