Merge lp:~openerp-dev/openobject-addons/trunk-bug-1097271-cga into lp:openobject-addons

Proposed by Chandni Gandhi(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1097271-cga
Merge into: lp:openobject-addons
Diff against target: 11 lines (+1/-0)
1 file modified
hr_timesheet_sheet/hr_timesheet_sheet.py (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1097271-cga
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+142639@code.launchpad.net

Description of the change

Hello,

Set the return value of onchange_employee_id.

Thanks.

To post a comment you must log in.
8499. By Chandni Gandhi(OpenERP)

[IMP]:Set the user_id as FALSE

8500. By Chandni Gandhi(OpenERP)

[MERGE]:With latest code

Unmerged revisions

8500. By Chandni Gandhi(OpenERP)

[MERGE]:With latest code

8499. By Chandni Gandhi(OpenERP)

[IMP]:Set the user_id as FALSE

8498. By Chandni Gandhi(OpenERP)

[FIX]:Set the return value in onchange_employee_id

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_timesheet_sheet/hr_timesheet_sheet.py'
2--- hr_timesheet_sheet/hr_timesheet_sheet.py 2012-12-20 11:02:42 +0000
3+++ hr_timesheet_sheet/hr_timesheet_sheet.py 2013-02-07 10:19:23 +0000
4@@ -217,6 +217,7 @@
5
6 def onchange_employee_id(self, cr, uid, ids, employee_id, context=None):
7 department_id = False
8+ user_id= False
9 if employee_id:
10 empl_id = self.pool.get('hr.employee').browse(cr, uid, employee_id, context=context)
11 department_id = empl_id.department_id.id

Subscribers

People subscribed via source and target branches

to all changes: