[FIX] stock: inventory filters check used the wrong groups

This commit is contained in:
Josse Colpaert 2015-09-02 16:27:57 +02:00
parent c3b847daa8
commit 56a6483477
1 changed files with 2 additions and 2 deletions

View File

@ -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