Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052192Retail ModulesReturn Receiptpublic2023-04-20 19:422023-07-24 07:37
sofidossant 
ranjith_qualiantech_com 
highmajoralways
closedno change required 
5
pi 
 
No
0052192: EWI org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Posets Store - EUR - PS1/0000001 - 20-04-2023 - OHS Cust
When I want to do a verify return of a cross store sale, and the lines are already returned, but I still put apply, it assigns me the customer, I go ahead and make a sale, and the next ewi is generated:

org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Posets Store - EUR - PS1/0000001 - 20-04-2023 - OHS Customer - 4 - 0 - 80 (FIN_Finacc_Transaction) with organization Posets Store references an entity OHS Customer through its property FIN_Finacc_Transaction.businessPartner but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Posets Store
    at org.openbravo.dal.core.OBInterceptor.checkReferencedOrganizations(OBInterceptor.java:316)
1) Open terminal
2) Search a verificate return
3) Filter for store, and search a order for a another organization(cross store).
4) The lines were returned.
5) Put applied and the customer is asigned.
6) do a sales order.
7) Check the backoffice and we can see the following ewi:

org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Posets Store - EUR - PS1/0000001 - 20-04-2023 - OHS Customer - 4 - 0 - 80 (FIN_Finacc_Transaction) with organization Posets Store references an entity OHS Customer through its property FIN_Finacc_Transaction.businessPartner but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Posets Store
No tags attached.
related to defect 0051588 closed ranjith_qualiantech_com Retail Modules Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted 
related to defect 0052266 closed javierRodriguez POS2 Error if the user tries to do a verify return without select any line 
depends on backport 0053031RR23Q2.3 closed ranjith_qualiantech_com Retail Modules EWI org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Posets Store - EUR - PS1/0000001 - 20-04-2023 - OHS Cust 
depends on backport 0053032RR23Q1.4 closed ranjith_qualiantech_com Retail Modules EWI org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Posets Store - EUR - PS1/0000001 - 20-04-2023 - OHS Cust 
has duplicate defect 0052453 closed Retail POS2 Selection of a product already fully returned should not be possible 
Issue History
2023-04-20 19:42sofidossantNew Issue
2023-04-20 19:42sofidossantAssigned To => Retail
2023-04-20 19:42sofidossantTriggers an Emergency Pack => No
2023-04-21 10:01ngarciaRelationship addedrelated to 0051588
2023-04-25 15:28ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-04-25 15:28ranjith_qualiantech_comStatusnew => scheduled
2023-04-27 09:38hgbotNote Added: 0148981
2023-04-27 09:38hgbotNote Added: 0148982
2023-05-09 08:31ranjith_qualiantech_comRelationship addedrelated to 0052266
2023-05-16 13:40sofidossantNote Added: 0149826
2023-05-22 07:29hgbotResolutionopen => fixed
2023-05-22 07:29hgbotStatusscheduled => closed
2023-05-22 07:29hgbotNote Added: 0150016
2023-05-22 07:29hgbotFixed in Version => RR23Q3
2023-05-22 07:29hgbotNote Added: 0150017
2023-05-22 07:29hgbotNote Added: 0150018
2023-05-22 07:29hgbotNote Added: 0150019
2023-05-22 11:24adrianromeroRelationship addedduplicate of 0052453
2023-05-22 11:24adrianromeroRelationship deleted0052453
2023-05-22 11:24adrianromeroRelationship addedhas duplicate 0052453
2023-07-21 14:27ranjith_qualiantech_comNote Added: 0152800
2023-07-21 14:27ranjith_qualiantech_comStatusclosed => new
2023-07-21 14:27ranjith_qualiantech_comResolutionfixed => open
2023-07-21 14:27ranjith_qualiantech_comFixed in VersionRR23Q3 =>
2023-07-24 07:37ranjith_qualiantech_comStatusnew => scheduled
2023-07-24 07:37ranjith_qualiantech_comStatusscheduled => closed
2023-07-24 07:37ranjith_qualiantech_comResolutionopen => no change required

Notes
(0148981)
hgbot   
2023-04-27 09:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/53 [^]
(0148982)
hgbot   
2023-04-27 09:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1733 [^]
(0149826)
sofidossant   
2023-05-16 13:40   
any comments?
(0150016)
hgbot   
2023-05-22 07:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/53 [^]
(0150017)
hgbot   
2023-05-22 07:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 8648a5a7868c9604da535281534978726e7ccf0c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 26-04-2023 14:28:05
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/8648a5a7868c9604da535281534978726e7ccf0c [^]

Fixed ISSUE-52192: VR Popup Apply should be enabled if atleast one line is selected

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0150018)
hgbot   
2023-05-22 07:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1733 [^]
(0150019)
hgbot   
2023-05-22 07:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 337099221228b1566e811a586f07ea03cd867f6d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 22-05-2023 05:25:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/337099221228b1566e811a586f07ea03cd867f6d [^]

Related to ISSUE-52192: VR details should not updated if line is not selected
* VR line check box should be disabled if remaining qty is zero

---
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsForm/VerifiedReturnsForm.jsx
M web-jspack/org.openbravo.pos2/src/components/VerifiedReturns/VerifiedReturnsGrid/VerifiedReturnsGridCheckBox.jsx
---
(0152800)
ranjith_qualiantech_com   
2023-07-21 14:27   
Reopening for creating backports