Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049913Retail ModulesWeb POSpublic2022-07-29 13:232022-10-13 16:40
ucarrion 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR22Q4 
marvintm
No
0049913: Unexpected quantity to return for a "as per product" service scenario
Whenever I'm returning a qty less than total for a product affected by a service "linked to product" with a qty rule "as per product", the service qty to return is not automatically adapted to the product qty to return. See the video below.
AUDIO EN + VIDEO
https://watch.screencastify.com/v/2lQOWPAqBgQQeVSy7Mqg [^]
From the functional perspective, I think the service qty to return should fit the qty of the affected/related product. That is to say, in my example, I expected to return 2 qty of the service and not 4.
NOR
related to defect 0049735 closed ranjith_qualiantech_com I should not be able to sell a "linked to product" item alone 
png Mantis_49913.png (529,507) 2022-07-29 13:25
https://issues.openbravo.com/file_download.php?file_id=17356&type=bug
png ErrorReturnService.png (822,055) 2022-10-12 10:15
https://issues.openbravo.com/file_download.php?file_id=17630&type=bug
Issue History
2022-07-29 13:23ucarrionNew Issue
2022-07-29 13:23ucarrionAssigned To => Retail
2022-07-29 13:23ucarrionTriggers an Emergency Pack => No
2022-07-29 13:23ucarrionSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24568#r24568
2022-07-29 13:23ucarrionRelationship addedrelated to 0049735
2022-07-29 13:24ucarrionTag Attached: NOR
2022-07-29 13:25ucarrionFile Added: Mantis_49913.png
2022-07-29 13:40ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-07-31 18:09ranjith_qualiantech_comStatusnew => scheduled
2022-08-09 08:15hgbotNote Added: 0139984
2022-08-09 08:15hgbotNote Added: 0139985
2022-08-09 08:15hgbotNote Added: 0139986
2022-08-10 10:30ucarrionIssue Monitored: sebastien_liron
2022-08-15 08:48hgbotNote Added: 0140116
2022-08-15 08:48hgbotNote Added: 0140117
2022-08-15 08:48hgbotResolutionopen => fixed
2022-08-15 08:48hgbotStatusscheduled => closed
2022-08-15 08:48hgbotNote Added: 0140118
2022-08-15 08:48hgbotFixed in Version => RR22Q4
2022-08-15 08:48hgbotNote Added: 0140119
2022-08-15 08:48hgbotNote Added: 0140120
2022-08-15 08:48hgbotNote Added: 0140121
2022-10-12 10:14remibrunetNote Added: 0141988
2022-10-12 10:15remibrunetFile Added: ErrorReturnService.png
2022-10-13 10:00remibrunetStatusclosed => new
2022-10-13 15:11ranjith_qualiantech_comStatusnew => scheduled
2022-10-13 16:22marvintmNote Added: 0142034
2022-10-13 16:22marvintmStatusscheduled => resolved
2022-10-13 16:22marvintmReview Assigned To => marvintm
2022-10-13 16:22marvintmStatusresolved => closed
2022-10-13 16:40ucarrionIssue Monitored: remibrunet

Notes
(0139984)
hgbot   
2022-08-09 08:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/891 [^]
(0139985)
hgbot   
2022-08-09 08:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/39 [^]
(0139986)
hgbot   
2022-08-09 08:15   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/220 [^]
(0140116)
hgbot   
2022-08-15 08:48   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: da765b7367a3e3aab79e3542059efb1fc018ead9
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 15-08-2022 06:47:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/da765b7367a3e3aab79e3542059efb1fc018ead9 [^]

Related to ISSUE-49913: Added Product properties in PaidReceiptLine Properties

---
M src/org/openbravo/retail/posterminal/PaidReceiptLinesProperties.java
---
(0140117)
hgbot   
2022-08-15 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/891 [^]
(0140118)
hgbot   
2022-08-15 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/39 [^]
(0140119)
hgbot   
2022-08-15 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 9a22331bc7932280a9e1f57ebbb7eaeaced884d5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 09-08-2022 11:41:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/9a22331bc7932280a9e1f57ebbb7eaeaced884d5 [^]

Fixed ISSUE-49913: Service Product can be selected in Verified Returns popup
* In Verified returns popup, when selecting Service Product, its quantity
  should be validated with Related product and vice versa

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-test/model/business-object/ticket/actions/ReturnVerifiedTicket-actionPreparation.test.js
M web/org.openbravo.retail.returns/app/model/business-object/ticket/actions/ReturnVerifiedTicket.js
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0140120)
hgbot   
2022-08-15 08:48   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: a1a22ff2adbead943d65cc139af05e7b440b2ebb
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 15-08-2022 06:48:06
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/a1a22ff2adbead943d65cc139af05e7b440b2ebb [^]

Verifies ISSUE-49913: Ignored VerifiedReturn Automated tests

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/ModifyTaxInReturns.java
---
(0140121)
hgbot   
2022-08-15 08:48   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/220 [^]
(0141988)
remibrunet   
2022-10-12 10:14   
An issue occur since the dev.
In a ticket with a product A without service, and a product B with a service B1. If you try to return the product A, an error happen "Related product should be selected when selecting the product service 'B1'

How to reproduce :
Do a ticket with product A, B linked with B1
Do a verified return
Select Product A
Select a reason
The error pop


(0142034)
marvintm   
2022-10-13 16:22   
No need for any further change, as the fix here is correct, we were only missing some changes in the back port created for the customer.