← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-728858-ara into lp:openobject-addons

 

Ashvin Rathod (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-728858-ara into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  #728858 Unable to create a new leave or allocation request in web-client
  https://bugs.launchpad.net/bugs/728858

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-728858-ara/+merge/52806

Hello,

Fix: Unable to create a new leave or allocation request in web-client
https://bugs.launchpad.net/openobject-addons/+bug/728858

Thanks,
ara
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-728858-ara/+merge/52806
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-728858-ara.
=== modified file 'hr_holidays/hr_holidays_view.xml'
--- hr_holidays/hr_holidays_view.xml	2011-03-09 15:55:27 +0000
+++ hr_holidays/hr_holidays_view.xml	2011-03-10 07:34:08 +0000
@@ -81,7 +81,7 @@
                     <notebook colspan="4">
                         <page string="General">
                             <field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}" />
-                            <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" />
+                            <field name="department_id" attrs="{'invisible':[('holiday_type','=','category')]}" />
                             <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1"/>
                             <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1"/>
                             <field name="number_of_days_temp"/>
@@ -125,7 +125,7 @@
                 <notebook colspan="4">
                     <page string="General">
                         <field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}" />
-                        <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" />
+                        <field name="department_id" attrs="{'invisible':[('holiday_type','=','category')]}" />
                         <field name="number_of_days_temp"/>
                         <newline/>
                         <field name="manager_id"/>


Follow ups