Skip to content

Commit

Permalink
[IMP] Small usability issue in product search view
Browse files Browse the repository at this point in the history
  • Loading branch information
fpodoo committed Sep 12, 2015
1 parent 049b0f7 commit 1b70066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/product/product_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<filter string="Products" name="consumable" domain="[('type','=','consu')]" help="Products your store in the inventory"/>
<separator/>
<filter string="Can be Sold" name="filter_to_sell" domain="[('sale_ok','=',1)]"/>
<separator/>
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/>
<field string="Attributes" name="attribute_line_ids"/>
<field name="pricelist_id" widget="selection" context="{'pricelist': self}" filter_domain="[]" groups="product.group_sale_pricelist"/> <!-- Keep widget=selection on this field to pass numeric `self` value, which is not the case for regular m2o widgets! -->
Expand Down

0 comments on commit 1b70066

Please sign in to comment.