[FIX] several typos
[odoo/odoo.git] / addons / hr_recruitment / res_config_view.xml
index 32575a4..aaee81f 100644 (file)
@@ -7,22 +7,18 @@
             <field name="type">form</field>
             <field name="inherit_id" ref="hr.view_human_resources_configuration"/>
             <field name="arch" type="xml">
-                <group name="config_recruitment" position="after">
-                    <separator  string="Recruitment" colspan="4"/>
-                    <field name="module_document_ftp"/>
-                    <newline/>
-                    <field name="fetchmail_applicants"/>
-                    <group colspan="2" attrs="{'invisible': [('fetchmail_applicants','=',False)]}">
-                        <field name="applicants_server" attrs="{'required': [('fetchmail_applicants','=',True)]}"/>
-                        <field name="applicants_type" attrs="{'required': [('fetchmail_applicants','=',True)]}"
-                            on_change="onchange_fetchmail('applicants', applicants_type, applicants_is_ssl)"/>
-                        <field name="applicants_port" attrs="{'required': [('fetchmail_applicants','=',True)]}"/>
-                        <field name="applicants_is_ssl" attrs="{'required': [('fetchmail_applicants','=',True)]}"
-                            on_change="onchange_fetchmail('applicants', applicants_type, applicants_is_ssl)"/>
-                        <field name="applicants_user" attrs="{'required': [('fetchmail_applicants','=',True)]}"/>
-                        <field name="applicants_password" password="True" attrs="{'required': [('fetchmail_applicants','=',True)]}"/>
-                    </group>   
-                </group>
+                <div name="recruitment" position="inside">
+                    <div>
+                        <field name="fetchmail_applicants" class="oe_inline"/>
+                        <label for="fetchmail_applicants"/>
+                        <button name="configure_fetchmail_applicants" type="object" string="Configure" icon="gtk-go-forward"
+                            attrs="{'invisible': [('fetchmail_applicants','=',False)]}" class="oe_link"/>
+                    </div>
+                    <div>
+                        <field name="module_document_ftp" class="oe_inline"/>
+                        <label for="module_document_ftp"/>
+                    </div>
+                </div>
             </field>
         </record>
     </data>