addons-cm/website_sale_aplicoop/i18n
snt d90f2cdc61 [ADD] website_sale_aplicoop: Supplier blacklist feature for group orders
- Add excluded_supplier_ids field for supplier exclusion
- Filter products by main_seller_id (from product_main_seller addon)
- Blacklist has absolute priority over all inclusion sources
- Products with blacklisted main supplier never appear in orders
- Update _get_products_for_group_order() with supplier blacklist logic
- Add excluded_supplier_ids to 'Productos Excluidos' section in form view
- Add comprehensive test suite (TestSupplierBlacklist class with 9 tests):
  * Test exclusion by main_seller_id
  * Test multiple supplier exclusion
  * Test products without main seller not affected
  * Test blacklist with direct product inclusion
  * Test blacklist priority over supplier inclusion
  * Test combined product and supplier blacklist
  * Test available_products_count with supplier blacklist
- Add Spanish and Euskera translations
- Update available_products_count computation to include excluded_supplier_ids
- Version bump to 18.0.1.5.0

Use case: Exclude all products from specific supplier (e.g., temporary unavailability)
Example: Category with 100 products, exclude supplier X → all products from X excluded
Workflow: Bulk inclusion via categories + supplier-level exclusion + product-level exclusion
2026-02-22 21:35:40 +01:00
..
__init__.py Aplicoop desde el repo de kidekoop 2026-02-11 15:32:11 +01:00
es.po [ADD] website_sale_aplicoop: Supplier blacklist feature for group orders 2026-02-22 21:35:40 +01:00
eu.po [ADD] website_sale_aplicoop: Supplier blacklist feature for group orders 2026-02-22 21:35:40 +01:00
README.md [FIX] website_sale_aplicoop: Remove redundant string= attributes and fix OCA linting warnings 2026-02-18 17:54:43 +01:00

Website Sale Aplicoop - Translations

Language Support

This module has complete translation support for 7 languages:

Language Code Status Coverage
Spanish es Complete 100%
Portuguese pt Complete 100%
Galician gl Complete 100%
Catalan ca Complete 100%
Basque (Euskera) eu Complete 100%
French fr Complete 100%
Italian it Complete 100%

Translated Content

Each .po file contains 66 translations for:

  • Selection Field Options (Days of week, Recurrence periods)

    • Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday
    • Daily, Weekly, Biweekly, Monthly
  • Order States

    • Draft, Open, Closed, Cancelled
  • Order Types

    • Regular Order, Special Order, Promotional Order
  • Field Labels & Help Text

    • 40+ field definitions with labels, help text, and descriptions

Usage

When users switch their Odoo interface language to any of the supported languages, all UI strings will automatically display in that language.

Example

  • English: "Group Order"
  • Spanish: "Pedido de Grupo"
  • Portuguese: "Pedido de Grupo"
  • French: "Commande de Groupe"
  • etc.

Translation Workflow

To add or update translations:

  1. Edit the corresponding .po file
  2. Update the msgstr values (keep msgid unchanged)
  3. Save and reload the module in Odoo
  4. Translations apply immediately

Example entry in a .po file:

#. module: website_sale_aplicoop
msgid "Group Order"
msgstr "Pedido de Grupo"  # Spanish translation

Maintenance

  • All .po files were generated and tested: 40/40 tests passing
  • Translation coverage: 100% for all supported languages
  • Last updated: December 16, 2025

Note: The module includes English strings by default. No en.po file is needed as English is the source language.