[DOC] product_sale_price_from_pricelist: actualizar documentación v18.0.2.7.0

- CHANGELOG: documentar nueva funcionalidad de actualización de órdenes de venta
- README: añadir sección sobre Update Sales Orders from List Price
- README_DEV: incluir uso de la acción en workflow
- readme/USAGE: detallar paso a paso para actualizar órdenes

Funcionalidad documentada:
- Botón/acción para actualizar líneas de orden de venta con precio actual del producto
- Solo procesa órdenes no facturadas/canceladas
- Preserva descuentos, omite notas/secciones y anticipos
- Disponible en vista formulario y lista
This commit is contained in:
snt 2026-02-27 17:10:53 +01:00
parent d294843241
commit aef57a3de4
4 changed files with 24 additions and 0 deletions

View file

@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [18.0.2.7.0] - 2026-02-27
### Added
- New action/button on sales orders to update non-invoiced orders from current product sale price (skips notes/downpayments, keeps discounts)
- Server action binding for mass update from list view
- Tests covering sales order update flow and invoiced order exclusion
- Translations updated (es, eu) for the new UI strings
## [18.0.2.6.0] - 2026-02-14 ## [18.0.2.6.0] - 2026-02-14
### Fixed ### Fixed

View file

@ -29,6 +29,7 @@ This module automatically calculates and updates product sale prices based on th
* **Batch Updates**: Update theoretical prices for multiple products * **Batch Updates**: Update theoretical prices for multiple products
* **Product Flags**: Mark products for price updates and track status * **Product Flags**: Mark products for price updates and track status
* **Variant Architecture**: All business logic in product.product for proper pricelist handling * **Variant Architecture**: All business logic in product.product for proper pricelist handling
* **Sales Orders Update**: Action/button to sync sale order lines (not invoiced) with current product sale price
**Table of contents** **Table of contents**
@ -95,6 +96,12 @@ Usage
#. System recalculates theoretical prices based on current settings #. System recalculates theoretical prices based on current settings
#. Review and apply changes #. Review and apply changes
**Update Sales Orders from List Price:**
#. Go to Sales → Orders (form or list) and use **Update with List Price**
#. Only orders not invoiced/canceled are processed
#. The action copies current product sale price to normal lines (skipping notes and downpayments) and keeps discounts
**Price Calculation Flow:** **Price Calculation Flow:**
#. Purchase order is received #. Purchase order is received

View file

@ -15,6 +15,7 @@ Automatically calculate and update product sale prices based on the last purchas
- **UoM Conversion**: Handles different purchase and sale units of measure - **UoM Conversion**: Handles different purchase and sale units of measure
- **Batch Updates**: Update theoretical prices for multiple products - **Batch Updates**: Update theoretical prices for multiple products
- **Product Flags**: Mark products for price updates and track status - **Product Flags**: Mark products for price updates and track status
- **Sales Orders Update**: Action/button to sync non-invoiced sale order lines with current product sale price
## Configuration ## Configuration
@ -39,6 +40,7 @@ Automatically calculate and update product sale prices based on the last purchas
3. Sale price is calculated from the configured pricelist using the cost price 3. Sale price is calculated from the configured pricelist using the cost price
4. Taxes are automatically applied based on product tax settings 4. Taxes are automatically applied based on product tax settings
5. Go to **Products > Update Theoretical Prices** to batch update prices 5. Go to **Products > Update Theoretical Prices** to batch update prices
6. Go to **Sales > Orders** and use **Update with List Price** (form or list). Applies only to non-invoiced/non-canceled orders, skips notes and downpayments, preserves discounts.
## Technical Architecture ## Technical Architecture

View file

@ -12,6 +12,12 @@
#. System recalculates theoretical prices based on current settings #. System recalculates theoretical prices based on current settings
#. Review and apply changes #. Review and apply changes
**Update Sales Orders from List Price:**
#. Go to Sales → Orders (form or list) and click **Update with List Price**
#. Only orders not invoiced or canceled are processed
#. Copies current product sale price to normal lines (skips notes/sections and downpayments) and preserves discounts
**Price Calculation Flow:** **Price Calculation Flow:**
#. Purchase order is received #. Purchase order is received