Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034477Retail ModulesWeb POSpublic2016-11-11 14:572016-11-11 14:58
plujan 
Retail 
normalminorhave not tried
newopen 
5
main 
 
No
0034477: [RR16Q4] When splitting lines, any field left blank it is counted as 1 creating wrong quantities
When splitting lines, if a line has its quantity in blank, it is counted as zero within the pop up, but it is counted as one in the ticket. See steps.
1. Create a new ticket by adding a product with quantity 100
2. Edit the product and click split to open the pop up
3. Two lines with qty of 50 are shown by default. Click the text box to edit the number and write a non-numerical value (i.e. any letter)
4. Check the value is erased since it is non valid. Repèat the same with the other field.
5. Now you have Original Quantity of 100, Split Quantity of 0 and Difference of 100.
6. Add a new line. Check the blank values remain blank and that a new line of 100 qty is added.
7. Since difference is now 0, the Apply button is available. Click it.
8. Three lines are created, one of 101, one of 1 and one of 100 for a total of 202 products (remember the original line was 100 qty)
When the value is changed to zero, the qty of the line is replaced with a one. So one seems to be the default value. The solution for this issue should be to replace any non valid value by a one.
No tags attached.
related to defect 0034314 closed jorge-garcia [RR16Q4] Not a number message is shown in Split lines pop up 
Issue History
2016-11-11 14:57plujanNew Issue
2016-11-11 14:57plujanAssigned To => Retail
2016-11-11 14:57plujanTriggers an Emergency Pack => No
2016-11-11 14:58plujanRelationship addedrelated to 0034314

There are no notes attached to this issue.