[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
46
account_invoice_triple_discount_readonly/readme/USAGE.rst
Normal file
46
account_invoice_triple_discount_readonly/readme/USAGE.rst
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
After installation:
|
||||
|
||||
**Working with Discounts:**
|
||||
|
||||
#. The total discount field will be readonly and automatically calculated
|
||||
#. Always use ``discount1``, ``discount2``, and ``discount3`` fields to set discounts
|
||||
#. When saving, the individual discount values will be preserved correctly
|
||||
|
||||
**Example:**
|
||||
|
||||
::
|
||||
|
||||
Product: Widget
|
||||
Price: 100.00€
|
||||
Discount 1: 10% → 90.00€
|
||||
Discount 2: 5% → 85.50€
|
||||
Discount 3: 2% → 83.79€
|
||||
|
||||
Total discount: 16.21% (displayed, readonly)
|
||||
|
||||
**Before this module:**
|
||||
|
||||
After saving, you would see:
|
||||
|
||||
::
|
||||
|
||||
Discount 1: 16.21% ❌ (accumulated)
|
||||
Discount 2: 0% ❌ (reset)
|
||||
Discount 3: 0% ❌ (reset)
|
||||
|
||||
**After this module:**
|
||||
|
||||
After saving, you correctly see:
|
||||
|
||||
::
|
||||
|
||||
Discount 1: 10% ✅
|
||||
Discount 2: 5% ✅
|
||||
Discount 3: 2% ✅
|
||||
Total: 16.21% (readonly, calculated)
|
||||
|
||||
**Important:**
|
||||
|
||||
* Do not try to edit the total discount field (it's readonly)
|
||||
* Always work with the three individual discount columns
|
||||
* The total is recalculated automatically
|
||||
Loading…
Add table
Add a link
Reference in a new issue