cannot approve a leave request

Bug #893491 reported by Aline (OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 3

Bug Description

trunk

create a leave request from Human Resources/Leaves/Leave Requests to Approve, confirm it and approve it

Unicity error :

[2011-11-22 08:58:03,867][?] WARNING:orm:No such field(s) in model crm.meeting: note.
[2011-11-22 08:58:03,888][?] ERROR:db.cursor:bad query: insert into "resource_calendar_leaves" (id,"name","holiday_id","resource_id","calendar_id","date_from","date_to",create_uid,create_date) values (2,E'gbhrth',4,1,NULL,NULL,NULL,1,now())
Traceback (most recent call last):
  File "/home/aline/source/server/trunk/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
IntegrityError: null value in column "date_from" violates not-null constraint

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Low
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DJ Patel (OpenERP) (mdi-openerp) wrote :

Hello Aline,

Thanks for reporting. The solution for this bug is proposed in the branch : https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-893491-mdi/

with following Revision ID and Number.

Revision ID : <email address hidden>
Revision Number : 5764

Thanks and Regards,

Divyesh Makwana(MDI)

Changed in openobject-addons:
status: In Progress → Fix Committed
Changed in openobject-addons:
milestone: none → 6.1
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

Landed in trunk
revno: 5820 [merge]
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.