A recurring issue with the grid functionality needs attention. The error message, "Itemcode Row3 can't be left empty," appears on the line immediately following the last row in the grid. For example, if one row is present, the error displays on the second line; with two rows, it appears on the third line, and so on. This problem affects multiple screens, not just one. Screenshots are attached for reference.
Please investigate this issue and provide guidance on how to resolve it.
Steps to Reproduce:
1. Navigate to the Stock Adjustments screen.
2. Use the fillgrid in dc2.
3. Submit the form.
4. Observe the error that appears.