[DOC] Actualizar documentación a estándares OCA y preparar logo CriptoMart
- Renombrar README.md a README_DEV.md en todos los addons custom - Crear README.rst siguiendo estructura OCA oficial - Crear directorios readme/ con fragmentos .rst (DESCRIPTION, INSTALL, CONFIGURE, USAGE, CONTRIBUTORS, CREDITS) - Actualizar créditos: Criptomart (autor) + Elika Bilbo (financiador) - Actualizar __manifest__.py con maintainers correctos - Crear estructura static/description/ para logo en 5 addons - Agregar documentación de logo (LOGO_INSTRUCTIONS.md, install_logo.sh) - Actualizar copilot-instructions.md con referencias a OCA_DOCUMENTATION.md - Crear docs/OCA_DOCUMENTATION.md con guía completa de estructura - Crear docs/RESUMEN_CAMBIOS_DOCUMENTACION.md con resumen detallado Addons actualizados: - website_sale_aplicoop - product_sale_price_from_pricelist - product_pricelist_total_margin - product_price_category_supplier - account_invoice_triple_discount_readonly
This commit is contained in:
parent
b31df7b9d8
commit
4a4639f13a
56 changed files with 1778 additions and 674 deletions
|
|
@ -172,10 +172,30 @@ Ejecutar tests::
|
|||
Créditos
|
||||
========
|
||||
|
||||
Autor
|
||||
-----
|
||||
Autores
|
||||
-------
|
||||
|
||||
Criptomart - 2026
|
||||
* Criptomart
|
||||
|
||||
Financiadores
|
||||
-------------
|
||||
|
||||
* Elika Bilbo
|
||||
|
||||
Contribuidores
|
||||
--------------
|
||||
|
||||
* `Criptomart <https://criptomart.net>`_:
|
||||
|
||||
* Desarrollo e implementación del módulo
|
||||
* Diseño del wizard y lógica de actualización masiva
|
||||
|
||||
Otros créditos
|
||||
--------------
|
||||
|
||||
Este módulo extiende el addon OCA ``product_price_category`` para proporcionar
|
||||
valores por defecto a nivel de proveedor y operaciones masivas que facilitan la
|
||||
gestión de categorías de precio.
|
||||
|
||||
Licencia
|
||||
--------
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
"category": "Product",
|
||||
"summary": "Add default price category to suppliers and bulk update products",
|
||||
"author": "Odoo Community Association (OCA), Criptomart",
|
||||
"maintainers": ["Criptomart"],
|
||||
"license": "AGPL-3",
|
||||
"website": "https://git.criptomart.net/criptomart/addons-cm",
|
||||
"depends": ["product_price_category", "sales_team", "product_main_seller"],
|
||||
|
|
|
|||
6
product_price_category_supplier/readme/CONFIGURE.rst
Normal file
6
product_price_category_supplier/readme/CONFIGURE.rst
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
No additional configuration is required after installation.
|
||||
|
||||
**Optional:**
|
||||
|
||||
* Configure price categories if not already set up (Sales → Configuration → Price Categories)
|
||||
* Ensure suppliers have the "Supplier" checkbox enabled in their contact form
|
||||
4
product_price_category_supplier/readme/CONTRIBUTORS.rst
Normal file
4
product_price_category_supplier/readme/CONTRIBUTORS.rst
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
* `Criptomart <https://criptomart.net>`_:
|
||||
|
||||
* Module development and implementation
|
||||
* Wizard design and bulk update logic
|
||||
11
product_price_category_supplier/readme/CREDITS.rst
Normal file
11
product_price_category_supplier/readme/CREDITS.rst
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
**Authors:**
|
||||
|
||||
* Criptomart
|
||||
|
||||
**Funding:**
|
||||
|
||||
* Elika Bilbo
|
||||
|
||||
**Other credits:**
|
||||
|
||||
This module extends the OCA ``product_price_category`` module to provide supplier-level defaults and bulk operations for easier price category management.
|
||||
9
product_price_category_supplier/readme/DESCRIPTION.rst
Normal file
9
product_price_category_supplier/readme/DESCRIPTION.rst
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
This module extends ``res.partner`` (suppliers) with a default price category field and allows bulk updating all products from a supplier with this category through a wizard.
|
||||
|
||||
**Key Features:**
|
||||
|
||||
* **Supplier Default Category**: Add ``default_price_category_id`` field to supplier form in Purchases tab
|
||||
* **Bulk Update**: Button opens modal wizard to confirm updating all supplier's products
|
||||
* **Configurable Column**: Field hidden in tree view by default, visible/configurable from column menu
|
||||
* **Access Control**: Restricted to Sales Managers (``sales_team.group_sale_manager``)
|
||||
* **Integration**: Works seamlessly with ``product_price_category`` and pricelist system
|
||||
10
product_price_category_supplier/readme/INSTALL.rst
Normal file
10
product_price_category_supplier/readme/INSTALL.rst
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
To install this module, you need to:
|
||||
|
||||
#. Ensure dependencies are installed:
|
||||
|
||||
* product_price_category (OCA addon base)
|
||||
* sales_team (Odoo core)
|
||||
|
||||
#. Update the Apps list
|
||||
#. Search for "Product Price Category - Supplier Extension"
|
||||
#. Click Install
|
||||
31
product_price_category_supplier/readme/USAGE.rst
Normal file
31
product_price_category_supplier/readme/USAGE.rst
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
**Setting Default Price Category on Supplier:**
|
||||
|
||||
#. Open a **Supplier** form (res.partner with "Supplier" checkbox enabled)
|
||||
#. Go to **Purchases** tab
|
||||
#. In **Price Category Settings** section, select **Default Price Category**
|
||||
#. Save
|
||||
|
||||
**Bulk Update Products:**
|
||||
|
||||
#. After setting default price category on supplier
|
||||
#. Click **"Apply to All Products"** button
|
||||
#. Confirmation wizard opens showing:
|
||||
|
||||
* Supplier name
|
||||
* Price category to apply
|
||||
* Count of products to be updated
|
||||
|
||||
#. Click **"Confirm"** to execute bulk update
|
||||
#. Success notification shows number of products updated
|
||||
|
||||
**Behavior:**
|
||||
|
||||
* Updates all products where ``main_seller_id`` (or ``default_supplier_id``) equals the supplier
|
||||
* Updates products' ``price_category_id`` field
|
||||
* **Warning:** This OVERWRITES any existing price category on the products
|
||||
|
||||
**Use Cases:**
|
||||
|
||||
* Set default price categories for new suppliers
|
||||
* Bulk reclassify products when changing supplier pricing strategy
|
||||
* Maintain consistency between supplier and product pricing categories
|
||||
Loading…
Add table
Add a link
Reference in a new issue