[FIX] base: Add the visible field in the ir.module.category, this field will be used by the new base.setup.installer
bzr revid: stw@openerp.com-20111005142315-r9ypz1jeqbi8rfpo
This commit is contained in:
parent
7fdabc5b66
commit
54fcb73fc1
|
@ -78,9 +78,14 @@ class module_category(osv.osv):
|
|||
'module_ids' : fields.one2many('ir.module.module', 'category_id', 'Modules'),
|
||||
'description' : fields.text("Description"),
|
||||
'sequence' : fields.integer('Sequence'),
|
||||
'visible' : fields.boolean('Visible'),
|
||||
}
|
||||
_order = 'name'
|
||||
|
||||
_defaults = {
|
||||
'visible' : 1,
|
||||
}
|
||||
|
||||
class module(osv.osv):
|
||||
_name = "ir.module.module"
|
||||
_description = "Module"
|
||||
|
|
|
@ -1,10 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record model="ir.module.category" id="module_category_hidden">
|
||||
<field name="name">Hidden</field>
|
||||
<field name="sequence">0</field>
|
||||
<field name="visible" eval="0" />
|
||||
</record>
|
||||
|
||||
<record model="ir.module.category" id="module_category_link">
|
||||
<field name="parent_id" ref="module_category_hidden" />
|
||||
<field name="name">Link</field>
|
||||
<field name="sequence">0</field>
|
||||
<field name="visible" eval="0" />
|
||||
</record>
|
||||
|
||||
<record model="ir.module.category" id="module_category_customer_relationship_management">
|
||||
<field name="name">Customer Relationship Management</field>
|
||||
<field name="description">Helps you track and manage relations with customers such as leads, requests or issues. Can automatically send reminders, escalate requests or trigger business-specific actions based on standard events.</field>
|
||||
|
@ -91,6 +100,7 @@
|
|||
|
||||
<record model="ir.module.category" id="module_category_localization">
|
||||
<field name="name">Localization</field>
|
||||
<field name="visible" eval="0" />
|
||||
</record>
|
||||
|
||||
<record model="ir.module.category" id="module_category_localization_account_charts">
|
||||
|
@ -103,6 +113,10 @@
|
|||
<field name="description">Installs a preselected set of OpenERP applications which will help you manage your association more efficiently.</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.module.category" id="module_category_vertical_applications">
|
||||
<field name="name">Vertical Applications</field>
|
||||
</record>
|
||||
|
||||
<!-- <record id="ir_ui_view_sc_modules0" model="ir.ui.view_sc">-->
|
||||
<!-- <field name="name">Modules</field>-->
|
||||
<!-- <field name="resource">ir.ui.menu</field>-->
|
||||
|
|
Loading…
Reference in New Issue