Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] I got error when create a new Procurement but the data was saved #1846

Closed
candrasaputra opened this issue Apr 7, 2024 · 3 comments
Closed
Assignees

Comments

@candrasaputra
Copy link

candrasaputra commented Apr 7, 2024

Describe the bug
Replace this section with a clear description of your issue.

To Reproduce

  1. go to New Procurement
  2. Input Procurement Name and all detail
  3. Open products tab
  4. Add a product
  5. Choose tax
  6. Don't choose convert. (i don't want convert the unit)
  7. You will see an error. the error message is like this: The source and the destination unit can't be the same. What are you trying to do ?
  8. Go to Procurement Products List. (Even you got error, the data successfully saved)

Expected behavior

  1. Is it possible to create a new Procurement without convert the unit?
  2. if it not possible so, saving data should be failed because i got an error.

Screenshots
Screenshot 2024-04-08 at 02 12 30
Screenshot 2024-04-08 at 02 12 44

Environment:

  • NexoPOS vesrion: v5.2.1
  • Premium Extensions: N/A
@Blair2004
Copy link
Owner

Hi,
thank you for reporting. We're checking this out.

@Blair2004 Blair2004 self-assigned this Apr 8, 2024
@Blair2004
Copy link
Owner

Hi, can you consider sharing how the product is configured ? If you can provide a screenshot of the unit part (while editing the product).

@Blair2004
Copy link
Owner

This issue is caused by the assignation of the same unit to the product unit and the conversion unit.

screenshot-nimbusweb me-2024 04 08-18_59_31

Make sure both are different. NexoPOS will prevent this in v5.2.2

Blair2004 added a commit that referenced this issue Apr 8, 2024
- Refactored: Crud files
- Updated: Prevent same unit and conversion unit to be assigned #1846
- Updated: CrudInput & CrudTable
- Fixed: password update issue
- Refactoring; Settings files
- Added: support for optionAttributes
- Added: support for custom column width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants