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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044321
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2020-06-09 08:222020-07-09 14:35
ReporterngarciaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR20Q2.1
StatusclosedFix in branchFixed in SCM revision89a766d7cfe3
ProjectionnoneETAnoneTarget VersionRR20Q2.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned Tomarvintm
OBNetwork customerGold
Support ticket16429
Regression levelProduction - Confirmed Stable
Regression date2019-06-03
Regression introduced in releaseRR19Q3
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b79ed9224f77/web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js#l42 [^]
Triggers an Emergency PackNo
Summary

0044321: JS error when checking the stock of a product if Enable Remote for Product preference is set to Y

DescriptionJS error when checking the stock of a product if Enable Remote for Product preference is set to Y

The leftSubWindow.organization property is null in the following line:

    if (
      OB.MobileApp.model.hasPermission('OBPOS_remote.product', true) &&
      !OB.UTIL.isCrossStoreOrganization(leftSubWindow.organization)
    )
Steps To ReproduceIn the backoffice:
   Set the Enable Remote for Product preference to Y and Selected

In the POS:
   Add a product
   Select the line
   Show More
   Check Stock
   Other stores stock

The following JS error is shown:
   Cannot read property 'id' of undefined
    at Object.OB.UTIL.isCrossStoreOrganization (c62c225354c303a97cc7c26e5b21b763.js:69132)
    at Object.tap (c62c225354c303a97cc7c26e5b21b763.js:104716)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0044311 closedranjith_qualiantech_com JS error when checking the stock of a product if Enable Remote for Product preference is set to Y 

-  Notes
(0120943)
hgbot (developer)
2020-06-22 07:32

Repository: retail/backports/3.0RR20Q2.1/org.openbravo.retail.posterminal
Changeset: 89a766d7cfe39c5dd091a2afc9e2bbdfe0a8fb75
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 19 13:06:42 2020 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR20Q2.1/org.openbravo.retail.posterminal/rev/89a766d7cfe39c5dd091a2afc9e2bbdfe0a8fb75 [^]

Fixed issue-44321: Added organization to show other store stock

* When opening Other store stock in Stock View,
  terminal organization should be used if leftSubWindow org is not availalbe

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js
---
(0121362)
hgbot (developer)
2020-07-09 14:29

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 85d5226f7ad61b657e112af7ffb1cbebc20a3eee
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-07-09T12:28:53+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/85d5226f7ad61b657e112af7ffb1cbebc20a3eee [^]

Fixed issue-44321: Added organization to show other store stock

* When opening Other store stock in Stock View,
  terminal organization should be used if leftSubWindow org is not availalbe

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js
---
(0121369)
shuehner (administrator)
2020-07-09 14:35

Re-closing: Issues was just changed to resolved as side-effect of converting backport repos to gitlab release branch

- Issue History
Date Modified Username Field Change
2020-06-09 15:53 ranjith_qualiantech_com Type defect => backport
2020-06-09 15:53 ranjith_qualiantech_com Target Version => RR20Q2.1
2020-06-22 07:32 hgbot Checkin
2020-06-22 07:32 hgbot Note Added: 0120943
2020-06-22 07:32 hgbot Status scheduled => resolved
2020-06-22 07:32 hgbot Resolution open => fixed
2020-06-22 07:32 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR20Q2.1/org.openbravo.retail.posterminal/rev/89a766d7cfe39c5dd091a2afc9e2bbdfe0a8fb75 [^]
2020-06-29 12:41 marvintm Review Assigned To => marvintm
2020-06-29 12:41 marvintm Status resolved => closed
2020-06-29 12:41 marvintm Fixed in Version => RR20Q2.1
2020-07-09 14:29 hgbot Status closed => resolved
2020-07-09 14:29 hgbot Note Added: 0121362
2020-07-09 14:35 shuehner Note Added: 0121369
2020-07-09 14:35 shuehner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker