[IMP] improve the general setting wizard

bzr revid: rma@tinyerp.com-20120731115721-vsyyb45w7pr8f4n8
This commit is contained in:
Randhir Mayatra (OpenERP) 2012-07-31 17:27:21 +05:30
parent 4a356cf9cc
commit 083b001671
3 changed files with 10 additions and 7 deletions

View File

@ -25,12 +25,12 @@ class base_config_settings(osv.osv_memory):
_name = 'base.config.settings'
_inherit = 'res.config.settings'
_columns = {
'module_multi_company': fields.boolean('Multi Company',
'module_multi_company': fields.boolean('manage multiple companies',
help="""Work in multi-company environments, with appropriate security access between companies.
This installs the module multi_company."""),
'module_portal': fields.boolean('Activate Customer Portal',
'module_portal': fields.boolean('activate customer portal',
help="""The portal will give access to a series of documents for your customers; his quotations, his invoices, his projects, etc."""),
'module_share': fields.boolean('Allow Sharing Resources to External Users',
'module_share': fields.boolean('allow sharing documents to',
help="""As an example, you will be able to share a project or some tasks to your customers, or quotes/sales to several persons at your customer company, or your agenda availabilities to your contacts."""),
}

View File

@ -34,7 +34,7 @@
<field name="module_share" class="oe_inline"/>
<label for="module_share"/>
</div>
<div>
<div name="portal">
<field name="module_portal" class="oe_inline"/>
<label for="module_portal"/>
</div>

View File

@ -6,9 +6,12 @@
<field name="inherit_id" ref="base_setup.view_general_configuration"/>
<field name="type">form</field>
<field name="arch" type="xml">
<field name="module_portal" position="after">
<field name="signup_template_user_id"/>
</field>
<div name="portal" position="after">
<div name="portal">
<label for="signup_template_user_id"/>
<field name="signup_template_user_id" class="oe_inline"/>
</div>
</div>
</field>
</record>
</data>