Subject |
[IMP] Add test: Add unit test for stock_account_ux This commit introduces a unit test for the stock_account_ux module to ensure that the allow_move_with_valuation_cancelation flag behaves as expected. The test simulates the full flow of a purchase order with a FIFO product: confirming the order, validating the picking, creating and posting the vendor bill, modifying the price unit to trigger valuation changes, and finally asserting that the bill allows move cancellation with valuation layers. |