Merge pull request #21 from bakeupboys/91-16.0-fix_broken_webshop_filter

[fix] nfu_ecommerce: broken filter -  pass arguments to super again
This commit is contained in:
madmooose 2024-10-14 15:29:06 +02:00 committed by GitHub
commit d93fd6e9bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 3 deletions

View file

@ -38,6 +38,7 @@ Changelog
:0.0.1: Initial module.
:1.0.0: Live
:1.1.0: Add Open Packagings Filter and fix rounding issue
:1.1.1: Pass arguemnts to super again
Bug Tracker
===========

View file

@ -4,7 +4,7 @@
"author": "BAKEUP",
"website": "https://www.bakeup.org",
"category": "website",
"version": "16.0.1.1.0",
"version": "16.0.1.1.1",
"depends": ["website_sale", "nfu_sale_order_batch_packaging", "website_decimal_quantity"],
"data": ["views/product_template_views.xml", "views/templates.xml"],
"assets": {"web.assets_frontend": ["nfu_ecommerce/static/src/js/website_sale.js"]},

View file

@ -55,5 +55,7 @@ class WebsiteSale(WebsiteSale):
post["open_product_ids"] = open_product_ids
else:
post["open_product_ids"] = None
res = super().shop(page=0, category=None, search="", min_price=0.0, max_price=0.0, ppg=False, **post)
res = super().shop(
page=page, category=category, search=search, min_price=min_price, max_price=max_price, ppg=ppg, **post
)
return res

View file

@ -1,3 +1,4 @@
:0.0.1: Initial module.
:1.0.0: Live
:1.1.0: Add Open Packagings Filter and fix rounding issue
:1.1.1: Pass arguemnts to super again

View file

@ -399,6 +399,8 @@ and after the current order.</p>
</tr>
<tr class="field"><th class="field-name">1.1.0:</th><td class="field-body">Add Open Packagings Filter and fix rounding issue</td>
</tr>
<tr class="field"><th class="field-name">1.1.1:</th><td class="field-body">Pass arguemnts to super again</td>
</tr>
</tbody>
</table>
</div>