[FIX] stock: inventory filters check used the wrong groups
This commit is contained in:
parent
c3b847daa8
commit
56a6483477
|
@ -2653,9 +2653,9 @@ class stock_inventory(osv.osv):
|
|||
if stock_settings.group_stock_tracking_owner:
|
||||
res_filter.append(('owner', _('One owner only')))
|
||||
res_filter.append(('product_owner', _('One product for a specific owner')))
|
||||
if stock_settings.group_stock_tracking_lot:
|
||||
if stock_settings.group_stock_production_lot:
|
||||
res_filter.append(('lot', _('One Lot/Serial Number')))
|
||||
if stock_settings.group_stock_packaging:
|
||||
if stock_settings.group_stock_tracking_lot:
|
||||
res_filter.append(('pack', _('A Pack')))
|
||||
return res_filter
|
||||
|
||||
|
|
Loading…
Reference in New Issue