[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="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Modify Asset"> <form string="Modify Asset">
<group colspan="4" col="4"> <header>
<separator string="Asset Durations to Modify" colspan="4"/> <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"/> <field name="name" colspan="4"/>
<group colspan="2" col="2"> <group colspan="2" col="2">
<field name="method_number"/> <field name="method_number"/>
<field name="method_end"/> <field name="method_end"/>
</group> </group>
<field name="method_period"/> <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> </group>
<separator string="Notes"/>
<field name="note"/>
</form> </form>
</field> </field>
</record> </record>

View File

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

View File

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

View File

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

View File

@ -20,7 +20,6 @@
</group> </group>
<separator string="" colspan="4"/> <separator string="" colspan="4"/>
<group colspan="4" col="4"> <group colspan="4" col="4">
<group colspan="2" col="2"/>
<group colspan="2" col="2"> <group colspan="2" col="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/> <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="import_google" string="_Import Contacts" type="object" icon="terp-personal+"/> <button name="import_google" string="_Import Contacts" type="object" icon="terp-personal+"/>
@ -43,7 +42,6 @@
</group> </group>
<separator string="" colspan="4"/> <separator string="" colspan="4"/>
<group colspan="4" col="4"> <group colspan="4" col="4">
<group colspan="2" col="2"/>
<group colspan="2" col="2"> <group colspan="2" col="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/> <button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="import_google" string="_Import Events" type="object" icon="terp-calendar"/> <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 name="procure_calculation" string="Compute Schedulers" type="object" icon="gtk-ok" />
<button icon='gtk-cancel' special="cancel" string="Cancel" /> <button icon='gtk-cancel' special="cancel" string="Cancel" />
</header> </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"/> <field name="automatic"/>
</group> </group>
</form> </form>