addons-cm/product_sale_price_from_pricelist
snt e27cacd65b [18.0][MIG] product_sale_price_from_pricelist: Port to Odoo 18.0
- Update manifest version to 18.0.1.0.0
- Update view inheritance to use Odoo 18 <block>/<setting> structure
- Update pricelist models for Odoo 18 API changes (qty parameter)
- Remove required=True from company_dependent field
- Add comprehensive test suite (33 tests)
- Tests cover: pricelist calculations, stock moves, product templates, and config settings
2026-02-11 01:06:00 +01:00
..
data add product_sale_price_from_pricelist 2025-02-04 21:15:51 +01:00
i18n product_sale_price_from_pricelist: fix tranlations 2025-07-09 17:57:10 +02:00
models [18.0][MIG] product_sale_price_from_pricelist: Port to Odoo 18.0 2026-02-11 01:06:00 +01:00
tests [ADD] product_sale_price_from_pricelist: módulo para calcular precio de venta desde tarifa 2026-02-11 00:34:05 +01:00
views [ADD] product_sale_price_from_pricelist: módulo para calcular precio de venta desde tarifa 2026-02-11 00:34:05 +01:00
__init__.py add product_sale_price_from_pricelist 2025-02-04 21:15:51 +01:00
__manifest__.py [ADD] product_sale_price_from_pricelist: módulo para calcular precio de venta desde tarifa 2026-02-11 00:34:05 +01:00
README.md add READMEs 2025-12-19 09:22:33 +01:00

Product Sale Price from Pricelist

Automatically calculate and update product sale prices based on the last purchase price and configurable pricelists.

Features

  • Automatic Price Calculation: Set sale prices based on last purchase price and a configured pricelist
  • Flexible Discount Handling: Choose how to apply discounts to the cost:
    • Without discounts
    • First discount only
    • Double discount
    • Triple discount
    • Manual update
  • Tax-Aware Pricing: Automatically includes tax calculations in pricing
  • UoM Conversion: Handles different purchase and sale units of measure
  • Batch Updates: Update theoretical prices for multiple products
  • Product Flags: Mark products for price updates and track status

Configuration

  1. Settings > Sales > Automatic Price Configuration: Select the pricelist for automatic price calculation
  2. Products > Products: Configure per product:
    • Last purchase price: Cost at which the product was last purchased
    • Last purchase price calculation type: Choose how to apply discounts
    • Mark Last purchase price updated when prices need to be reviewed

Price Calculation Types

  • Without Discounts: Uses base purchase price without discounts
  • First Discount: Applies only the first discount
  • Double Discount: Applies first and second discount
  • Triple Discount: Applies first, second, and third discount
  • Manual Update: Price must be set manually

Usage

  1. Products are priced when received from purchase orders
  2. System automatically updates last_purchase_price field
  3. Sale price is calculated from the configured pricelist using the cost price
  4. Taxes are automatically applied based on product tax settings
  5. Go to Products > Update Theoretical Prices to batch update prices

License

AGPL-3.0 or later