Openbravo Issue Tracking System - POS2
View Issue Details
0045929POS2POSpublic2021-02-19 14:552021-03-16 12:32
jmelin 
cberner 
highcriticalalways
closedfixed 
30Openbravo Appliance 14.04
 
 
No
0045929: Keymap active/inactive data doesn't refresh automatically on POS
When modifying an option in the BO, it's not reflecting on POS
Even if disconnecting/reconnecting and/or settings refresh to 0 in "Touchpoint type" parameters

It seems this is happening with keymaps because of missing properties in the exported masterdata models. In particular active property.
Easier steps to reproduce:
1. Login at least once in new POS and logout
2. In backoffice, go to "POS Keymap" and disable a category, variant or product
3. Go to new POS and login, after that click the top gear near user button and do a Incremental Masterdata Refresh.
4. Refresh with F5 and see that the category/variant has not dissapeared in the respective keymap



Original Steps to reproduce:
1.
In BO, select a keymap and disable a category
On POS, disconnect/reconnect or F5 => the category is still active on POS

2.
In BO, set refresh to 0
ON POS, disconnect/reconnect or F5 => the category is still active on POS

3.
On POS, remove Applications cache
Reconnect to POS => category is disabled
No tags attached.
Issue History
2021-02-19 14:55jmelinNew Issue
2021-02-19 14:55jmelinAssigned To => Retail
2021-02-19 14:55jmelinTriggers an Emergency Pack => No
2021-03-09 16:00jmelinSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22189#r22189
2021-03-09 16:00jmelinDescription Updatedbug_revision_view_page.php?rev_id=22191#r22191
2021-03-09 16:00guilleaerAssigned ToRetail => cberner
2021-03-10 09:46guilleaerStatusnew => scheduled
2021-03-16 10:24cbernerDescription Updatedbug_revision_view_page.php?rev_id=22220#r22220
2021-03-16 10:24cbernerSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22221#r22221
2021-03-16 10:25cbernerSummaryData don't refresh automatically on POS => Keymap active/inactive data doesn't refresh automatically on POS
2021-03-16 10:25hgbotNote Added: 0126721
2021-03-16 12:32hgbotNote Added: 0126733
2021-03-16 12:32hgbotResolutionopen => fixed
2021-03-16 12:32hgbotStatusscheduled => closed
2021-03-16 12:32hgbotNote Added: 0126734

Notes
(0126721)
hgbot   
2021-03-16 10:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/306 [^]
(0126733)
hgbot   
2021-03-16 12:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/306 [^]
(0126734)
hgbot   
2021-03-16 12:32   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 937b4c7a974d9fe8f0d59312851b4baca9305233
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2021-03-16T11:32:00+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/937b4c7a974d9fe8f0d59312851b4baca9305233 [^]

Fixes ISSUE-45929: Keymap active data doesn't refresh automatically on POS

Active property was not being added in the model extension of Keymap
masterdata models, so it was not being saved and as such it wasn't
changing on incremental masterdata refresh.
This commit adds active property to all keymap models, so the masterdata
incremental refresh is also able to remove inactive records regarding
keymaps, which previously was not able.

---
M src/org/openbravo/pos2/master/KeymapCategoryProperties.java
M src/org/openbravo/pos2/master/KeymapGlobalProperties.java
M src/org/openbravo/pos2/master/KeymapProductProperties.java
M src/org/openbravo/pos2/master/KeymapProperties.java
M src/org/openbravo/pos2/master/KeymapVariantProperties.java
---