[IMP] hr_recruitment: remove cancel button from wizard and improved view.
bzr revid: tpa@tinyerp.com-20120618053951-lm5i1rsholkvgmvr
This commit is contained in:
parent
f971e2c3c1
commit
3b4d7df5e4
|
@ -7,14 +7,12 @@
|
|||
<field name="model">hr.recruitment.partner.create</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Convert To Partner">
|
||||
<form string="Convert To Partner" version="7.0">
|
||||
<header>
|
||||
<button name="make_order" string="Create Contact" colspan="1" type="object" icon="gtk-execute" groups="base.group_partner_manager" class="oe_form_button_active_flow"/>
|
||||
</header>
|
||||
<group col="4" colspan="6">
|
||||
<label string="Are you sure you want to create a contact based on this job request ?"/>
|
||||
</group>
|
||||
<separator colspan="4"/>
|
||||
<group col="2" colspan="4">
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="make_order" string="Create Contact" colspan="1" type="object" icon="gtk-execute" groups="base.group_partner_manager"/>
|
||||
<label string="Are you sure you want to create a contact based on this job request ?"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
|
|
|
@ -7,13 +7,12 @@
|
|||
<field name="model">hired.employee</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Create New Employee">
|
||||
<label string="Would you like to create an employee ?" colspan="4" />
|
||||
<separator string="" colspan="4"/>
|
||||
<newline />
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="case_close" string="No" icon='gtk-no' type="object"/>
|
||||
<button name="case_close_with_emp" string="Yes" colspan="1" type="object" icon="terp-camera_test"/>
|
||||
<form string="Create New Employee" version="7.0">
|
||||
<header>
|
||||
<button name="case_close" string="No" icon='gtk-no' type="object" class="oe_form_button_active_flow"/>
|
||||
<button name="case_close_with_emp" string="Yes" colspan="1" type="object" icon="terp-camera_test" class="oe_form_button_active_flow"/>
|
||||
</header>
|
||||
<label string="Would you like to create an employee ?" colspan="4" />
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
<field name="model">hr.recruitment.job2phonecall</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Schedule Phone Call">
|
||||
<form string="Schedule Phone Call" version="7.0">
|
||||
<header>
|
||||
<button name="make_phonecall" string="Schedule Phone Call" colspan="1" type="object" icon="gtk-execute" class="oe_form_button_active_flow"/>
|
||||
</header>
|
||||
<group col="4" colspan="6">
|
||||
<separator string="Phone Call Description" colspan="4" />
|
||||
<newline />
|
||||
|
@ -18,11 +21,6 @@
|
|||
<newline />
|
||||
<field name='category_id' domain="[('object_id.model', '=', 'crm.phonecall')]"/>
|
||||
</group>
|
||||
<separator colspan="4"/>
|
||||
<group col="2" colspan="4">
|
||||
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
|
||||
<button name="make_phonecall" string="Schedule Phone Call" colspan="1" type="object" icon="gtk-execute"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue