Files
odoo_source/addons/stock_account
Ahmed Khalaf eccf8ab4e5 [FIX] stock_account, purchase_stock: bill price change fix
Before this commit, if a user creates a bill from a PO and confirms it.
A stock valuation layer is created. if the user sets the bill to drafts and changes
the product price. a new layer corrects the difference. if the user does
it again, the new layer ignores the previous correction layers, resulting in
wrong valuation.

This commit hides the 'Reset to Draft' button when there are correction layers
found.

closes odoo/odoo#103347

X-original-commit: d3d41c7679f9068a7b986925b15d0d7670233bfc
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2022-11-07 10:06:18 +01:00
..
…
2022-09-20 13:48:49 +02:00