Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018953Openbravo ERP01. General setuppublic2011-09-01 10:542012-02-15 10:34
jonalegriaesarte 
jecharri 
highminoralways
closedfixed 
5
2.50MP35 
2.50MP362.50MP36 
Core
No
0018953: Campaign tree does not work
If you try to activate the campaign tree, it does not work correctly
- Activate tree option in campaign tab
- Tree structure does not work
Treetype in ad_tree table is created after create and entity (ad_tree.treetype = 'MC')
Things missing:
- Trigger in c_campaign to add nodes to ad_treenode (treetype='MC'), similar to org, product, ....
- Add issummary column to campaign table.
- Change src/org/openbravo/erpCommon/utility/WindowTree_data.xsql, to obtain issummary column instead of 'N' in selectCampaign.

Issummary column can be added and WindowTree_data.xsql changed inmediatly, because are the biggest problem to people that want to implement it.
No tags attached.
blocks defect 00184073.0MP5 closed jecharri Campaign tree does not work 
Issue History
2011-11-02 12:25jecharriTypedefect => backport
2011-11-02 12:25jecharrifix_in_branch => 2.50
2011-11-02 12:26jecharriversion3.0MP2 => 2.50MP35
2011-11-02 12:26jecharriTarget Version3.0MP5 => 2.50MP36
2011-11-02 12:51jecharriAssigned Tojonalegriaesarte => jecharri
2011-11-04 13:07hgbotCheckin
2011-11-04 13:07hgbotNote Added: 0042539
2011-11-04 13:07hgbotStatusscheduled => resolved
2011-11-04 13:07hgbotResolutionopen => fixed
2011-11-04 13:07hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/86cbd2ddf9655cf7a813f9c9cb9b6c35b9ac54f7 [^] => http://code.openbravo.com/erp/stable/2.50/rev/71dc4b127218391eb7e6b6bb396f7f33963270a7 [^]
2011-11-18 10:03jonalegriaesarteNote Added: 0042968
2011-11-18 10:03jonalegriaesarteStatusresolved => closed
2011-11-18 10:03jonalegriaesarteFixed in Version => 2.50MP36
2012-02-15 10:34hgbotCheckin
2012-02-15 10:34hgbotNote Added: 0045137

Notes
(0042539)
hgbot   
2011-11-04 13:07   
Repository: erp/stable/2.50
Changeset: 71dc4b127218391eb7e6b6bb396f7f33963270a7
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Nov 03 09:14:02 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/71dc4b127218391eb7e6b6bb396f7f33963270a7 [^]

Fixes issue 18953: Campaign tree does not work

---
M src-db/database/model/tables/AD_CLIENTINFO.xml
M src-db/database/model/tables/C_CAMPAIGN.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_TAB.xml
M src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
M src/org/openbravo/erpCommon/utility/WindowTree_data.xsql
A src-db/database/model/triggers/C_CAMPAIGN_TRG.xml
---
(0042968)
jonalegriaesarte   
2011-11-18 10:03   
Verified.
Created a new entity with check campaign activated.
Tested the creation of new campaigns and the tree behavior
(0045137)
hgbot   
2012-02-15 10:34   
Repository: erp/stable/2.50
Changeset: 0db4a6537191581cf63f9dda21181665da2782e9
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Feb 15 10:27:30 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/0db4a6537191581cf63f9dda21181665da2782e9 [^]

issue 18953: Campaign tree does not work.
Now with this little change, when the client execute install sources, the ad_tree_campaign_id in table ad_clientinfo will be initialized, so the client will be able to use all the related things

---
M referencedata/sampledata/SmallBazaar.xml
---