Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032159Retail ModulesWeb POSpublic2016-02-05 13:142016-02-17 19:22
malsasua 
Retail 
highmajoralways
closedfixed 
20Community Appliance
 
RR15Q4.3RR15Q4.3 
marvintm
Production - Confirmed Stable
2014-04-04
RR14Q3
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2a7535a7738d [^]
No
0032159: 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 => RR15Q4.3
2016-02-12 15:10hgbotCheckin
2016-02-12 15:10hgbotNote Added: 0084164
2016-02-12 15:10hgbotStatusscheduled => resolved
2016-02-12 15:10hgbotResolutionopen => fixed
2016-02-12 15:10hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/bccc7766f9c9e697aad4ee157c5b564b115a4fbe [^]
2016-02-15 19:48hgbotCheckin
2016-02-15 19:48hgbotNote Added: 0084222
2016-02-15 19:48hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/bccc7766f9c9e697aad4ee157c5b564b115a4fbe [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/ca04d443681cd15152e7f1c425ffdd733882e54e [^]
2016-02-15 19:51marvintmReview Assigned To => marvintm
2016-02-15 19:51marvintmStatusresolved => closed
2016-02-15 19:51marvintmFixed in Version => RR15Q4.3
2016-02-17 19:19hgbotCheckin
2016-02-17 19:19hgbotNote Added: 0084300
2016-02-17 19:19hgbotCheckin
2016-02-17 19:19hgbotNote Added: 0084301
2016-02-17 19:19hgbotStatusclosed => resolved
2016-02-17 19:19hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/ca04d443681cd15152e7f1c425ffdd733882e54e [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/35c7b4300c91d59efe1eef0d0ed87d0eecaf9339 [^]
2016-02-17 19:22OrekariaStatusresolved => closed

Notes
(0084164)
hgbot   
2016-02-12 15:10   
Repository: retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal
Changeset: bccc7766f9c9e697aad4ee157c5b564b115a4fbe
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Feb 11 11:25:11 2016 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/bccc7766f9c9e697aad4ee157c5b564b115a4fbe [^]

Fixed issue 32159 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
---
(0084222)
hgbot   
2016-02-15 19:48   
Repository: retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal
Changeset: ca04d443681cd15152e7f1c425ffdd733882e54e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Feb 15 19:48:31 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.3/org.openbravo.retail.posterminal/rev/ca04d443681cd15152e7f1c425ffdd733882e54e [^]

Fixed issue 32159. Added mandatory setting and oncreatedefault value

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

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

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

Fixed issue 32159. 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
---