Skip to content

Commit

Permalink
Merge PR #501 into 11.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Sep 3, 2019
2 parents 5056cf3 + 5d60efd commit 57a7237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion product_pricelist_direct_print/__manifest__.py
Expand Up @@ -4,7 +4,7 @@
"name": "Product Pricelist Direct Print",
"summary": "Print price list from menu option, product templates, "
"products variants or price lists",
"version": "11.0.1.2.0",
"version": "11.0.1.2.1",
"category": "Product",
"website": "https://www.github.com/OCA/product-attribute",
"author": "Tecnativa, "
Expand Down
Expand Up @@ -80,7 +80,7 @@
t-as="category">
<t t-set="category_products"
t-value="products and products.with_context(categ_id=category.id).filtered(lambda x: x.categ_id.id == x.env.context['categ_id']) or
((not o.last_ordered_products) and products.search([('sale_ok','=',True), ('categ_id','=',category.id)]) or [])"/>
((not o.last_ordered_products) and products.search([('sale_ok','=',True), ('categ_id','=',category.id)]) or products.browse())"/>
<t t-if="o.order_field == 'name'">
<t t-set="category_products"
t-value="category_products.sorted(lambda x: x.name)"/>
Expand Down

0 comments on commit 57a7237

Please sign in to comment.