reshape the users form view

bzr revid: rco@openerp.com-20110803075659-hb66ytaifqi4092e
This commit is contained in:
Raphael Collet
2011-08-03 09:56:59 +02:00
parent 3683a3aa06
commit c4e7c76d04
+28 -32
View File
@@ -81,18 +81,18 @@
<newline/>
<group colspan="2" col="2">
<separator string="Preferences" colspan="2"/>
<field name="context_lang" completion="1" readonly="0"/>
<field name="context_tz" completion="1" readonly="0"/>
<field name="menu_tips" colspan="2" readonly="0"/>
<field name="context_lang"/>
<field name="context_tz"/>
<field name="menu_tips"/>
</group>
<group name="default_filters" colspan="2" col="2">
<separator string="Default Filters" colspan="2"/>
<field name="company_id" widget="selection" readonly="0"
<field name="company_id" widget="selection"
groups="base.group_multi_company" on_change="on_change_company_id(company_id)"/>
</group>
<separator string="Email &amp; Signature" colspan="2"/>
<field colspan="4" name="user_email" widget="email" readonly="0"/>
<field colspan="4" name="signature" readonly="0" nolabel="1"/>
<field colspan="4" name="user_email" widget="email"/>
<field colspan="4" name="signature" nolabel="1"/>
</form>
</field>
</record>
@@ -103,45 +103,41 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Users">
<field name="name" select="1"/>
<field name="active"/>
<field name="login" select="1"/>
<field name="new_password" password="True"/>
<newline/>
<group colspan="4" col="6">
<field name="name" select="1"/>
<field name="login" select="1"/>
<field name="new_password" password="True"/>
<field name="active"/>
</group>
<notebook colspan="4">
<page string="User">
<group colspan="1" col="2">
<separator string="Contact" colspan="2"/>
<separator string="Preferences" colspan="2"/>
<field name="context_lang"/>
<field name="context_tz"/>
<field name="menu_tips"/>
</group>
<group name="default_filters" colspan="1" col="2">
<separator string="Default Filters" colspan="2"/>
<field name="company_id" required="1"
context="{'user_preference': 0}"
groups="base.group_multi_company"
/>
<field name="address_id"/>
<field name="user_email" widget="email"/>
groups="base.group_multi_company"/>
</group>
<group colspan="1" col="2" groups="base.group_extended">
<separator string="Action" colspan="2"/>
<field name="action_id"/>
<field domain="[('usage','=','menu')]" name="menu_id" required="True"/>
</group>
<group colspan="1" col="2">
<separator string="Preferences" colspan="2"/>
<field name="context_lang"/>
<field name="context_tz"/>
<group colspan="2" col="4">
<field name="view" readonly="0"/>
<field name="menu_tips" colspan="2"/>
</group>
</group>
<newline/>
<group colspan="2" col="2">
<separator string="Signature" colspan="2"/>
<field colspan="2" name="signature" nolabel="1"/>
</group>
<group colspan="2" col="2" expand="1">
<separator string="Groups" colspan="2"/>
<field colspan="2" nolabel="1" name="groups_id"/>
<separator string="Email &amp; Signature" colspan="2"/>
<group colspan="4">
<field name="user_email" widget="email"/>
</group>
<field colspan="4" name="signature" nolabel="1"/>
<newline/>
</page>
<page string="Access Rights">
<field nolabel="1" name="groups_id"/>
</page>
<page string="Companies" groups="base.group_multi_company">
<field colspan="4" nolabel="1" name="company_ids" select="1"/>