Monday, August 26, 2024
1 change · 17.0
Code cleanup and technical improvements
This update reorganizes how stock valuation records are prepared before they are created. It makes the stock accounting code easier for custom modules to adapt, with no expected change to day-to-day user workflows.
Original PR description
Refactor the `_create_out_svl` and `_create_dropshipped_svl` methods in the `stok.move` model to separate the vals list generation from the `create` call. These new methods facilitate overwrites in custom modules. This split is already present for the `_create_in_svl` method.