Commit graph

18 commits

Author SHA1 Message Date
snt
69917d1ec2 fix form 2026-02-11 02:55:10 +01:00
snt
80c2617c40 [FIX] product_sale_price_from_pricelist: Fix Odoo 18 compatibility issues
- Fix _compute_price_rule: use 'quantity' positional parameter instead of 'qty'
- Fix stock_move: use 'quantity' instead of 'quantity_done' (Odoo 18 change)
- Fix _get_price return value: extract 'value' key directly from dict
- Add last_purchase_price related field in product.product for pricelist base
- Remove company_dependent+required conflict (use only company_dependent)
- Calculate list_price without taxes (taxes applied automatically on sales)
- Add comprehensive debug logging for price calculations
- Add action_update_list_price to compute theoretical price before updating
- Add 3 new tests for purchase price validation and zero price handling
- Fix _compute_price_rule to handle multiple tax amounts correctly
2026-02-11 01:57:54 +01:00
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
snt
1bcc31b810 [ADD] product_sale_price_from_pricelist: módulo para calcular precio de venta desde tarifa 2026-02-11 00:34:05 +01:00
26dbe222dd add READMEs 2025-12-19 09:22:33 +01:00
d43991240a product_sale_price_from_pricelist: remove redundant filter 2025-12-19 09:22:00 +01:00
d5342c73fb product_sale_price_from_pricelist: support uom_po_id != uom_id 2025-12-11 13:50:29 +01:00
7df39dbda8 product_sale_price_from_pricelist: don't update list_price when last_purchase_price_compute_type == manual_update. Add fields to tree product view 2025-11-28 09:46:37 +01:00
93ccb20a17 product_sale_price_from_pricelist: add filter for products that need to update sale price 2025-09-17 12:06:42 +02:00
c17ceb75a3 LaOsaCoop/Odoo16#66 product_sale_price_from_pricelist: fix discounts computation 2025-08-02 09:33:39 +02:00
dafaaf9139 product_sale_price_from_pricelist: round up or down 2025-07-22 13:39:47 +02:00
bf582e5081 LaOsaCoop/Odoo16#6 product_sale_price_from_pricelist: raise an error when no taxes configured in product 2025-07-10 14:12:44 +02:00
80cc00c873 LaOsaCoop/Odoo16#52 fix product_sale_price_from_pricelist to include taxes in final price 2025-07-10 11:18:54 +02:00
eaec1c6b38 product_sale_price_from_pricelist modify product view 2025-07-09 18:44:44 +02:00
9c49ea7ac0 product_sale_price_from_pricelist: fix tranlations 2025-07-09 17:57:10 +02:00
cccd802e45 LaOsaCoop/Odoo16#6 fix product_sale_price_from_pricelist 2025-07-09 17:28:28 +02:00
3ba962653d product_sale_price_from_pricelist: rename field to fix conflict with OCA/purchase_last_price_info 2025-02-05 12:56:02 +01:00
188f32a052 add product_sale_price_from_pricelist 2025-02-04 21:15:51 +01:00