svininykh / openbravoposru

Automatically exported from code.google.com/p/openbravoposru
0 stars 0 forks source link

Bug in Script.StockCurrentSet.txt with mysql #248

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use MySQL database (only bug with mysql database)
2. Sell items, and you can sell more items than you have in stock

Please provide any additional information below.
To fix this bug, you need to do next change:
"if (line.getProductAttSetId() == null) {" to "if (line.getProductAttSetId() != 
null) {"

Original issue reported on code.google.com by r...@binotel.com on 31 Dec 2013 at 3:50

GoogleCodeExporter commented 9 years ago
Sorry, I made mistake in subject.
File with bug is Script.StockCurrentAdd.txt 
(https://code.google.com/p/openbravoposru/source/browse/src-pos/com/openbravo/po
s/templates/Script.StockCurrentAdd.txt)

Original comment by r...@binotel.com on 31 Dec 2013 at 5:08