Skip to content

Commit 5791114

Browse files
author
Stephane Wirtel
committedSep 26, 2011
[IMP] Move all installers into base_setup
bzr revid: [email protected]
1 parent 9633196 commit 5791114

40 files changed

+299
-793
lines changed
 

‎addons/account/account_installer.xml

-20
Original file line numberDiff line numberDiff line change
@@ -43,26 +43,6 @@
4343
</field>
4444
</record>
4545

46-
<record id="view_account_modules_installer" model="ir.ui.view">
47-
<field name="name">account.installer.modules.form</field>
48-
<field name="model">base.setup.installer</field>
49-
<field name="type">form</field>
50-
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
51-
<field name="arch" type="xml">
52-
<data>
53-
<xpath expr="//group[@name='account_accountant']" position="replace">
54-
<newline/>
55-
<separator string="Accounting &amp; Finance Features" colspan="4"/>
56-
<field name="account_followup"/>
57-
<field name="account_payment"/>
58-
<field name="account_analytic_plans"/>
59-
<field name="account_anglo_saxon"/>
60-
<field name="account_asset"/>
61-
</xpath>
62-
</data>
63-
</field>
64-
</record>
65-
6646
<record id="action_account_configuration_installer" model="ir.actions.act_window">
6747
<field name="name">Accounting Chart Configuration</field>
6848
<field name="type">ir.actions.act_window</field>

‎addons/account/installer.py

-22
Original file line numberDiff line numberDiff line change
@@ -239,26 +239,4 @@ def modules_to_install(self, cr, uid, ids, context=None):
239239

240240
account_installer()
241241

242-
class account_installer_modules(osv.osv_memory):
243-
_inherit = 'base.setup.installer'
244-
_columns = {
245-
'account_analytic_plans': fields.boolean('Multiple Analytic Plans',
246-
help="Allows invoice lines to impact multiple analytic accounts "
247-
"simultaneously."),
248-
'account_payment': fields.boolean('Suppliers Payment Management',
249-
help="Streamlines invoice payment and creates hooks to plug "
250-
"automated payment systems in."),
251-
'account_followup': fields.boolean('Followups Management',
252-
help="Helps you generate reminder letters for unpaid invoices, "
253-
"including multiple levels of reminding and customized "
254-
"per-partner policies."),
255-
'account_anglo_saxon': fields.boolean('Anglo-Saxon Accounting',
256-
help="This module will support the Anglo-Saxons accounting methodology by "
257-
"changing the accounting logic with stock transactions."),
258-
'account_asset': fields.boolean('Assets Management',
259-
help="Helps you to manage your assets and their depreciation entries."),
260-
}
261-
262-
account_installer_modules()
263-
264242
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

‎addons/association/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,5 @@
1818
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1919
#
2020
##############################################################################
21-
import profile_association
2221
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
2322

‎addons/association/profile_association.py

-53
This file was deleted.

‎addons/association/profile_association.xml

-18
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<openerp>
33
<data>
4-
<record id="view_confirm_install_module_form" model="ir.ui.view">
5-
<field name="name">Association Application Configuration</field>
6-
<field name="model">base.setup.installer</field>
7-
<field name="type">form</field>
8-
<field name="inherit_id" ref="base_setup.view_base_setup_installer"/>
9-
<field name="arch" type="xml">
10-
<data>
11-
<xpath expr="//group[@name='association']" position="replace">
12-
<newline/>
13-
<separator string="Associations Features" colspan="4" />
14-
<field name="project_gtd" />
15-
<field name="wiki" />
16-
<field name="event_project" />
17-
<field name="hr_expense" />
18-
</xpath>
19-
</data>
20-
</field>
21-
</record>
224
<menuitem
235
name="Association"
246
id="base.menu_association"

0 commit comments

Comments
 (0)