Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036912Retail ModulesWeb POSpublic2017-09-21 12:402017-09-22 14:30
shuehner 
gorka_gil 
urgentmajorhave not tried
closedfixed 
5
 
RR17Q4RR17Q4 
marvintm
No
0036912: ant import.sample.data of WhiteValley Sampleata leads to non-working client since ERP Q3
In ERP Q3 a new modulescript PopulateADOrgTreeData was added to populate some internal table (AD_ORG_TREE).

However in the flow of
- Having ERP Database of Q3 without retail sampledata
- Then adding retail sampledata module
- Running ant.import.sample.data (to get the data into the database)

This modulescript will not run.

Effect is that all POS Login (+ probably more things in White Valley Group) client are completely broken.

Because of missing data for this ad_org_tree table breaking any use of ad_isorgincluded pl - function.
install.source Q3 without retail sampledata.
Add retail.sample.data module
ant import.sample.data
Try to do webpos login
As quick and safe fix:
- Fix retail-sampledata to directly include the missing data
- In practice:
  - ant export.sample.data -Dclient="The White Valley Group" -Dmodule=org.openbravo.retail.sampledat
  - revert all changes to sampledata except the file AD_ORG_TREE.xml
No tags attached.
depends on backport 0036913RR17Q3.1 closed gorka_gil ant import.sample.data of WhiteValley Sampleata leads to non-working client since ERP Q3 
Issue History
2017-09-21 12:40shuehnerNew Issue
2017-09-21 12:40shuehnerAssigned To => Retail
2017-09-21 12:40shuehnerTriggers an Emergency Pack => No
2017-09-21 12:41shuehnerStatusnew => scheduled
2017-09-21 16:10gorka_gilAssigned ToRetail => gorka_gil
2017-09-22 13:43hgbotCheckin
2017-09-22 13:43hgbotNote Added: 0099488
2017-09-22 13:43hgbotStatusscheduled => resolved
2017-09-22 13:43hgbotResolutionopen => fixed
2017-09-22 13:43hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/ea5d940ceb49cf2cf25e7dc4024839fd779e5f23 [^]
2017-09-22 14:30marvintmReview Assigned To => marvintm
2017-09-22 14:30marvintmStatusresolved => closed
2017-09-22 14:30marvintmFixed in Version => RR17Q4

Notes
(0099488)
hgbot   
2017-09-22 13:43   
Repository: erp/pmods/org.openbravo.retail.sampledata
Changeset: ea5d940ceb49cf2cf25e7dc4024839fd779e5f23
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Sep 21 19:07:22 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sampledata/rev/ea5d940ceb49cf2cf25e7dc4024839fd779e5f23 [^]

Fixed issue 36912: ant import.sample.data of WhiteValley Sampleata leads to non-working client since ERP Q3

Added AD_ORG_TREE.xml

---
A referencedata/sampledata/The_White_Valley_Group/AD_ORG_TREE.xml
---