Merge lp:~openerp-dev/openobject-addons/trunk-bug-928233-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-928233-mma
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
stock/wizard/stock_traceability.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-928233-mma
Reviewer Review Type Date Requested Status
Rucha (Open ERP) (community) Approve
Review via email: mp+92914@code.launchpad.net

Description of the change

Hello,

        Stock: I Have set type1 variable for Upstream Traceability and Downstream Traceability

Thanks.
mma

To post a comment you must log in.
6568. By Mayur Maheshwari(OpenERP)

[IMP]stock : improvement is done

Revision history for this message
Rucha (Open ERP) (rpa-openerp) :
review: Approve
Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Your fix is right and it will be in trunk soon with a feature branch.

Thanks,
Purnendu Singh

Unmerged revisions

6568. By Mayur Maheshwari(OpenERP)

[IMP]stock : improvement is done

6567. By Mayur Maheshwari(OpenERP)

[FIX]stock: set type1 variable for Upstream Traceability and Downstream Traceability

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/wizard/stock_traceability.py'
2--- stock/wizard/stock_traceability.py 2012-01-31 13:36:57 +0000
3+++ stock/wizard/stock_traceability.py 2012-02-14 06:39:19 +0000
4@@ -42,7 +42,7 @@
5 lot_id = ids
6 if context is None:
7 context = {}
8- type1 = context.get('type', 'move_history_ids2')
9+ type1 = 'type' in context and context['type'] or 'move_history_ids2'
10 field = context.get('field', 'tracking_id')
11 obj = self.pool.get('stock.move')
12 ids = obj.search(cr, uid, [(field, 'in',lot_id)])

Subscribers

People subscribed via source and target branches

to all changes: