From 1779c42e9b9cbe1dd9550c079b3e4a3064fe1afe Mon Sep 17 00:00:00 2001 From: snt Date: Wed, 25 Feb 2026 18:55:33 +0100 Subject: [PATCH 1/2] [IMP] website_sale_aplicoop: Replace product_origin with product_origin_char MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace dependency from product_origin to product_origin_char - Update product card template to show origin_text field instead of country_id/state_id - Simpler and more flexible: free text origin per supplier instead of structured fields - Version: 18.0.1.6.0 -> 18.0.1.7.0 The new field is more suitable for creative product origins like 'Valencia, Huerta de...' or 'Región de Murcia, cooperativa XX' which don't fit the rigid country/state structure. --- website_sale_aplicoop/__manifest__.py | 4 ++-- .../views/website_templates.xml | 19 +++---------------- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/website_sale_aplicoop/__manifest__.py b/website_sale_aplicoop/__manifest__.py index 5069ddc..ac9b0dd 100644 --- a/website_sale_aplicoop/__manifest__.py +++ b/website_sale_aplicoop/__manifest__.py @@ -3,7 +3,7 @@ { # noqa: B018 "name": "Website Sale - Aplicoop", - "version": "18.0.1.6.0", + "version": "18.0.1.7.0", "category": "Website/Sale", "summary": "Modern replacement of legacy Aplicoop - Collaborative consumption group orders", "author": "Odoo Community Association (OCA), Criptomart", @@ -17,7 +17,7 @@ "stock", "account", "product_get_price_helper", - "product_origin", + "product_origin_char", ], "data": [ # Datos: Grupos propios diff --git a/website_sale_aplicoop/views/website_templates.xml b/website_sale_aplicoop/views/website_templates.xml index 0273cf3..b609928 100644 --- a/website_sale_aplicoop/views/website_templates.xml +++ b/website_sale_aplicoop/views/website_templates.xml @@ -1142,7 +1142,7 @@

From 3f822a28cfa9187b3c6f5185111f9db13e3d8aef Mon Sep 17 00:00:00 2001 From: snt Date: Wed, 25 Feb 2026 19:01:28 +0100 Subject: [PATCH 2/2] [FIX] mypy: Configure to ignore missing Odoo imports globally - Set ignore_missing_imports = True at global [mypy] level - Add explicit sections for odoo, odoo.*, and odoo.addons.* - Fixes pre-commit hook failures when mypy checks Odoo addon files - Resolves 'Cannot find implementation or library stub for module named odoo' errors This is a known issue with Odoo stubs not being fully compatible with mypy. --- mypy.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index 53e114f..900be4b 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,8 +5,13 @@ exclude = .*/migrations/.* # Ignore missing imports from Odoo modules -[mypy-odoo.*] ignore_missing_imports = True [mypy-odoo] ignore_missing_imports = True + +[mypy-odoo.*] +ignore_missing_imports = True + +[mypy-odoo.addons.*] +ignore_missing_imports = True