~xrg/openobject-doc/trunk-xrg

« back to all changes in this revision

Viewing changes to source/book/8/8_20_Config/8_20_Config_module.rst

  • Committer: TruongSinh Tran
  • Date: 2009-07-17 18:59:45 UTC
  • Revision ID: truongsinh@vipescoserver-20090717185945-ajjp3zso6xh5jddm
[FIX]private issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.. index::
 
2
   pair: configuring; module
 
3
 
 
4
Creating a Configuration Module
 
5
===============================
 
6
 
 
7
It's very helpful to be able to backup your specific configuration settings in an Open ERP module
 
8
dedicated just to that. That enables you to:
 
9
 
 
10
* automatically duplicate the configuration settings by installing the module in another database,
 
11
 
 
12
* reinstall a clean database with your own configuration in case you have problems with the initial
 
13
  configuration,
 
14
 
 
15
* publish your specific configuration to benefit other companies in the same industrial sector,
 
16
 
 
17
* simplify migrations, if you have modified some elements of the basic configuration, there's a risk
 
18
  in returning them to their original state after the migration, unless you've saved the modifications
 
19
  in a module.
 
20
 
 
21
.. index::
 
22
   single: module; base_module_record
 
23
 
 
24
Start by installing the module :mod:`base_module_record` in the usual way. Then start recording
 
25
your actions using the menu :menuselection:`Administration --> Modules Management --> Modules
 
26
Recording --> Start Recording`. Manually make all your configuration changes through the user
 
27
interface as you would normally (such as menu management, dashboard assignments, screen
 
28
configuration, new reports, and access rights management – details of some of these possibilities
 
29
are described later in this chapter).
 
30
 
 
31
Once you've done all this, go to the menu :menuselection:`Administration --> Modules Management -->
 
32
Modules Recording --> Save Recorded Module`.
 
33
 
 
34
.. index::
 
35
   single: module; base_module_publish
 
36
 
 
37
.. note:: Contributing to the development of Open ERP
 
38
 
 
39
        Once your personal configuration has been saved into a module, install the module
 
40
        :mod:`base_module_publish`.
 
41
        This gives you a new possible action :guilabel:`Publish Module` in the menu :menuselection:`Administration -->
 
42
        Modules Manage --> Modules`.
 
43
 
 
44
        Use this function to publish your module on the official Open ERP site.
 
45
        It could then be reused by other companies that have the same needs as yours.
 
46
        You could then yourselves benefit from improvements made by these same companies in future.
 
47
 
 
48
        Don't forget to create a user account beforehand on http://openerp.com.
 
49
 
 
50
Open ERP then creates a ZIP file for you containing all of the modifications you made while you
 
51
were carrying out your configuration work. You could reinstall this module on other databases and/or
 
52
publish it online to help other companies. This could turn out to be useful if you want to install a
 
53
test server for your company's users and give them the same configuration as the production server.
 
54
 
 
55
To install a new module saved in ZIP file form, use the menu :menuselection:`Administration -->
 
56
Modules Management --> Import a new module`.
 
57
 
 
58
 
 
59
.. Copyright © Open Object Press. All rights reserved.
 
60
 
 
61
.. You may take electronic copy of this publication and distribute it if you don't
 
62
.. change the content. You can also print a copy to be read by yourself only.
 
63
 
 
64
.. We have contracts with different publishers in different countries to sell and
 
65
.. distribute paper or electronic based versions of this book (translated or not)
 
66
.. in bookstores. This helps to distribute and promote the Open ERP product. It
 
67
.. also helps us to create incentives to pay contributors and authors using author
 
68
.. rights of these sales.
 
69
 
 
70
.. Due to this, grants to translate, modify or sell this book are strictly
 
71
.. forbidden, unless Tiny SPRL (representing Open Object Press) gives you a
 
72
.. written authorisation for this.
 
73
 
 
74
.. Many of the designations used by manufacturers and suppliers to distinguish their
 
75
.. products are claimed as trademarks. Where those designations appear in this book,
 
76
.. and Open Object Press was aware of a trademark claim, the designations have been
 
77
.. printed in initial capitals.
 
78
 
 
79
.. While every precaution has been taken in the preparation of this book, the publisher
 
80
.. and the authors assume no responsibility for errors or omissions, or for damages
 
81
.. resulting from the use of the information contained herein.
 
82
 
 
83
.. Published by Open Object Press, Grand Rosière, Belgium
 
84