Project

General

Profile

Edit Copy Actions

Bug #7741

open

sales return issue in creation time

Added by Pavan Kumar Murala 29 days ago. Updated 29 days ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
02/16/2026
Due date:
02/16/2026 (29 days late)
% Done:

100%

Estimated time:
3:00 h
Spent time:
Tested Date:
02/16/2026
Raised by Tester:
Mahananda Sai
Page/ Module (POS):
Sales Return

Add

Subtasks


Add

Related issues

Actions #1

Updated by Pavan Kumar Murala 29 days ago

  • Status changed from New to In Progress

Updated by Pavan Kumar Murala 29 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
  • Estimated time changed from 1:00 h to 3:00 h

I identified an issue in the frontend where the default SR value was causing errors. To fix this, I implemented a useEffect that automatically focuses on the input field once the Sale Return is created.

I have implemented two ways of sending SR:

Sending SR- format

Sending without SR- (only number input) — this is useful for barcode scanner usage.

Both approaches are working correctly on the frontend, and the creation flow is functioning properly.

However, there is an issue from the backend side. Some recent backend code changes are causing errors during Sale Return creation. I informed the group and mentioned the issue to Ruban, but he is currently unavailable for this project. I reviewed the backend changes and resolved the Sale Return creation issue.

Also, another change was made in validation where Sale Return status was set to true before creation. I updated this logic so that it becomes true only after successful creation, and this change has been implemented on the Sale Return page.

Edit Copy Actions

Also available in: Atom PDF