Christian Carlow created OFBIZ-5563:
---------------------------------------
Summary: Cannot delete production run task materials when only one
material record exists for first task
Key: OFBIZ-5563
URL: https://issues.apache.org/jira/browse/OFBIZ-5563
Project: OFBiz
Issue Type: Bug
Affects Versions: SVN trunk
Reporter: Christian Carlow
Priority: Minor
When accessing a production run "Materials" tab before confirmation, materials
associated with other tasks besides the first are not able to be deleted if the
first task contains only 1 material assignment. Therefore a bogus material
record must be created for the first task in order to gain the delete
functionality of the other tasks material associations.
To reproduce:
1. Create a production run for PIZZA
2. Click on the "Materials" tab
3. Assign any product at any quantity as material for the first task and
second task
4. Try to delete the second tasks material record
5. Notice nothing happens when clicking the delete button. This is because
the javascript:submitFormDisableSubmits(this) is preventing submission based on
some rules
--
This message was sent by Atlassian JIRA
(v6.2#6252)