diff --git a/addons/base_setup/gtk_contact_form.xml b/addons/base_setup/gtk_contact_form.xml index b220db020c6f90772c3799ff0a59297f0b971ac6..c4fe08207dd5c75542f6548871d148b691db533f 100644 --- a/addons/base_setup/gtk_contact_form.xml +++ b/addons/base_setup/gtk_contact_form.xml @@ -14,7 +14,7 @@ <attribute name="string">Information about you and the company you are related too. The Basic information related to the company has already been collected and some more information required by you to fill.</attribute> </xpath> <xpath expr='//separator[@string="title"]' position='attributes'> - <attribute name='string'>About You</attribute> + <attribute name='string'>Do You Need Them ?</attribute> <attribute name='colspan'>4</attribute> </xpath> <xpath expr='//separator[@string="vsep"]' position='attributes'> @@ -22,8 +22,15 @@ <attribute name='string'></attribute> </xpath> <group string="res_config_contents" position="replace"> - <group colspan="4"> - <group colspan="2"> + <group colspan="4" height="450" width="600"> + <group colspan="4"> + <field name="ebook" nolabel="1"/> + <label align="0.0" string="I want to receive the Open ERP ebook (PDF) by email." colspan="3"/> + <field name="updates" nolabel="1"/> + <label align="0.0" string="Yes, I would like to receive information updates from OpenERP." colspan="3"/> + </group> + <group colspan="4" attrs="{'invisible':[('ebook','=',False),('updates','=',False)]}"> + <separator colspan="4" string="About You"/> <field name="name" colspan="2" required="True"/> <field name="job" colspan="2"/> <field name="email" colspan="2"/> @@ -31,31 +38,20 @@ <field name="total_employees" colspan="2"/> <field name="industry" colspan="2"/> </group> - <newline/> - <group colspan="4"> + <group colspan="4" attrs="{'invisible':[('ebook','=',False),('updates','=',False)]}"> <separator string="Your projects with OpenERP" colspan="4"/> - <field name="use_openerp" colspan="1"/> - <field name="already_using_openerp" colspan="1"/> - <field name="sell_openerp" colspan="1"/> - <field name="already_selling__openerp" colspan="1"/> - </group> - <group colspan="4"> + <field name="use_openerp" align="0.0" colspan="1"/> + <field name="already_using_openerp" align="0.0" colspan="1"/> + <field name="sell_openerp" align="0.0" colspan="1"/> + <field name="already_selling__openerp" align="0.0" colspan="1"/> <separator colspan="4" string="You would like to know more about"/> - <field name="features" colspan="1"/> - <field name="saas" colspan="1"/> - <field name="partners_program" colspan="1"/> - <field name="support" colspan="1"/> - <field name="training" colspan="1"/> - <field name="other" colspan="1"/> + <field name="features" align="0.0" colspan="1"/> + <field name="training" align="0.0" colspan="1"/> + <field name="saas" align="0.0" colspan="1"/> + <field name="support" align="0.0" colspan="1"/> + <field name="partners_program" align="0.0" colspan="1"/> + <field name="other" align="0.0" colspan="1"/> </group> - <group colspan="2"> - <separator colspan="4" string="Do You Need Them ?"/> - <field name="ebook" nolabel="1" colspan="1"/> - <label align="0.0" string="I want to receive the Open ERP ebook (PDF) by email." colspan="1"/> - <newline/> - <field name="updates" nolabel="1" colspan="1"/> - <label align="0.0" string="Yes, I would like to receive information updates from OpenERP." colspan="1"/> - </group> </group> </group> </data>