Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031539Retail ModulesRetail Configurationpublic2015-11-19 20:112015-12-18 14:24
guilleaer 
jorge-garcia 
normalminoralways
closedfixed 
5
 
RR16Q1 
guilleaer
No
0031539: POS configuration should allow to make no-active an assortment product
Currently if a user want's to unsynchronize a product from web POS, he have to remove the product to the assortment. This is correct, but following openbravo behavior also should be possible to make this line inactive. The result should be the same as remove it.
Go to an specific assortment
In the tab below, select one product
try to make the line inactive
Error 1:
Field "isactive" is not shown
Error 2:
Make line inactive through database -> Product will be still synchronized to web POS.
1. Show fields to edit this value in that window.
2. Update products query to take into account the flag "isActive" of the assortment line.
No tags attached.
diff 31569_showfieldisActive.diff (3,992) 2015-11-19 20:19
https://issues.openbravo.com/file_download.php?file_id=8749&type=bug
diff 31569_checkisActive.diff (839) 2015-11-19 20:20
https://issues.openbravo.com/file_download.php?file_id=8750&type=bug
Issue History
2015-11-19 20:11guilleaerNew Issue
2015-11-19 20:11guilleaerAssigned To => Retail
2015-11-19 20:11guilleaerTriggers an Emergency Pack => No
2015-11-19 20:19guilleaerFile Added: 31569_showfieldisActive.diff
2015-11-19 20:20guilleaerFile Added: 31569_checkisActive.diff
2015-11-24 12:21jorge-garciaAssigned ToRetail => jorge-garcia
2015-11-24 12:21jorge-garciaStatusnew => acknowledged
2015-11-24 14:06OrekariaStatusacknowledged => scheduled
2015-11-27 08:36hgbotCheckin
2015-11-27 08:36hgbotNote Added: 0082391
2015-11-27 08:36hgbotStatusscheduled => resolved
2015-11-27 08:36hgbotResolutionopen => fixed
2015-11-27 08:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb6cceff7f7ab4b911a32ddde5aa7e98b7663f33 [^]
2015-11-27 08:36hgbotCheckin
2015-11-27 08:36hgbotNote Added: 0082392
2015-12-01 09:29guilleaerReview Assigned To => guilleaer
2015-12-01 09:29guilleaerStatusresolved => closed
2015-12-01 09:29guilleaerFixed in Version => RR16Q1
2015-12-18 14:24hgbotCheckin
2015-12-18 14:24hgbotNote Added: 0082871

Notes
(0082391)
hgbot   
2015-11-27 08:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eb6cceff7f7ab4b911a32ddde5aa7e98b7663f33
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Nov 25 18:08:22 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eb6cceff7f7ab4b911a32ddde5aa7e98b7663f33 [^]

Fixed issue 31539: POS configuration should allow to make no-active an
assortment product

The solution consist in two parts:
* The first one is to add active field from the products of the assorment and
send it with the rest of properties of the product.

* The second one is to add logic to the where caluse of the query taking into
considereation the three posible scenarios to load the masterdata (incremental
refresh, full refresh and remote).

---
M src/org/openbravo/retail/posterminal/master/Product.java
M src/org/openbravo/retail/posterminal/master/ProductProperties.java
---
(0082392)
hgbot   
2015-11-27 08:36   
Repository: erp/pmods/org.openbravo.retail.config
Changeset: 7a7ec10bc163c36e92b1c518e295c94058db2ce7
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Nov 25 15:34:33 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.config/rev/7a7ec10bc163c36e92b1c518e295c94058db2ce7 [^]

Related to issue 31539: POS configuration should allow to make no-active an
assortment product

Now, the erp must show the active field of the products in the assorment

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0082871)
hgbot   
2015-12-18 14:24   
Repository: tools/automation/pi-mobile
Changeset: 3932dd7bc375fba0cd890cff38f21920257ee743
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Fri Dec 18 12:23:34 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/3932dd7bc375fba0cd890cff38f21920257ee743 [^]

Verifies issue 31539: POS configuration should allow to make no-active an
assortment product

Added Test:
* I31539_ProductsNotInAssorment_Remote
* I31539_ProductsNotInAssorment_FullRefresh
* I31539_ProductsNotInAssorment_IncRefresh

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/highvolume/I31539_ProductsNotInAssorment_Remote.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31539_ProductsNotInAssorment_FullRefresh.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31539_ProductsNotInAssorment_IncRefresh.java
---