diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-11-11 03:39:03 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-11-11 03:39:03 +0100 |
| commit | d9554b698a44bbd2fadcdd23ac60c4477be6ace0 (patch) | |
| tree | e5bd87dfd38683e718c11b889bd2e91521a611fc /doc/03_module_dev_01.rst | |
| parent | 4820450aef943e25aedc7e767e39f08cdadd8f18 (diff) | |
rearrange toc, remove some deprecated stuff
bzr revid: al@openerp.com-20121111023903-yus5wxlw06ods46f
Diffstat (limited to 'doc/03_module_dev_01.rst')
| -rw-r--r-- | doc/03_module_dev_01.rst | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/doc/03_module_dev_01.rst b/doc/03_module_dev_01.rst index b704e44fcab..a537f5fe396 100644 --- a/doc/03_module_dev_01.rst +++ b/doc/03_module_dev_01.rst @@ -416,43 +416,6 @@ OpenERP uses a flexible and powerful reporting system. Reports are generated eit Reports are described more in details in the `Reporting <http://openobject.com/wiki/index.php/Developers:Developper%27s_Book/Reports>`_ chapter. -Wizards -""""""" - -Here's an example of a .XML file that declares a wizard. - -.. code-block:: xml - - <?xml version="1.0"?> - <openerp> - <data> - <wizard string="Employee Info" - model="hr.employee" - name="employee.info.wizard" - id="wizard_employee_info"/> - </data> - </openerp> - -A wizard is declared using a wizard tag. See "Add A New Wizard" for more information about wizard XML. - -also you can add wizard in menu using following xml entry - -.. code-block:: xml - - <?xml version="1.0"?> - </openerp> - <data> - <wizard string="Employee Info" - model="hr.employee" - name="employee.info.wizard" - id="wizard_employee_info"/> - <menuitem - name="Human Resource/Employee Info" - action="wizard_employee_info" - type="wizard" - id="menu_wizard_employee_info"/> - </data> - </openerp> Workflow """""""" @@ -491,63 +454,6 @@ The squared nodes represent other Workflows; * the shipping -Profile Module -++++++++++++++ - -The purpose of a profile is to initialize OpenERP with a set of modules directly after the database has been created. A profile is a special kind of module that contains no code, only *dependencies on other modules*. - -In order to create a profile, you only have to create a new directory in server/addons (you *should* call this folder profile_modulename), in which you put an *empty* __init__.py file (as every directory Python imports must contain an __init__.py file), and a __openerp__.py whose structure is as follows : - -.. code-block:: python - - { - "name":"''Name of the Profile'', - "version":"''Version String''", - "author":"''Author Name''", - "category":"Profile", - "depends":[''List of the modules to install with the profile''], - "demo_xml":[], - "update_xml":[], - "active":False, - "installable":True, - } - -Here's the code of the file source/addons/profile_tools/__openerp__.py, -which corresponds to the tools profile in OpenERP. - -.. code-block:: python - - { - "name" : "Miscellaneous Tools", - "version" : "1.0", - "depends" : ["base", "base_setup"], - "author" : "OpenERP SA", - "category" : "Hidden/Dependency", - 'complexity': "easy", - "description": """ - Installer for extra Hidden like lunch, survey, idea, share, etc. - ================================================================ - - Makes the Extra Hidden Configuration available from where you can install - modules like share, lunch, pad, idea, survey and subscription. - """, - 'website': 'http://www.openerp.com', - 'init_xml': [], - 'update_xml': [ - ], - 'demo_xml': [], - 'installable': True, - 'auto_install': False, - 'certificate' : '00557100228403879621', - 'images': ['images/config_extra_Hidden.jpeg'], - } - - - - - - - Appendix +++++++++ |
