Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040960 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Gift cards and gift vouchers | major | have not tried | 2019-05-28 14:40 | 2019-07-11 12:49 | |||
Reporter | ucarrion | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040960: Server error when trying to reimburse a credit note created in a different organization | |||||||
Description | A server error raises when trying to reimburse a credit note created in a different organization. e.g.- 2019-05-28 14:29:20,161 [Import Entry - 1] ERROR org.openbravo.retail.posterminal.POSDataSynchronizationErrorHandler - An error happened when processing a record: org.openbravo.base.exception.OBSecurityException: Entity 84B9188D078740A9A9BAA91E8B88DC67 - Cash - Gift Card - Reimburse (OBPOS_Paymentcashup_Events) with organization Yosemite Store references an entity Credit Note - PS - EUR - PS1000001 - 28-05-2019 - PS Customer - 93.75 - 0 - 20 through its property OBPOS_Paymentcashup_Events.relatedTransaction but this referenced entity belongs to an organization Posets Store which is not part of the natural tree of Yosemite Store at org.openbravo.dal.core.OBInterceptor.checkReferencedOrganizations(OBInterceptor.java:316) | |||||||
Steps To Reproduce | 1. Create a credit note in an store 2. Check in backend that the credit note has been created 3. Login a different store and go to cash management 4. Press reimburse 5. Select the credit note created previously 6. In the popup press 'Apply' | |||||||
Proposed Solution | Add a setAdminMode(false) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0113181) hgbot (developer) 2019-07-04 13:22 |
Repository: erp/pmods/org.openbravo.retail.giftcards Changeset: 06f9deb499c8510307437f376722263cc83b2ead Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Jul 04 16:52:34 2019 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/06f9deb499c8510307437f376722263cc83b2ead [^] Related to issue 40960 : Reimburse Payment should be created with payment method when reimbursing credit note * When reimbursing credit note, Reimburse Payment should be created with the selected payment method in cash management --- M src/org/openbravo/retail/giftcards/CloseGiftCard.java M src/org/openbravo/retail/giftcards/hooks/ProcessCashMgmtHookGiftCard.java M src/org/openbravo/retail/giftcards/process/GiftCardGLItemUtils.java M web/org.openbravo.retail.giftcards/js/hooks/preSaveCashManagementsHook.js --- |
(0113183) hgbot (developer) 2019-07-04 15:50 |
Repository: tools/automation/pi-mobile Changeset: 1c9753da4c387edf7498481450e7c6196041fa9c Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Thu Jul 04 19:19:52 2019 +0530 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1c9753da4c387edf7498481450e7c6196041fa9c [^] Verifies issue 40960 : Added Automated Test 'I40960_VerifyCreditNoteReimburseInCrossStore' --- M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/CreditNoteAddRemoveTransaction.java M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/CreditNoteReimburse.java A src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/I40960_VerifyCreditNoteReimburseInCrossStore.java --- |
(0113272) hgbot (developer) 2019-07-11 12:49 |
Repository: retail/backports/3.0RR19Q3/pi-mobile Changeset: 60207e436967193947a1ae2fa20f8494acc4b962 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Jul 11 12:48:39 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q3/pi-mobile/rev/60207e436967193947a1ae2fa20f8494acc4b962 [^] Related to issue 40960 : Reimburse Payment should be created with payment method when reimbursing credit note * When reimbursing credit note, Reimburse Payment should be created with the selected payment method in cash management --- M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/creditnote/CreditNoteAddRemoveTransaction.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2019-05-28 14:40 | ucarrion | New Issue | |
2019-05-28 14:40 | ucarrion | Assigned To | => Retail |
2019-05-28 14:40 | ucarrion | Resolution time | => 1560808800 |
2019-05-28 14:40 | ucarrion | Triggers an Emergency Pack | => No |
2019-05-28 14:44 | guillermogil | Description Updated | View Revisions |
2019-05-28 14:44 | guillermogil | Proposed Solution updated | |
2019-06-04 09:46 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-06-04 09:50 | ranjith_qualiantech_com | Status | new => scheduled |
2019-06-07 11:50 | barbararoncato | Relationship added | related to 0041052 |
2019-07-04 13:22 | hgbot | Checkin | |
2019-07-04 13:22 | hgbot | Note Added: 0113181 | |
2019-07-04 15:50 | hgbot | Checkin | |
2019-07-04 15:50 | hgbot | Note Added: 0113183 | |
2019-07-04 17:44 | ranjith_qualiantech_com | Status | scheduled => resolved |
2019-07-04 17:44 | ranjith_qualiantech_com | Resolution | open => fixed |
2019-07-05 13:27 | marvintm | Review Assigned To | => marvintm |
2019-07-05 13:27 | marvintm | Status | resolved => closed |
2019-07-05 13:27 | marvintm | Fixed in Version | => RR19Q4 |
2019-07-11 12:49 | hgbot | Checkin | |
2019-07-11 12:49 | hgbot | Note Added: 0113272 | |
2019-07-29 07:33 | ranjith_qualiantech_com | Relationship added | causes 0041464 |
Copyright © 2000 - 2009 MantisBT Group |