~openerp-community/openobject-doc/ksa-openobject-doc-6.0

« back to all changes in this revision

Viewing changes to i18n/ru/source/developer/1_2_module_development/2_module_integration.rst

  • Committer: Don Kirkby
  • Date: 2011-02-21 20:46:11 UTC
  • mfrom: (433.1.53 openobject-doc)
  • Revision ID: donkirkby+launpd@gmail.com-20110221204611-1ykt6dmg4k3gh5dh
[MERGE] revisions 477 to 486 from the 5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
.. i18n: Module Integrations
 
3
.. i18n: ===================
 
4
..
 
5
 
 
6
Module Integrations
 
7
===================
 
8
 
 
9
.. i18n: The are many different modules available for OpenERP and suited for different business models. Nearly all of these are optional (except ModulesAdminBase), making it easy to customize OpenERP to serve specific business needs. All the modules are in a directory named addons/ on the server. You simply need to copy or delete a module directory in order to either install or delete the module on the OpenERP platform.
 
10
..
 
11
 
 
12
The are many different modules available for OpenERP and suited for different business models. Nearly all of these are optional (except ModulesAdminBase), making it easy to customize OpenERP to serve specific business needs. All the modules are in a directory named addons/ on the server. You simply need to copy or delete a module directory in order to either install or delete the module on the OpenERP platform.
 
13
 
 
14
.. i18n: Some modules depend on other modules. See the file addons/module/__terp__.py for more information on the dependencies.
 
15
..
 
16
 
 
17
Some modules depend on other modules. See the file addons/module/__terp__.py for more information on the dependencies.
 
18
 
 
19
.. i18n: Here is an example of __terp__.py:
 
20
..
 
21
 
 
22
Here is an example of __terp__.py:
 
23
 
 
24
.. i18n: .. code-block:: python
 
25
.. i18n: 
 
26
.. i18n:        {
 
27
.. i18n:            "name" : "Open TERP Accounting",
 
28
.. i18n:            "version" : "1.0",
 
29
.. i18n:            "author" : "Bob Gates - Not So Tiny",
 
30
.. i18n:            "website" : "http://www.openerp.com/",
 
31
.. i18n:            "category" : "Generic Modules/Others",
 
32
.. i18n:            "depends" : ["base"],
 
33
.. i18n:            "description" : """A
 
34
.. i18n:            Multiline
 
35
.. i18n:            Description
 
36
.. i18n:            """,
 
37
.. i18n:            "init_xml" : ["account_workflow.xml", "account_data.xml", "account_demo.xml"],
 
38
.. i18n:            "demo_xml" : ["account_demo.xml"],
 
39
.. i18n:            "update_xml" : ["account_view.xml", "account_report.xml", "account_wizard.xml"],
 
40
.. i18n:            "active": False,
 
41
.. i18n:            "installable": True
 
42
.. i18n:        }
 
43
..
 
44
 
 
45
.. code-block:: python
 
46
 
 
47
        {
 
48
            "name" : "Open TERP Accounting",
 
49
            "version" : "1.0",
 
50
            "author" : "Bob Gates - Not So Tiny",
 
51
            "website" : "http://www.openerp.com/",
 
52
            "category" : "Generic Modules/Others",
 
53
            "depends" : ["base"],
 
54
            "description" : """A
 
55
            Multiline
 
56
            Description
 
57
            """,
 
58
            "init_xml" : ["account_workflow.xml", "account_data.xml", "account_demo.xml"],
 
59
            "demo_xml" : ["account_demo.xml"],
 
60
            "update_xml" : ["account_view.xml", "account_report.xml", "account_wizard.xml"],
 
61
            "active": False,
 
62
            "installable": True
 
63
        }
 
64
 
 
65
.. i18n: When initializing a module, the files in the init_xml list are evaluated in turn and then the files in the update_xml list are evaluated. When updating a module, only the files from the **update_xml** list are evaluated. 
 
66
..
 
67
 
 
68
When initializing a module, the files in the init_xml list are evaluated in turn and then the files in the update_xml list are evaluated. When updating a module, only the files from the **update_xml** list are evaluated.