Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036388Retail ModulesStoreServerpublic2017-07-03 15:312017-07-12 11:54
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
RR17Q3 
mtaal
No
No
0036388: ad_treenodes that reference the '10' and '50' ad_trees should not be exported
The export.store.data process should not export menu entries (ad_treenode rows that reference the Menu ad_tree, with ad_tree_id 10), nor entries that reference the Primary Organization tree.

These entries should not be exported with the store data because whey will be part of the source data.
-
No tags attached.
related to feature request 0036439 closed AugustoMauch Allow export of data in client 0 
? 36388.export (1,587) 2017-07-03 15:53
https://issues.openbravo.com/file_download.php?file_id=10884&type=bug
Issue History
2017-07-03 15:31AugustoMauchNew Issue
2017-07-03 15:31AugustoMauchAssigned To => StoreServer
2017-07-03 15:31AugustoMauchOBNetwork customer => No
2017-07-03 15:31AugustoMauchTriggers an Emergency Pack => No
2017-07-03 15:53AugustoMauchStatusnew => scheduled
2017-07-03 15:53AugustoMauchFile Added: 36388.export
2017-07-10 13:04AugustoMauchRelationship addedrelated to 0036439
2017-07-10 13:11AugustoMauchReview Assigned To => mtaal
2017-07-10 13:11hgbotCheckin
2017-07-10 13:11hgbotNote Added: 0097974
2017-07-10 13:11hgbotStatusscheduled => resolved
2017-07-10 13:11hgbotResolutionopen => fixed
2017-07-10 13:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/51faaff177c021da92592597d379e0f4e8c42ff1 [^]
2017-07-11 12:34AugustoMauchAssigned ToStoreServer => AugustoMauch
2017-07-12 11:54mtaalNote Added: 0098042
2017-07-12 11:54mtaalStatusresolved => closed
2017-07-12 11:54mtaalFixed in Version => RR17Q3

Notes
(0097974)
hgbot   
2017-07-10 13:11   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 51faaff177c021da92592597d379e0f4e8c42ff1
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Jul 03 15:52:43 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/51faaff177c021da92592597d379e0f4e8c42ff1 [^]

Fixes issue 36388: Do not export treenodes that are part of sourcedata

Now the entries of ad_treenode that reference the menu ad_tree (id '10') or the Primary Organization ad_tree (id '50', is the one where the root organization belongs) are not exported, to prevent those entried being imported twice.

---
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---
(0098042)
mtaal   
2017-07-12 11:54   
Reviewed and tested