Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0052486 | Retail Modules | Web POS | public | 2023-05-18 23:57 | 2023-05-22 08:34 |
|
Reporter | axelmercado | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR23Q3 | |
Merge Request Status | approved |
Review Assigned To | |
OBNetwork customer | OBPS |
Support ticket | 64736 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0052486: Problem with ISSUE 50603 change: If the line has no product, then it fails in custom customer modules. |
Description | We have seen that in one of the new updates you have added the following in the ob-keyboard.js file:
if (actualChar && actualChar.match(this.keyMatcher)) {
const hasGroupedProduct = this.line
? this.line.get('product').get('groupProduct')
: true;
if ((actualChar === '+' || actualChar === '-') && hasGroupedProduct) {
The problem is that we have our own module that uses the globalKeypressHandler and when pressing a key it gives error because in the this.line the product attribute does not exist. |
Steps To Reproduce | N/A |
Proposed Solution | To solve it we have added the attached .diff, this way we ensure that if this attribute does not exist it does not give error. |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | defect | 0050603 | | closed | radhakrishnan | + key enabled when typing while editing a line |
|
Attached Files | ob-keyboard.diff (837) 2023-05-18 23:57 https://issues.openbravo.com/file_download.php?file_id=18548&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2023-05-18 23:57 | axelmercado | New Issue | |
2023-05-18 23:57 | axelmercado | Assigned To | => Retail |
2023-05-18 23:57 | axelmercado | File Added: ob-keyboard.diff | |
2023-05-18 23:57 | axelmercado | OBNetwork customer | => OBPS |
2023-05-18 23:57 | axelmercado | Support ticket | => 64736 |
2023-05-18 23:57 | axelmercado | Triggers an Emergency Pack | => No |
2023-05-18 23:57 | axelmercado | Relationship added | caused by 0050603 |
2023-05-19 07:06 | Practics | Issue Monitored: Practics | |
2023-05-20 11:38 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2023-05-20 11:38 | ranjith_qualiantech_com | Status | new => scheduled |
2023-05-21 16:35 | hgbot | Merge Request Status | => open |
2023-05-21 16:35 | hgbot | Note Added: 0150006 | |
2023-05-22 08:34 | hgbot | Merge Request Status | open => approved |
2023-05-22 08:34 | hgbot | Resolution | open => fixed |
2023-05-22 08:34 | hgbot | Status | scheduled => closed |
2023-05-22 08:34 | hgbot | Note Added: 0150035 | |
2023-05-22 08:34 | hgbot | Fixed in Version | => RR23Q3 |
2023-05-22 08:34 | hgbot | Note Added: 0150036 | |