-
- Downloads
[IMP] stock: getting quants methods refactor
The methods for getting the quants took a lot of parameters, as in most of the cases (only exception being the negative quants reconcile) the parameters depended on the move/pack operation being processed. By just passing the move and ops the code gets simpler. There should also only be one place where most of the domain for searching the quants based on the move/ops is calculated.
Showing
- addons/account/tests/test_fiscal_position.py 1 addition, 1 deletionaddons/account/tests/test_fiscal_position.py
- addons/mrp/mrp.py 2 additions, 2 deletionsaddons/mrp/mrp.py
- addons/product_expiry/product_expiry.py 4 additions, 3 deletionsaddons/product_expiry/product_expiry.py
- addons/stock/stock.py 98 additions, 88 deletionsaddons/stock/stock.py
Loading
Please register or sign in to comment