Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031753Retail ModulesWeb POSpublic2015-12-18 15:242016-01-28 15:45
marvintm 
jorge-garcia 
normalminoralways
closedfixed 
5
 
RR16Q1RR16Q1 
Orekaria
No
No
0031753: Instances should automatically start using the discounts new flow starting 16Q1
Starting 16Q1, all instances should automatically use the discounts new flow:

- All preferences which exist in customers which activate the old flow should be removed
- The modulescript which created these preferences for old instances should also be removed.
.
No tags attached.
depends on feature request 0031751RR16Q1 closed Orekaria Old flow of discounts should be marked as deprecated 
has duplicate backport 0031771RR16Q1 closed Retail Instances should automatically start using the discounts new flow starting 16Q1 
causes defect 0032019 closed jorge-garcia [RR16Q1]Login offline does not work 
Issue History
2015-12-18 15:24marvintmNew Issue
2015-12-18 15:24marvintmAssigned To => Retail
2015-12-18 15:24marvintmOBNetwork customer => No
2015-12-18 15:24marvintmTriggers an Emergency Pack => No
2015-12-18 15:24marvintmTarget Version => RR16Q1
2015-12-21 08:52OrekariaRelationship addedblocks 0031751
2015-12-21 08:52OrekariaRelationship replaceddepends on 0031751
2015-12-24 03:32OrekariaNote Added: 0082977
2015-12-24 03:32OrekariaStatusnew => scheduled
2015-12-24 03:32OrekariaAssigned ToRetail => Orekaria
2015-12-28 10:58OrekariaRelationship replacedhas duplicate 0031771
2015-12-28 10:58OrekariaAssigned ToOrekaria => Retail
2015-12-28 11:17jorge-garciaAssigned ToRetail => jorge-garcia
2015-12-28 16:56hgbotCheckin
2015-12-28 16:56hgbotNote Added: 0083017
2015-12-28 16:56hgbotStatusscheduled => resolved
2015-12-28 16:56hgbotResolutionopen => fixed
2015-12-28 16:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f01bcb85330f47f0cf6ffddb05f8949090baa383 [^]
2015-12-28 16:57hgbotCheckin
2015-12-28 16:57hgbotNote Added: 0083018
2015-12-28 16:57hgbotCheckin
2015-12-28 16:57hgbotNote Added: 0083019
2015-12-29 12:16OrekariaReview Assigned To => Orekaria
2015-12-29 12:16OrekariaStatusresolved => closed
2015-12-29 12:16OrekariaFixed in Version => RR16Q1
2015-12-29 13:48hgbotCheckin
2015-12-29 13:48hgbotNote Added: 0083051
2015-12-29 13:48hgbotStatusclosed => resolved
2015-12-29 13:48hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f01bcb85330f47f0cf6ffddb05f8949090baa383 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/769088b284d6837a65e1dc70d67cec546b1f05aa [^]
2015-12-29 13:51OrekariaStatusresolved => closed
2016-01-27 13:38marvintmRelationship addedcauses 0032019
2016-01-28 15:45hgbotCheckin
2016-01-28 15:45hgbotNote Added: 0083683

Notes
(0082977)
Orekaria   
2015-12-24 03:32   
OBPOS_discount.newFlow
(0083017)
hgbot   
2015-12-28 16:56   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f01bcb85330f47f0cf6ffddb05f8949090baa383
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Dec 28 15:46:49 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f01bcb85330f47f0cf6ffddb05f8949090baa383 [^]

Fixed issue 31753: Instances should automatically start using the discounts
new flow starting 16Q1

Starting from 16Q1 the old flow of discounts is not supported.

Some changes are necessary:
* The preference OBPOS_discount.newFlow must disappear.
* All modulescripts related to this preference must be deleted.

Now, the preference doesn't exists in the backend, and there is no modulescript
using it. This preference is set to true when the terminal properties are been
loaded.

It's planned that in 16Q2, all checks of this preference will be deleted in
the client side.

---
M src-db/database/sourcedata/AD_REF_LIST.xml
R src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/InsertNewFlowDiscountPreference.java
R src-util/modulescript/src/org/openbravo/retail/posterminal/modulescript/InsertNewFlowDiscountPreference_Data.xsql
---
(0083018)
hgbot   
2015-12-28 16:57   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d325efbe4679cb7cb9385fe577923a66bd9ee475
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Dec 28 15:50:26 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d325efbe4679cb7cb9385fe577923a66bd9ee475 [^]

Related to issue 31753: Instances should automatically start using the discounts
new flow starting 16Q1

When the web POS is loading the terminal object, we set the preference to true.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0083019)
hgbot   
2015-12-28 16:57   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: 7ff651c54f035ba103d8ae719b985981256292da
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Dec 28 15:51:40 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/7ff651c54f035ba103d8ae719b985981256292da [^]

Related to issue 31753: Instances should automatically start using the discounts
new flow starting 16Q1

Deleted preference in the sampledata.

---
M referencedata/sampledata/The_White_Valley_Group/AD_PREFERENCE.xml
---
(0083051)
hgbot   
2015-12-29 13:48   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 769088b284d6837a65e1dc70d67cec546b1f05aa
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Dec 29 13:47:29 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/769088b284d6837a65e1dc70d67cec546b1f05aa [^]

Fixes issue 31753: Added deprecation message

---
M web/org.openbravo.mobile.core/source/main.js
---
(0083683)
hgbot   
2016-01-28 15:45   
Repository: retail/backports/3.0RR15Q4.2/org.openbravo.mobile.core
Changeset: 1b04a51dade8931b77f90f4f3e07c6e571a15421
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Tue Dec 29 13:47:29 2015 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4.2/org.openbravo.mobile.core/rev/1b04a51dade8931b77f90f4f3e07c6e571a15421 [^]

Fixes issue 31752, backport of issue 31753: Added deprecation message

---
M web/org.openbravo.mobile.core/source/main.js
---