Openbravo Issue Tracking System - POS2
View Issue Details
0048498POS2POSpublic2022-01-27 18:492022-01-28 12:04
timothee_catteeuw 
Triage Platform Base 
normalcriticalalways
closedfixed 
5
 
 
No
0048498: JIRA 2654 - POS Print templates manually created are removed after installing a new version
A new option is now configurable in FS version like in attached screen shot (POS Print template) :

The option works well.

In other words I can fill in in text box “Printing template” the XML content of the template.

This template can be then linked to a template type of an organization (in Web Pos format section) and it is taken into account on WebPOS.

But it appears after updating the environment what was previously created is removed from Printing template window.

And it is necessary to configure again the template.

The link with the organisation is also removed.

Connect to system admin account

Create and save a new template with options described in screenshot (module is empty)

Switch to an account allowing to access to your organization

Link the new template to the related Webpos format

Technically update the environment with a more recent version

Check “POS Print template” window, the template previously created was removed (and mechanically the link with format pos in organization)
No tags attached.
png image-20220127-173022.png (68,480) 2022-01-27 18:49
https://issues.openbravo.com/file_download.php?file_id=16560&type=bug
png
Issue History
2022-01-27 18:49timothee_catteeuwNew Issue
2022-01-27 18:49timothee_catteeuwAssigned To => Retail
2022-01-27 18:49timothee_catteeuwFile Added: image-20220127-173022.png
2022-01-27 18:49timothee_catteeuwTriggers an Emergency Pack => No
2022-01-27 18:49timothee_catteeuwSummaryJIRA 2654 - => JIRA 2654 - POS Print templates manually created are removed after installing a new version
2022-01-27 18:50timothee_catteeuwSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23581#r23581
2022-01-27 23:57guilleaerAssigned ToRetail => Triage Platform Base
2022-01-28 07:44hgbotNote Added: 0134643
2022-01-28 12:04hgbotResolutionopen => fixed
2022-01-28 12:04hgbotStatusnew => closed
2022-01-28 12:04hgbotFixed in Version => RR22Q2
2022-01-28 12:04hgbotNote Added: 0134648
2022-01-28 12:04hgbotNote Added: 0134649
2022-01-28 12:04hgbotNote Added: 0134650

Notes
(0134643)
hgbot   
2022-01-28 07:44   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/699 [^]
(0134648)
hgbot   
2022-01-28 12:04   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d1bb210aa70a1fd1b3d0d0622f958cfd82a2b45b
Author: Asier Lostalé <asier.lostale@openbravo.com>
Date: 28-01-2022 07:48:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d1bb210aa70a1fd1b3d0d0622f958cfd82a2b45b [^]

fixed BUG-48498: print templates with no module are deleted on update

Adds missing secondary where clause to the OBPOS_Print_Template in the
AD dataset to completelly skip from dbsm any row without module.

---
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---
(0134649)
hgbot   
2022-01-28 12:04   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 583e2c6868fe4c0d54aa1dca9a48d6ec78a9ca6b
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 28-01-2022 11:13:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/583e2c6868fe4c0d54aa1dca9a48d6ec78a9ca6b [^]

related to BUG-48498: apply same fix for OBPOS_Print_Template_Subrep

---
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---
(0134650)
hgbot   
2022-01-28 12:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/699 [^]