definir PMP pour les sorties de stock / sophal interne
This commit is contained in:
@@ -804,7 +804,7 @@ public class StockMoveLineServiceImpl implements StockMoveLineService {
|
|||||||
if(stockMoveLine.getProduct().getSellable() == true){
|
if(stockMoveLine.getProduct().getSellable() == true){
|
||||||
unitPriceUntaxed = stockMoveLine.getProduct().getSalePrice();
|
unitPriceUntaxed = stockMoveLine.getProduct().getSalePrice();
|
||||||
}else{
|
}else{
|
||||||
unitPriceUntaxed = stockMoveLine.getProduct().getPurchasePrice();
|
unitPriceUntaxed = stockMoveLine.getProduct().getAvgPrice();
|
||||||
}
|
}
|
||||||
} else if (stockMove.getTypeSelect() == StockMoveRepository.TYPE_INCOMING) {
|
} else if (stockMove.getTypeSelect() == StockMoveRepository.TYPE_INCOMING) {
|
||||||
unitPriceUntaxed = stockMoveLine.getProduct().getPurchasePrice();
|
unitPriceUntaxed = stockMoveLine.getProduct().getPurchasePrice();
|
||||||
|
|||||||
Reference in New Issue
Block a user