Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051381
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajoralways2023-01-16 16:572023-01-20 10:32
Reporterdorian_robillardView Statuspublic 
Assigned Tomontse_cabanas 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051381: For a user non admin, impossible to do a cross store return if the role of the user doesn't have the original organisation

DescriptionFor a user non admin, impossible to do a cross store return if the role of the user doesn't have the original organisation filled in the org access tab
Steps To Reproduce1) In livebuild put the white valley spain as cross store organidation for Poste store and Vall blanca store
add the user action access : Return verified return for Vall blanca manual role

2) Connect to VBS-2 as Vallblanca
3) Change the role in POS "Vall blanca manual"
4) Go to the order list and seach for PS1/00001
5) Do a verified return on this order

A message is displayed : Tax is not found for the Product
Proposed SolutionA retunr can be done by a user eveni if its role doesn't have access to the original organisation
TagsNo tags attached.
Attached Filespng file icon Cross return.png [^] (133,582 bytes) 2023-01-16 16:57

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0145539)
hgbot (developer)
2023-01-18 10:58

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1037 [^]
(0145684)
hgbot (developer)
2023-01-20 10:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1037 [^]
(0145685)
hgbot (developer)
2023-01-20 10:32

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f2fa5832cd5d3387e6d9ef886ddaa9dbe359377b
Author: Montserrat CabaƱas <montserrat.cabanas@openbravo.com>
Date: 20-01-2023 09:32:52
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f2fa5832cd5d3387e6d9ef886ddaa9dbe359377b [^]

Fixes ISSUE-51381: Avoid tax not found for product error when doing a cross store return

With some roles it is not possible to make Verified returns, it gives error "Tax not found for product ...".
Remove organization filter when loading original order taxes and discounts as the query is already filtering by order line id.

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---

- Issue History
Date Modified Username Field Change
2023-01-16 16:57 dorian_robillard New Issue
2023-01-16 16:57 dorian_robillard Assigned To => Triage Platform Base
2023-01-16 16:57 dorian_robillard File Added: Cross return.png
2023-01-16 16:57 dorian_robillard Triggers an Emergency Pack => No
2023-01-17 09:03 aferraz Assigned To Triage Platform Base => montse_cabanas
2023-01-18 10:58 hgbot Note Added: 0145539
2023-01-20 10:32 hgbot Note Added: 0145684
2023-01-20 10:32 hgbot Resolution open => fixed
2023-01-20 10:32 hgbot Status new => closed
2023-01-20 10:32 hgbot Fixed in Version => RR23Q2
2023-01-20 10:32 hgbot Note Added: 0145685


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker