Module
stock_request
Bug Description
- When creating a new stock request, the Expected date is always today, ignoring the date entered by the user
- When duplicating a stock request, the value of the expected_date field (which is required) is not passed to the create method, resulting in a validation error
To Reproduce
Affected versions: 16.0, 17.0, 18.0
Steps to reproduce the behavior of bug 1:
- Click New
- Specify an expected date other than today, and any other required fields
- Save the new stock request
Steps to reproduce the behavior of bug 2:
- Open an existing stock request
- Click Action -> Duplicate
Expected behavior
- New stock request should have the expected date as specified
- Stock request should duplicate without validation error