Merge lp:~camptocamp/ocb-addons/7.0-fix-1189524 into lp:ocb-addons
Proposed by
Yannick Vaucher @ Camptocamp
Status: | Rejected |
---|---|
Rejected by: | Stefan Rijnhart (Opener) |
Proposed branch: | lp:~camptocamp/ocb-addons/7.0-fix-1189524 |
Merge into: | lp:ocb-addons |
Diff against target: |
16 lines (+8/-0) 1 file modified
project/res_partner.py (+8/-0) |
To merge this branch: | bzr merge lp:~camptocamp/ocb-addons/7.0-fix-1189524 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Yannick Vaucher @ Camptocamp | Disapprove | ||
Stefan Rijnhart (Opener) | Approve | ||
Review via email: mp+168485@code.launchpad.net |
Description of the change
[FIX] project - do not copy task_ids of res.partner
For performances and to avoid errors with timesheet_task module on copy.
To post a comment you must log in.
l.13: even if the order of named arguments in OpenERP is conventionally very regular, you might still want to refer to the arguments' names in the call to super, so as to allow for an unexpected API change.
super( res_partner, self).copy(cr, uid, record_id, default=default, context=context)
instead of
super( res_partner, self).copy(cr, uid, record_id, default, context)