test_11_getPriceWithDestinationSection was failing randomly, because it was
testing that a supply line where no destination section was defined only applies to context where no destination section is defined. This is not the case, supply lines with no destination section defined applies regardless of the context's destination section. ( In Movement.getPrice, there is code to give priority to sales supply lines defining destination section in the case of sales, and this is tested in test_12_getInternalVsPurchaseVsSalePrice ) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31711 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment