Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
77e8d638 by Cédric Krier at 2023-08-17T16:30:28+02:00
Use absolute quantity to compute sale price

Closes #12496
- - - - -
556bbae6 by Cédric Krier at 2023-08-17T17:57:32+02:00
Round price returned by get_sale_price
- - - - -
b682ddfc by Cédric Krier at 2023-08-17T17:57:11+02:00
Round price returned by get_purchase_price
- - - - -
192c630c by Cédric Krier at 2023-08-17T16:13:40+02:00
Set only once date when computing purchase and sale prices
- - - - -
37904a6a by Cédric Krier at 2023-08-17T16:16:17+02:00
Keep the existing purchase price if the price from the product is empty
- - - - -
fc3d5375 by Cédric Krier at 2023-08-17T16:16:56+02:00
Ensure to always have a unit price on purchase line created from request
- - - - -
f71e3a79 by Cédric Krier at 2023-08-17T16:18:21+02:00
Order by descending id to get the last 10 purchases

Closes #12497
- - - - -
2f25450e by Cédric Krier at 2023-08-17T16:26:09+02:00
Use price from last purchase as product price

The cost price is not really relevant as purchase price because it may include
extra cost like landed cost.

Closes #12494
- - - - -


16 changed files:

- modules/purchase/CHANGELOG
- modules/purchase/product.py
- modules/purchase/purchase.py
- modules/purchase/tests/scenario_purchase.rst
- modules/purchase/tests/scenario_purchase_manual_invoice.rst
- modules/purchase/tests/scenario_purchase_modify_header.rst
- modules/purchase/tests/scenario_purchase_reporting.rst
- modules/purchase/tests/scenario_purchase_return_wizard.rst
- modules/purchase/tests/test_module.py
- modules/purchase_request/purchase_request.py
- modules/sale/product.py
- modules/sale/sale.py
- modules/sale/tests/test_module.py
- modules/sale_subscription/subscription.py
- modules/stock_consignment/stock.py
- modules/stock_consignment/tests/scenario_stock_consignment.rst


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/3a7d0ad53e702e0420d163be56315812efc59fa4...2f25450e11f6b3e0ce35c46be2ebc5570f00d4ef

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/3a7d0ad53e702e0420d163be56315812efc59fa4...2f25450e11f6b3e0ce35c46be2ebc5570f00d4ef
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to