Merge lp:~camptocamp/openobject-addons/8.0-account_period-context-1177348 into lp:openobject-addons

Proposed by Guewen Baconnier @ Camptocamp
Status: Rejected
Rejected by: Martin Trigaux (OpenERP)
Proposed branch: lp:~camptocamp/openobject-addons/8.0-account_period-context-1177348
Merge into: lp:openobject-addons
Diff against target: 21 lines (+8/-2)
1 file modified
account/account.py (+8/-2)
To merge this branch: bzr merge lp:~camptocamp/openobject-addons/8.0-account_period-context-1177348
Reviewer Review Type Date Requested Status
Alexandre Fayolle - camptocamp (community) code review, no test Approve
OpenERP Core Team Pending
Review via email: mp+162756@code.launchpad.net

Description of the change

Fix for lp:1177348

To post a comment you must log in.
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

LGTM

review: Approve (code review, no test)
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,
I reject this patch as the one from 7.0-account_period-context-1177348 has been merged into v7 at revision 9178 (revision-id: <email address hidden>).
These changes will be integrated into trunk at the next forward-port.
Regards

Unmerged revisions

8698. By Guewen Baconnier @ Camptocamp

[FIX] context is not propagated through account_period.name_search to account_period.search

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/account.py'
--- account/account.py 2013-04-18 10:39:07 +0000
+++ account/account.py 2013-05-07 12:02:05 +0000
@@ -1034,9 +1034,15 @@
1034 context = {}1034 context = {}
1035 ids = []1035 ids = []
1036 if name:1036 if name:
1037 ids = self.search(cr, user, [('code','ilike',name)]+ args, limit=limit)1037 ids = self.search(cr, user,
1038 [('code', 'ilike', name)] + args,
1039 limit=limit,
1040 context=context)
1038 if not ids:1041 if not ids:
1039 ids = self.search(cr, user, [('name',operator,name)]+ args, limit=limit)1042 ids = self.search(cr, user,
1043 [('name', operator, name)] + args,
1044 limit=limit,
1045 context=context)
1040 return self.name_get(cr, user, ids, context=context)1046 return self.name_get(cr, user, ids, context=context)
10411047
1042 def write(self, cr, uid, ids, vals, context=None):1048 def write(self, cr, uid, ids, vals, context=None):

Subscribers

People subscribed via source and target branches

to all changes: