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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044322
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2020-06-09 08:222020-07-09 14:31
ReporterngarciaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR20Q1.3
StatusclosedFix in branchFixed in SCM revisiona14ccd086094
ProjectionnoneETAnoneTarget VersionRR20Q1.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
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

0044322: 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
(0120944)
hgbot (developer)
2020-06-22 07:32

Repository: retail/backports/3.0RR20Q1.3/org.openbravo.retail.posterminal
Changeset: a14ccd086094f99ebe0415ebee6afba43fb4e6a7
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.0RR20Q1.3/org.openbravo.retail.posterminal/rev/a14ccd086094f99ebe0415ebee6afba43fb4e6a7 [^]

Fixed issue-44322: 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
---
(0121358)
hgbot (developer)
2020-07-09 14:14

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

Fixed issue-44322: 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
---
(0121365)
shuehner (administrator)
2020-07-09 14:31

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 => RR20Q1.3
2020-06-22 07:32 hgbot Checkin
2020-06-22 07:32 hgbot Note Added: 0120944
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.0RR20Q1.3/org.openbravo.retail.posterminal/rev/a14ccd086094f99ebe0415ebee6afba43fb4e6a7 [^]
2020-06-29 12:42 marvintm Review Assigned To => marvintm
2020-06-29 12:42 marvintm Status resolved => closed
2020-06-29 12:42 marvintm Fixed in Version => RR20Q1.3
2020-07-09 14:14 hgbot Status closed => resolved
2020-07-09 14:14 hgbot Note Added: 0121358
2020-07-09 14:31 shuehner Note Added: 0121365
2020-07-09 14:31 shuehner Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker