[IMP] base_setup: improve layout of general settings form
bzr revid: rco@openerp.com-20120622102036-ibnfb5pr09ooh7p8
This commit is contained in:
parent
f5f50124be
commit
0ac4fecbf4
|
@ -40,7 +40,7 @@ class base_config_settings(osv.osv_memory):
|
|||
'type': 'ir.actions.act_window',
|
||||
'name': 'Your Company',
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form,tree',
|
||||
'view_mode': 'form',
|
||||
'res_model': 'res.company',
|
||||
'res_id': user.company_id.id,
|
||||
}
|
||||
|
|
|
@ -11,25 +11,29 @@
|
|||
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
||||
<button string="Cancel" special="cancel"/>
|
||||
</header>
|
||||
<group>
|
||||
<sheet>
|
||||
<group string="Company Settings">
|
||||
<field name="module_multi_company"/>
|
||||
</group>
|
||||
<group string="Others">
|
||||
<b><label string="Outgoing Mail Servers"/></b>
|
||||
<button type="action" name="%(base.action_ir_mail_server_list)d"
|
||||
string="Configure" icon="gtk-execute"/>
|
||||
<group>
|
||||
<field name="module_multi_company"/>
|
||||
</group>
|
||||
<group>
|
||||
<div>
|
||||
You will also find several configuration options on your company data:
|
||||
address for the header and footer, overdue payments texts, etc.
|
||||
</div>
|
||||
<button type="object" name="open_company" string="Configure Your Company Data" icon="gtk-execute"/>
|
||||
</group>
|
||||
</group>
|
||||
<group string="External Accesses">
|
||||
<field name="module_share"/>
|
||||
<field name="module_portal"/>
|
||||
</group>
|
||||
<group col="4" colspan="4" >
|
||||
<p>You will also find several configuration options on your company data; address for the header and footer, overdue payments texts, etc.</p>
|
||||
<newline/>
|
||||
<p><button type="object" name="open_company" string="Configure Your Company Data" icon="gtk-execute"/></p>
|
||||
<group string="Others">
|
||||
<label for="id" string="Outgoing Mail Servers"/>
|
||||
<button type="action" name="%(base.action_ir_mail_server_list)d"
|
||||
string="Configure" icon="gtk-execute"/>
|
||||
</group>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue