diff options
| author | aag (OpenERP) <aag@tinyerp.co.in> | 2011-06-06 12:18:42 +0530 |
|---|---|---|
| committer | aag (OpenERP) <aag@tinyerp.co.in> | 2011-06-06 12:18:42 +0530 |
| commit | f73634dbaadfe60e45afb36ed827e2166dfcc0c2 (patch) | |
| tree | 6c78839fe6e3ca867c471a1114f45dc8c0c2092a | |
| parent | 4060d1d3fa18cae8a3c1f283c113066fa87bb463 (diff) | |
[IMP]Account:merge installer wiz of account to Inastall Appl wiz
bzr revid: aag@tinyerp.co.in-20110606064842-dup1k2mtmwi3vo2g
| -rw-r--r-- | addons/account/account_installer.xml | 52 | ||||
| -rw-r--r-- | addons/account/installer.py | 3 |
2 files changed, 11 insertions, 44 deletions
diff --git a/addons/account/account_installer.xml b/addons/account/account_installer.xml index 766a9b888bc..b8ecb5e11f3 100644 --- a/addons/account/account_installer.xml +++ b/addons/account/account_installer.xml @@ -45,35 +45,20 @@ <record id="view_account_modules_installer" model="ir.ui.view"> <field name="name">account.installer.modules.form</field> - <field name="model">account.installer.modules</field> + <field name="model">base.setup.installer</field> <field name="type">form</field> - <field name="inherit_id" ref="base.res_config_installer"/> + <field name="inherit_id" ref="base_setup.view_base_setup_installer"/> <field name="arch" type="xml"> <data> - <form position="attributes"> - <attribute name="string">Accounting Application Configuration</attribute> - </form> - <separator string="title" position="attributes"> - <attribute name="string">Configure Your Accounting Application</attribute> - - </separator> - <xpath expr="//label[@string='description']" position="attributes"> - <attribute name="string">Add extra Accounting functionalities to the ones already installed.</attribute> - </xpath> - <xpath expr="//button[@string='Install Modules']" position="attributes"> - <attribute name="string">Configure</attribute> - </xpath> - <xpath expr='//separator[@string="vsep"]' position='attributes'> - <attribute name='string'></attribute> + <xpath expr="//field[@name='report_designer']" position="after"> + <newline/> + <separator string="Accounting & Finance Features" colspan="4" /> + <field name="account_voucher"/> + <field name="account_followup"/> + <field name="account_payment"/> + <field name="account_analytic_plans"/> + <field name="account_anglo_saxon"/> </xpath> - <group colspan="8"> - <field name="account_voucher"/> - <field name="account_followup"/> - <field name="account_payment"/> - <field name="account_analytic_plans"/> - <field name="account_anglo_saxon"/> -<!-- <field name="account_voucher_payment"/>--> - </group> </data> </field> </record> @@ -88,28 +73,11 @@ <field name="target">new</field> </record> - <record id="action_account_installer" model="ir.actions.act_window"> - <field name="name">Accounting Application Configuration</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">account.installer.modules</field> - <field name="view_id" ref="view_account_modules_installer"/> - <field name="view_type">form</field> - <field name="view_mode">form</field> - <field name="target">new</field> - </record> - <record id="account_configuration_installer_todo" model="ir.actions.todo"> <field name="action_id" ref="action_account_configuration_installer"/> <field name="sequence">3</field> <field name="type">special</field> </record> - <record id="account_installer_todo" model="ir.actions.todo"> - <field name="action_id" ref="action_account_installer"/> - <field name="sequence">5</field> - <field name="type">special</field> - <field eval="[(6,0,[ref('base.group_extended')])]" name="groups_id"/> - </record> - </data> </openerp> diff --git a/addons/account/installer.py b/addons/account/installer.py index b8b0ab1f6e3..26027573c27 100644 --- a/addons/account/installer.py +++ b/addons/account/installer.py @@ -245,8 +245,7 @@ class account_installer(osv.osv_memory): account_installer() class account_installer_modules(osv.osv_memory): - _name = 'account.installer.modules' - _inherit = 'res.config.installer' + _inherit = 'base.setup.installer' _columns = { 'account_analytic_plans': fields.boolean('Multiple Analytic Plans', help="Allows invoice lines to impact multiple analytic accounts " |
