From 97f1dd1dece7d8a1265a6c227f257c2080e4a657 Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Mon, 10 May 2010 11:26:10 +0530 Subject: [PATCH] [IMP]:gk contact form bzr revid: nch@tinyerp.com-20100510055610-42b6m381dmai1vln --- addons/base_setup/gtk_contact_form.xml | 46 ++++++++++++-------------- 1 file changed, 21 insertions(+), 25 deletions(-) diff --git a/addons/base_setup/gtk_contact_form.xml b/addons/base_setup/gtk_contact_form.xml index b220db020c6f..c4fe08207dd5 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> -- GitLab