Merge lp:~dorian-kemps/unifield-server/US-2796 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 5752
Proposed branch: lp:~dorian-kemps/unifield-server/US-2796
Merge into: lp:unifield-server
Diff against target: 16 lines (+0/-6)
1 file modified
bin/addons/stock/product.py (+0/-6)
To merge this branch: bzr merge lp:~dorian-kemps/unifield-server/US-2796
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+385476@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/stock/product.py'
2--- bin/addons/stock/product.py 2020-01-09 14:41:10 +0000
3+++ bin/addons/stock/product.py 2020-06-10 07:55:46 +0000
4@@ -203,12 +203,6 @@
5 if context.get('search_location'):
6 context['location'] = context.get('search_location')
7
8- if context.get('warehouse', False):
9- lot_stock_id = stock_warehouse_obj.read(cr, uid, int(context['warehouse']),
10- ['lot_stock_id'], context=context)['lot_stock_id']
11- if lot_stock_id:
12- context['location'] = lot_stock_id[0]
13-
14 if context.get('location', False):
15 if type(context['location']) == type(1):
16 location_ids = [context['location']]

Subscribers

People subscribed via source and target branches