mirror of
https://github.com/OCA/OCB.git
synced 2026-04-23 19:14:53 -06:00
1
OLD 8.0 2016 05 28
Xavier Brochard edited this page 2021-10-29 23:55:56 +02:00
One line conflict between https://github.com/OCA/OCB/pull/474/files and github.com/odoo/odoo@2164383fe4. Solved by taking upstream version.
--- a/addons/website_sale/controllers/main.py
+++ b/addons/website_sale/controllers/main.py
@@@ -207,7 -211,7 +211,11 @@@ class website_sale(http.Controller)
if attrib_list:
post['attrib'] = attrib_list
pager = request.website.pager(url=url, total=product_count, page=page, step=PPG, scope=7, url_args=post)
++<<<<<<< HEAD
+ product_ids = product_obj.search(cr, uid, domain, limit=PPG, offset=pager['offset'], context=context)
++=======
+ product_ids = product_obj.search(cr, uid, domain, limit=PPG, offset=pager['offset'], order=self._get_search_order(post),
++>>>>>>> 2164383... [FIX] website_sale: allow to override product order on shop
products = product_obj.browse(cr, uid, product_ids, context=context)
style_obj = pool['product.style']
Committed as github.com/OCA/OCB@8f43bd18d3 by @Stefanrijnhart.