Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049735Retail ModulesWeb POSpublic2022-07-05 14:572022-09-09 08:15
ucarrion 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR22Q4 
No
0049735: I should not be able to sell a "linked to product" item alone
If I try to do a simple sale including a single line related to an item marked as "linked to product" in the backoffice, I am able when I should not.
Video livebuilds: https://watch.screencastify.com/v/2uG3O26PkdhLYIokkgir [^]
I should never be able to add an item that is marked as "linked to product" if no related product is not added yet.
NOR
related to defect 0049913 closed ranjith_qualiantech_com Unexpected quantity to return for a "as per product" service scenario 
png image_2022_07_04T10_57_44_621Z.png (179,683) 2022-07-05 14:57
https://issues.openbravo.com/file_download.php?file_id=17278&type=bug
png
Issue History
2022-07-05 14:57ucarrionNew Issue
2022-07-05 14:57ucarrionAssigned To => ucarrion
2022-07-05 14:57ucarrionTriggers an Emergency Pack => No
2022-07-05 14:57ucarrionFile Added: image_2022_07_04T10_57_44_621Z.png
2022-07-05 14:57ucarrionAssigned Toucarrion => Retail
2022-07-05 15:01rafarodaTag Attached: NOR
2022-07-07 08:44ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-07-07 09:21ranjith_qualiantech_comStatusnew => scheduled
2022-07-07 09:52sebastien_lironIssue Monitored: sebastien_liron
2022-07-07 12:43rafarodaTypedefect => design defect
2022-07-13 15:11ucarrionSummaryNot able to sell a "linked to product" item alone => I should not be able to sell a "linked to product" item alone
2022-07-13 15:11ucarrionDescription Updatedbug_revision_view_page.php?rev_id=24477#r24477
2022-07-13 15:11ucarrionSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=24479#r24479
2022-07-13 15:11ucarrionProposed Solution updated
2022-07-26 09:49hgbotNote Added: 0139603
2022-07-29 13:23ucarrionRelationship addedrelated to 0049913
2022-09-04 08:42marvintmTypedesign defect => defect
2022-09-04 08:42hgbotResolutionopen => fixed
2022-09-04 08:42hgbotStatusscheduled => closed
2022-09-04 08:42hgbotFixed in Version => RR22Q4
2022-09-04 08:42hgbotNote Added: 0140642
2022-09-04 08:42hgbotNote Added: 0140643
2022-09-05 11:16cbernerNote Added: 0140701
2022-09-05 11:16cbernerStatusclosed => new
2022-09-05 11:16cbernerResolutionfixed => open
2022-09-05 11:16cbernerFixed in VersionRR22Q4 =>
2022-09-05 11:24hgbotNote Added: 0140703
2022-09-05 12:49ranjith_qualiantech_comStatusnew => scheduled
2022-09-07 10:41hgbotNote Added: 0140781
2022-09-09 08:15hgbotResolutionopen => fixed
2022-09-09 08:15hgbotStatusscheduled => closed
2022-09-09 08:15hgbotFixed in Version => RR22Q4
2022-09-09 08:15hgbotNote Added: 0140882
2022-09-09 08:15hgbotNote Added: 0140883

Notes
(0139603)
hgbot   
2022-07-26 09:49   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/875 [^]
(0140642)
hgbot   
2022-09-04 08:42   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: fca377a219856aa43c83e638b0011fb848bb5df1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 04-09-2022 06:42:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/fca377a219856aa43c83e638b0011fb848bb5df1 [^]

Fixed ISSUE-49735: Added validation not to allow the service product without related product

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js
---
(0140643)
hgbot   
2022-09-04 08:42   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/875 [^]
(0140701)
cberner   
2022-09-05 11:16   
The fix to this issue, breaks the flow to add services on add product in the new POS2. To reproduce it:

(It can be currently reproduced in livebuilds -> https://livebuilds.openbravo.com/retail_pos2_modules_pgsql/web/pos/?terminal=VBS-2 [^])
1. Open WebPOS2 and login
2. Add a GPS Mini product
3. Add any of the related services that appear

An error message appears and doesn't allow to add the mandatory proposal related service: "It is not possible to add the linked/service product before adding the related product".
(0140703)
hgbot   
2022-09-05 11:24   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 62ba6316f9cc4ece7bf438bbd0a0f106e110f636
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 05-09-2022 14:50:08
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/62ba6316f9cc4ece7bf438bbd0a0f106e110f636 [^]

Revert "ISSUE-49735: Added validation not to allow the service product without related product"

This reverts commit fca377a219856aa43c83e638b0011fb848bb5df1.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/AddProduct.js
---
(0140781)
hgbot   
2022-09-07 10:41   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/403 [^]
(0140882)
hgbot   
2022-09-09 08:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 0097c29a01f72faeaa6e73fc6c748890c73ed856
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 09-09-2022 06:15:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/0097c29a01f72faeaa6e73fc6c748890c73ed856 [^]

Fixed ISSUE-49735: Service Products should not be listed in Search Tab
* When searching products, Service Products should not be listed in Search Tab

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0140883)
hgbot   
2022-09-09 08:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/403 [^]