[imp] interface of initial view type configuration

bzr revid: xmo@tinyerp.com-20091217153008-ufhe2lren1j9keo1
This commit is contained in:
Xavier Morel 2009-12-17 16:30:08 +01:00
parent bbb9d6bab1
commit ea45f7a98c
2 changed files with 15 additions and 7 deletions

View File

@ -269,13 +269,19 @@
<group string="res_config_contents" position="replace">
<label colspan="4" align="0.0" string='
Choose between the simplified interface and the extended one.
If you are testing or using OpenERP for the first time, we suggest you use
the simplified interface, which has less options and fields but is easier to
understand. You will be able to switch to the extended view later.
Choose between the simplified interface and the extended
one.'/>
<newline/>
<label colspan="4" align="0.0" string='
If you are testing OpenERP or using it for the first time,
we suggest you use the simplified interface. It has less
options and fields but is easier to understand.'/>
<newline/>
<label colspan="4" align="0.0" string='
You will be able to switch to the extended interface later.
'/>
<separator string="Choose Your Mode" colspan="4"/>
<field colspan="2" name="view"/>
<separator string="Choose Your Interface" colspan="4"/>
<field colspan="2" name="view" nolabel="1"/>
</group>
<xpath expr='//button[@name="action_skip"]' position='replace'/>
<xpath expr='//button[@name="action_next"]' position='attributes'>

View File

@ -303,7 +303,9 @@ class res_config_view(osv.osv_memory):
_inherit = 'res.config'
_columns = {
'name':fields.char('Name', size=64),
'view': fields.selection([('simple','Simplified Interface'),('extended','Extended Interface')], 'View Mode', required=True ),
'view': fields.selection([('simple','Simplified'),
('extended','Extended')],
'Interface', required=True ),
}
_defaults={
'view':lambda *args: 'simple',