Merge lp:~openerp-dev/openobject-addons/trunk-bug-731795-ara into lp:openobject-addons

Proposed by Ashvin Rathod (OpenERP)
Status: Merged
Merged at revision: 4522
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-731795-ara
Merge into: lp:openobject-addons
Diff against target: 13 lines (+2/-2)
1 file modified
hr_holidays/hr_holidays.py (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-731795-ara
Reviewer Review Type Date Requested Status
OpenERP buildbot (community) Disapprove
Mustufa Rangwala (Open ERP) (community) Approve
Review via email: mp+52811@code.launchpad.net

Description of the change

Hello,

Fix: [trunk] hr_holidays: Can not refuse leave if its category is "by employee category"
https://bugs.launchpad.net/openobject-addons/+bug/731795

Thanks,
ara

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve
Revision history for this message
OpenERP buildbot (openerp-buildbot) wrote :

mrp/test/mrp_phantom_bom.yml: duplicate key value violates unique constraint "product_uom_factor_category_id_uniq"
stock_no_autopicking/test/stock_no_autopicking.yml: duplicate key value violates unique constraint "product_uom_factor_category_id_uniq"
crm_partner_assign/test/test_crm_partner_assign.yml[warning]: AssertionError in Python code : SMTP not configured !
project_timesheet/test/worktask_entry_to_timesheetline_entry.yml[warning]: Assertion "After hr manager's work task" FAILED test: len(timesheet_ids) > 0 values: ! 0 > 0
warning[warning]: Form view model product.product is slow (u0.320, r0.630), please optimize

review: Disapprove

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_holidays/hr_holidays.py'
2--- hr_holidays/hr_holidays.py 2011-02-01 12:40:38 +0000
3+++ hr_holidays/hr_holidays.py 2011-03-10 10:06:53 +0000
4@@ -294,8 +294,8 @@
5
6 # If a category that created several holidays, cancel all related
7 wf_service = netsvc.LocalService("workflow")
8- for id in record.linked_request_ids or []:
9- wf_service.trg_validate(uid, 'hr.holidays', id, 'cancel', cr)
10+ for request in record.linked_request_ids or []:
11+ wf_service.trg_validate(uid, 'hr.holidays', request.id, 'cancel', cr)
12
13 return True
14

Subscribers

People subscribed via source and target branches

to all changes: