Use 'contains' verb for default CORE Products 'upc' filter
'equal' verb is too onerous i think
This commit is contained in:
parent
b0152146ec
commit
5700ca0171
|
@ -78,7 +78,7 @@ class ProductView(CoreOfficeMasterView):
|
||||||
g.set_filter('vendor', corepos.Vendor.name)
|
g.set_filter('vendor', corepos.Vendor.name)
|
||||||
|
|
||||||
g.filters['upc'].default_active = True
|
g.filters['upc'].default_active = True
|
||||||
g.filters['upc'].default_verb = 'equal'
|
g.filters['upc'].default_verb = 'contains'
|
||||||
|
|
||||||
g.set_type('cost', 'currency')
|
g.set_type('cost', 'currency')
|
||||||
g.set_type('normal_price', 'currency')
|
g.set_type('normal_price', 'currency')
|
||||||
|
|
Loading…
Reference in a new issue