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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0044311
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-06-09 08:222020-06-19 09:41
ReporterngarciaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR20Q3
StatusclosedFix in branchFixed in SCM revision0c0ab564558c
ProjectionnoneETAnoneTarget Version
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

0044311: 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 Filespatch file icon issue 44311 source posterminal.patch [^] (1,709 bytes) 2020-06-10 09:38 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0044321RR20Q2.1 closedranjith_qualiantech_com JS error when checking the stock of a product if Enable Remote for Product preference is set to Y 
depends on backport 0044322RR20Q1.3 closedranjith_qualiantech_com JS error when checking the stock of a product if Enable Remote for Product preference is set to Y 
caused by feature request 0041006RR19Q3 closedaferraz Cross Store Sales project 

-  Notes
(0120916)
hgbot (developer)
2020-06-19 09:39

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 0c0ab564558ce176191421a46b8ef02509dbf93a
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 19 13:06:42 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c0ab564558ce176191421a46b8ef02509dbf93a [^]

Fixed issue-44311: 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
---

- Issue History
Date Modified Username Field Change
2020-06-09 08:22 ngarcia New Issue
2020-06-09 08:22 ngarcia Assigned To => Retail
2020-06-09 08:22 ngarcia OBNetwork customer => Gold
2020-06-09 08:22 ngarcia Support ticket => 16429
2020-06-09 08:22 ngarcia Resolution time => 1593468000
2020-06-09 08:22 ngarcia Triggers an Emergency Pack => No
2020-06-09 08:30 ngarcia Issue Monitored: networkb
2020-06-09 08:31 ngarcia Priority urgent => immediate
2020-06-09 09:21 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2020-06-09 10:44 ranjith_qualiantech_com Regression level => Production - Confirmed Stable
2020-06-09 10:44 ranjith_qualiantech_com Regression date => 2019-06-03
2020-06-09 10:44 ranjith_qualiantech_com Regression introduced in release => RR19Q3
2020-06-09 10:44 ranjith_qualiantech_com Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/b79ed9224f77/web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js#l42 [^]
2020-06-09 15:53 ranjith_qualiantech_com Status new => scheduled
2020-06-10 09:38 ranjith_qualiantech_com File Added: issue 44311 source posterminal.patch
2020-06-12 10:57 dmitry_mezentsev Relationship added caused by 0041006
2020-06-19 09:39 hgbot Checkin
2020-06-19 09:39 hgbot Note Added: 0120916
2020-06-19 09:39 hgbot Status scheduled => resolved
2020-06-19 09:39 hgbot Resolution open => fixed
2020-06-19 09:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/0c0ab564558ce176191421a46b8ef02509dbf93a [^]
2020-06-19 09:41 marvintm Review Assigned To => marvintm
2020-06-19 09:41 marvintm Status resolved => closed
2020-06-19 09:41 marvintm Fixed in Version => RR20Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker