Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038574Retail ModulesWeb POSpublic2018-05-17 18:172018-05-28 11:18
jonibc 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
No
0038574: Flag "realCategory" is ignored in product category tree after tree expand.
Once the product category tree is displayed, if one category is expanded, product category tree is rebuilt and categories are displayed based only on property "display" and not in "realCategory" flag.

It is reproducible in livebuilds. It is possible to assign Product Category combo to an OTF product.
Log in http://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=CTST1#retail.pointofsale: [^]

1- In lateral menu, tap on "Create OTF" button.
2- Open product category. Check that category "Combo" is not present in the tree.
3- Expand a category.
4- Check that "Combo" product category can be selected.
5- If ticket is completed. An error must be shown in "Errors while importing POS data".
Change the previous showing logic:

this.owner.setShowing(this.model.get('display');

to this:
var showOnlyReal = this.parent.parent.parent.parent.parent.parent.parent.parent.parent.args.showOnlyReal;
this.owner.setShowing((this.model.get('realCategory') === 'N' && showOnlyReal) ? false : this.model.get('display'));
No tags attached.
Issue History
2018-05-17 18:17jonibcNew Issue
2018-05-17 18:17jonibcAssigned To => Retail
2018-05-17 18:17jonibcResolution time => 1528927200
2018-05-17 18:17jonibcTriggers an Emergency Pack => No
2018-05-18 09:51jonibcProposed Solution updated
2018-05-18 09:56jonibcProposed Solution updated
2018-05-23 07:57ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2018-05-23 07:57ranjith_qualiantech_comStatusnew => scheduled
2018-05-25 09:34hgbotCheckin
2018-05-25 09:34hgbotNote Added: 0104697
2018-05-25 09:34hgbotStatusscheduled => resolved
2018-05-25 09:34hgbotResolutionopen => fixed
2018-05-25 09:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa04fc741c8190ca59b22a25c5059f4df6fb5970 [^]
2018-05-28 11:18marvintmReview Assigned To => marvintm
2018-05-28 11:18marvintmStatusresolved => closed
2018-05-28 11:18marvintmFixed in Version => RR18Q3

Notes
(0104697)
hgbot   
2018-05-25 09:34   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: fa04fc741c8190ca59b22a25c5059f4df6fb5970
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri May 25 13:03:53 2018 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fa04fc741c8190ca59b22a25c5059f4df6fb5970 [^]

Fixed issue 38574 : Non Real Category should not be shown based on model popup arguments

* While Opening Category Tre Popup, Non Real Category should be shown based on popup arguments "showOnlyReal"

---
M web/org.openbravo.retail.posterminal/js/components/rendercategory.js
---