← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 728858] Re: Unable to create a new leave or allocation request in web-client

 

The problem seems to be with department_id field of hr_holidays object.
This field is of type fields.related with readonly=True. Whereas, in its
form view, its "readonly" property is set to depend on the field
holiday_type. I noticed that till trunk addons revision 3164.118.861
(later merged to the branch mainline in revision 4475), it was the
"invisible" property that depended on holiday_type. If I revert the
changes made in the above revision, everything seems to work fine.

I have attached a patch for your reference.

** Patch added: "hr_holidays_xml.patch"
   https://bugs.launchpad.net/openobject-client-web/+bug/728858/+attachment/1895591/+files/hr_holidays_xml.patch

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/728858

Title:
  Unable to create a new leave or allocation request in web-client

Status in OpenERP Web Client:
  Confirmed

Bug description:
  I encounter an error when I try to create a new leave request or
  allocation request using the hr_holidays module. Navigate to Human
  Resources > Holidays > Leave Requests. When I try to save a new record
  here, I get an error only in the web-client. It works fine in GTK-
  client. I have been facing this error since I updated my trunk addons
  to revision no. 4476.



References