~openerp-community/openobjectworks/magentoconnector

« back to all changes in this revision

Viewing changes to OpenERPSync/etc/config.xml

  • Committer: Sharoon Thomas
  • Date: 2009-06-02 16:30:49 UTC
  • Revision ID: sharoonthomas@teagarden.in-20090602163049-zsbek6lukohwbmgq
Added stores, websites and groups enumeration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<config>
 
3
        <!-- turn on our module, required for install support -->
 
4
        <modules>
 
5
                <Smile_OpenERPSync>
 
6
                        <version>0.1.0</version>
 
7
                                <depends>
 
8
                                                <Mage_Customer />
 
9
                                                <Mage_Checkout />
 
10
                                </depends>
 
11
                </Smile_OpenERPSync>
 
12
        </modules>
 
13
        <global>
 
14
                <!-- turn on models -->
 
15
                <models>
 
16
                        <openerpsync>
 
17
                           <class>Smile_OpenERPSync_Model</class>
 
18
                    </openerpsync>
 
19
                </models>
 
20
                <helpers>
 
21
                        <openerpsync>
 
22
                           <class>Smile_OpenERPSync_Helper</class>
 
23
                    </openerpsync>
 
24
                </helpers>
 
25
                <!-- turn on blocks -->
 
26
                <blocks>
 
27
                        <openerpsync>
 
28
                           <class>Smile_OpenERPSync_Model</class>
 
29
                        </openerpsync>
 
30
                </blocks>
 
31
                <!-- turn on database connections -->
 
32
                <resources>
 
33
                        <!-- setup is needed for automatic installation -->
 
34
                        <openerpsync_setup>
 
35
                               <use>default_setup</use>
 
36
                        </openerpsync_setup>
 
37
                        <openerpsync_write>
 
38
                               <use>default_write</use>
 
39
                        </openerpsync_write>
 
40
                        <openerpsync_read>
 
41
                               <use>default_read</use>
 
42
                        </openerpsync_read>
 
43
                </resources>
 
44
        </global>
 
45
        <adminhtml>
 
46
                        <menu></menu>
 
47
                        <events></events>
 
48
                        <translate></translate>
 
49
                        <acl>
 
50
                                <resources>
 
51
                                        <admin>
 
52
                                                <children>
 
53
                                                        <system>
 
54
                                                                <children>
 
55
                                                                        <config>
 
56
                                                                                <children>
 
57
                                                                                        <openerpsync>
 
58
                                                                                                <title>OpenERP Integration</title>
 
59
                                                                                        </openerpsync>
 
60
                                                                                </children>
 
61
                                                                        </config>
 
62
                                                                </children>
 
63
                                                        </system>
 
64
                                                </children>
 
65
                                        </admin>
 
66
                                </resources>
 
67
                        </acl>
 
68
        </adminhtml>
 
69
        <frontend>
 
70
                        <events>
 
71
                                <!-- <sales_order_place_after> -->
 
72
                                <checkout_type_onepage_save_order_after>
 
73
                                        <observers>
 
74
                                                <exportorder>
 
75
                                                        <type>model</type>
 
76
                                                        <class>openerpsync/observer</class>
 
77
                                                        <method>exportOnOrderEvent</method>
 
78
                                                </exportorder>
 
79
                                        </observers>
 
80
                                </checkout_type_onepage_save_order_after>
 
81
                        </events>
 
82
                        <routers></routers>
 
83
                        <translate></translate>
 
84
                        <layout></layout>
 
85
        </frontend>
 
86
        <default>
 
87
                        <config_vars><!-- config values --></config_vars>
 
88
                        <openerpsync>
 
89
                                <settings>
 
90
                                        <enabled>0</enabled>
 
91
                                        <debug_flag>1</debug_flag>
 
92
                                        <api_password backend_model="adminhtml/system_config_backend_encrypted"/>
 
93
                                        <api_username backend_model="adminhtml/system_config_backend_encrypted"/>
 
94
                                </settings>
 
95
                        </openerpsync>
 
96
        </default>
 
97
 
 
98
</config>
 
99