[IMP] improved <group> tags bugfixes

bzr revid: fp@tinyerp.com-20120609094433-o7svbpvk48omvknd
This commit is contained in:
Fabien Pinckaers 2012-06-09 11:44:33 +02:00
parent 7c8e38b179
commit 9826127148
6 changed files with 24 additions and 43 deletions

View File

@ -8,25 +8,20 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Modify Asset">
<group colspan="4" col="4">
<separator string="Asset Durations to Modify" colspan="4"/>
<header>
<button name="modify" string="Modify" type="object" icon="terp-camera_test"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
</header>
<group string="Asset Durations to Modify" col="4">
<field name="name" colspan="4"/>
<group colspan="2" col="2">
<field name="method_number"/>
<field name="method_end"/>
</group>
<field name="method_period"/>
<separator string="Notes" colspan="4"/>
<field name="note" nolabel="1" colspan="4"/>
</group>
<newline/>
<group colspan="4" col="4">
<separator string ="" colspan="4"/>
<newline/>
<group colspan="2" col="2"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="modify" string="Modify" type="object" icon="terp-camera_test"/>
</group>
<separator string="Notes"/>
<field name="note"/>
</form>
</field>
</record>

View File

@ -8,13 +8,12 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Questionnaires">
<field name="questionnaire_id" required="1"/>
<newline/>
<separator string="" colspan="4"/>
<group col="4" colspan="4">
<group col="2" colspan="2"/>
<button special="cancel" icon="gtk-cancel" string="Cancel"/>
<header>
<button name="build_form" string="Open Questionnaire" icon="terp-camera_test" type="object"/>
<button special="cancel" icon="gtk-cancel" string="Cancel"/>
</header>
<group>
<field name="questionnaire_id"/>
</group>
</form>
</field>

View File

@ -7,21 +7,14 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Google login" >
<group colspan="4" col="4" width="300">
<field name="user" />
<newline/>
<label string="ex: user@gmail.com" align="1.0" colspan="2"/>
<newline/>
<header>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="login" string="_Login" type="object" icon="terp-check"/>
</header>
<group>
<field name="user" placeholder="user@gmail.com"/>
<field name="password" password="True"/>
</group>
<separator string="" colspan="4"/>
<group colspan="4" col="4">
<group colspan="2"/>
<group colspan="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="login" string="_Login" type="object" icon="terp-check"/>
</group>
</group>
</form>
</field>
</record>

View File

@ -8,15 +8,11 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import Google Data">
<group colspan="4" col="4" width="300">
<field name='name' nolabel='1'/>
</group>
<separator string="" colspan="4"/>
<group colspan="4">
<group colspan="2"/>
<group colspan="2">
<button icon="gtk-ok" special="cancel" string="_Ok"/>
</group>
<header>
<button icon="gtk-ok" special="cancel" string="_Ok"/>
</header>
<group>
<field name='name'/>
</group>
</form>
</field>

View File

@ -20,7 +20,6 @@
</group>
<separator string="" colspan="4"/>
<group colspan="4" col="4">
<group colspan="2" col="2"/>
<group colspan="2" col="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="import_google" string="_Import Contacts" type="object" icon="terp-personal+"/>
@ -43,7 +42,6 @@
</group>
<separator string="" colspan="4"/>
<group colspan="4" col="4">
<group colspan="2" col="2"/>
<group colspan="2" col="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="import_google" string="_Import Events" type="object" icon="terp-calendar"/>

View File

@ -14,7 +14,7 @@
<button name="procure_calculation" string="Compute Schedulers" type="object" icon="gtk-ok" />
<button icon='gtk-cancel' special="cancel" string="Cancel" />
</header>
<group string="This wizard allows you to run all procurement, production and/or purchase orders that should be processed based on their configuration. By default, the scheduler is launched automatically every night by OpenERP. You can use this menu to force it to be launched now. Note that it runs in the background, you may have to wait for a few minutes until it has finished computing."/>
<group string="This wizard allows you to run all procurement, production and/or purchase orders that should be processed based on their configuration. By default, the scheduler is launched automatically every night by OpenERP. You can use this menu to force it to be launched now. Note that it runs in the background, you may have to wait for a few minutes until it has finished computing.">
<field name="automatic"/>
</group>
</form>