Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032158Retail ModulesWeb POSpublic2016-02-05 13:142016-02-17 19:25
malsasua 
Retail 
highmajoralways
closedfixed 
20Community Appliance
 
RR16Q1RR16Q1 
Orekaria
Production - Confirmed Stable
2014-04-04
RR14Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a7535a7738d [^]
No
0032158: POS templates created in previous versions to RR14Q3, can not be printed
if a POS template has been created by one module in a previous version to RR15Q4, when the template is loaded in terminal during the login process, error is returned and the template can not be printed

It is because the column "PDF" in table OBPOS_PRINT_TEMPLATES [1] has not defined a Default N, and it is a boolean.

[1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/aeb4f4a660b5/src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml#l52 [^]
. print a template created in a previous version to RR14Q3
add default value "N" to the column
No tags attached.
blocks defect 0032146 closed mario_castello POS templates created in previous versions to RR14Q3, can not be printed 
Issue History
2016-02-08 14:56OrekariaTypedefect => backport
2016-02-08 14:56OrekariaTarget Version => RR16Q1
2016-02-15 16:08hgbotCheckin
2016-02-15 16:08hgbotNote Added: 0084199
2016-02-15 16:08hgbotStatusscheduled => resolved
2016-02-15 16:08hgbotResolutionopen => fixed
2016-02-15 16:08hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/9aee0919b968c0e57e4e0fcae4cbbd29f769001b [^]
2016-02-16 14:32hgbotCheckin
2016-02-16 14:32hgbotNote Added: 0084253
2016-02-16 14:32hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/9aee0919b968c0e57e4e0fcae4cbbd29f769001b [^] => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/ea44a4d551479d70a94ec14b67de3aeb222bc04e [^]
2016-02-17 19:25hgbotCheckin
2016-02-17 19:25hgbotNote Added: 0084302
2016-02-17 19:25hgbotCheckin
2016-02-17 19:25hgbotNote Added: 0084303
2016-02-17 19:25hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/ea44a4d551479d70a94ec14b67de3aeb222bc04e [^] => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/d9a444f224e1da5c40e797d4b837dabf7619950b [^]
2016-02-17 19:25OrekariaReview Assigned To => Orekaria
2016-02-17 19:25OrekariaStatusresolved => closed
2016-02-17 19:25OrekariaFixed in Version => RR16Q1

Notes
(0084199)
hgbot   
2016-02-15 16:08   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: 9aee0919b968c0e57e4e0fcae4cbbd29f769001b
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Feb 11 15:21:30 2016 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/9aee0919b968c0e57e4e0fcae4cbbd29f769001b [^]

Fixed issue 0032158 backport of issue 32146: Set default value N to ispdf column in OBPOS_PRINT_TEMPLATE table

---
M src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
---
(0084253)
hgbot   
2016-02-16 14:32   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: ea44a4d551479d70a94ec14b67de3aeb222bc04e
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Mon Feb 15 13:51:30 2016 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/ea44a4d551479d70a94ec14b67de3aeb222bc04e [^]

Fixed issue 0032158 backport of issue 32146. Added mandatory setting and oncreatedefault value

---
M src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
---
(0084302)
hgbot   
2016-02-17 19:25   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: 7199cef2a146389b0395d8f506a3e52a6e5516d7
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Feb 17 19:23:27 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/7199cef2a146389b0395d8f506a3e52a6e5516d7 [^]

Related to issue 32158. Removed fix because it's not compatible with version of dbsm.

---
M src-db/database/model/tables/OBPOS_PRINT_TEMPLATE.xml
---
(0084303)
hgbot   
2016-02-17 19:25   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: d9a444f224e1da5c40e797d4b837dabf7619950b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Feb 17 19:24:54 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/d9a444f224e1da5c40e797d4b837dabf7619950b [^]

Fixed issue 32158. Instead of fixing the value of the column, we are changing the code to handle the case of this column being null.

---
M src/org/openbravo/retail/posterminal/term/TerminalProperties.java
---