Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035314Openbravo ERP03. Procurement managementpublic2017-02-21 04:592018-03-14 20:33
pradeepvarma 
markmm82 
normalminoralways
scheduledopen 
5
 
 
Core
No
0035314: Qty field in requisition lines does not allow to set 0.x value
While creating a requisition, if the user tries to enter a quantity value between 0 to 1 and tries to save the record an error message is throw saying "Saving failed. One or more fields contain illegal values, check the errors for each field".
I would say that this is wrong, as user should be able to set 0.x qty.
What was notice is that in the AD, the qty column has a min value set to 1.
If this value is removed , then the user is able to set o.x qty and save the lines.
1. Login to any livebuild instance as F&B International Group admin.
2. Navigate to Requisition window.
3. Create a header record and save
4. Now insert a line for the same, select any product and enter the qty as 0.x (a value between 0 to 1) and save the record.
5. Notice the error message being display "Saving failed. One or more fields contain illegal values, check the errors for each field." (PFA the screenshot of the same)
No tags attached.
related to defect 0009135 closed harikrishnan A requisition can be created with quantity 0 
png issue_45595.png (191,951) 2017-02-21 04:59
https://issues.openbravo.com/file_download.php?file_id=10469&type=bug
png
Issue History
2017-02-21 04:59pradeepvarmaNew Issue
2017-02-21 04:59pradeepvarmaAssigned To => Triage Finance
2017-02-21 04:59pradeepvarmaFile Added: issue_45595.png
2017-02-21 04:59pradeepvarmaModules => Core
2017-02-21 04:59pradeepvarmaTriggers an Emergency Pack => No
2018-02-13 14:43ngarciaIssue Monitored: networkb
2018-02-13 14:43ngarciaIssue Monitored: ngarcia
2018-02-13 14:43ngarciaRelationship addedrelated to 0009135
2018-03-14 17:41markmm82Assigned ToTriage Finance => markmm82
2018-03-14 17:44markmm82Statusnew => scheduled
2018-03-14 19:48markmm82Note Added: 0103257
2018-03-14 20:33markmm82Note Added: 0103258

Notes
(0103257)
markmm82   
2018-03-14 19:48   
Test Plan:
As Group Admin
   Go to Requisition window and create a new one.
   Create a new line. Select any product and enter the qty as a value between 0 to 1, for instance 0.6 and save the record.
   Notice the line is saved successfully.
(0103258)
markmm82   
2018-03-14 20:33   
Test pLan for issue 9135:
  Create a new requisition, move to lines and enter 0 as quantity. Save.
    Notice an error message is shown.
  Change to a negative value and notice the same error.
  Change to a value between 0 and 1, always greater or equal than 0.01, notice
  the line can be saved. If you change to other positive value you will be
  able to save the line too.