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
=== modified file 'bin/addons/stock/product.py'
--- bin/addons/stock/product.py 2020-01-09 14:41:10 +0000
+++ bin/addons/stock/product.py 2020-06-10 07:55:46 +0000
@@ -203,12 +203,6 @@
203 if context.get('search_location'):203 if context.get('search_location'):
204 context['location'] = context.get('search_location')204 context['location'] = context.get('search_location')
205205
206 if context.get('warehouse', False):
207 lot_stock_id = stock_warehouse_obj.read(cr, uid, int(context['warehouse']),
208 ['lot_stock_id'], context=context)['lot_stock_id']
209 if lot_stock_id:
210 context['location'] = lot_stock_id[0]
211
212 if context.get('location', False):206 if context.get('location', False):
213 if type(context['location']) == type(1):207 if type(context['location']) == type(1):
214 location_ids = [context['location']]208 location_ids = [context['location']]

Subscribers

People subscribed via source and target branches