[IMP] nfu_ecommerce: Make open Packagings more visible

This commit is contained in:
Niels Göttsch 2026-05-22 15:19:01 +02:00 committed by madmooose
parent bf94670e3f
commit 7e63a17abc
5 changed files with 50 additions and 65 deletions

View file

@ -42,20 +42,21 @@ In webshop checkout it adds
Changelog Changelog
========= =========
:0.0.1: Initial module. - 16.0.0.0.1: Initial module.
:1.0.0: Live - 16.0.1.0.0: Live
:1.1.0: Add Open Packagings Filter and fix rounding issue - 16.0.1.1.0: Add Open Packagings Filter and fix rounding issue
:1.1.1: Pass arguments to super again - 16.0.1.1.1: Pass arguments to super again
:1.1.2: Make publish on website multi company - 16.0.1.1.2: Make publish on website multi company
:1.2.0: Add Open Packages to Product list - 16.0.1.2.0: Add Open Packages to Product list
:1.3.0: Adapt new Open Packages format and add indicators - 16.0.1.3.0: Adapt new Open Packages format and add indicators
:1.3.1: Remove Max Qty from first page - 16.0.1.3.1: Remove Max Qty from first page
:1.3.2: Add decimal to ribbon - 16.0.1.3.2: Add decimal to ribbon
:1.4.0: Add credit warning and avoid debts option - 16.0.1.4.0: Add credit warning and avoid debts option
:1.4.1: Add credit to portal details - 16.0.1.4.1: Add credit to portal details
:1.4.2: Catch unescaped float values - 16.0.1.4.2: Catch unescaped float values
:1.4.3: Drop session if SO belongs to another website (Odoo 16 bug) - 16.0.1.4.3: Drop session if SO belongs to another website (Odoo 16 bug)
:1.4.3: Remove is_published filtering and use job manager only on more than one - 16.0.1.4.3: Remove is_published filtering and use job manager only on more than one
- 16.0.1.4.5: Make open Packagings more visible
Bug Tracker Bug Tracker
=========== ===========

View file

@ -4,7 +4,7 @@
"author": "BAKEUP", "author": "BAKEUP",
"website": "https://www.bakeup.org", "website": "https://www.bakeup.org",
"category": "website", "category": "website",
"version": "16.0.1.4.4", "version": "16.0.1.4.5",
"depends": [ "depends": [
"sale_product_configurator", "sale_product_configurator",
"website_sale", "website_sale",

View file

@ -1,14 +1,15 @@
:0.0.1: Initial module. - 16.0.0.0.1: Initial module.
:1.0.0: Live - 16.0.1.0.0: Live
:1.1.0: Add Open Packagings Filter and fix rounding issue - 16.0.1.1.0: Add Open Packagings Filter and fix rounding issue
:1.1.1: Pass arguments to super again - 16.0.1.1.1: Pass arguments to super again
:1.1.2: Make publish on website multi company - 16.0.1.1.2: Make publish on website multi company
:1.2.0: Add Open Packages to Product list - 16.0.1.2.0: Add Open Packages to Product list
:1.3.0: Adapt new Open Packages format and add indicators - 16.0.1.3.0: Adapt new Open Packages format and add indicators
:1.3.1: Remove Max Qty from first page - 16.0.1.3.1: Remove Max Qty from first page
:1.3.2: Add decimal to ribbon - 16.0.1.3.2: Add decimal to ribbon
:1.4.0: Add credit warning and avoid debts option - 16.0.1.4.0: Add credit warning and avoid debts option
:1.4.1: Add credit to portal details - 16.0.1.4.1: Add credit to portal details
:1.4.2: Catch unescaped float values - 16.0.1.4.2: Catch unescaped float values
:1.4.3: Drop session if SO belongs to another website (Odoo 16 bug) - 16.0.1.4.3: Drop session if SO belongs to another website (Odoo 16 bug)
:1.4.3: Remove is_published filtering and use job manager only on more than one - 16.0.1.4.3: Remove is_published filtering and use job manager only on more than one
- 16.0.1.4.5: Make open Packagings more visible

View file

@ -397,40 +397,23 @@ adjustes the uom quantitiy</li>
</div> </div>
<div class="section" id="changelog"> <div class="section" id="changelog">
<h1><a class="toc-backref" href="#toc-entry-1">Changelog</a></h1> <h1><a class="toc-backref" href="#toc-entry-1">Changelog</a></h1>
<table class="docutils field-list" frame="void" rules="none"> <ul class="simple">
<col class="field-name" /> <li>16.0.0.0.1: Initial module.</li>
<col class="field-body" /> <li>16.0.1.0.0: Live</li>
<tbody valign="top"> <li>16.0.1.1.0: Add Open Packagings Filter and fix rounding issue</li>
<tr class="field"><th class="field-name">0.0.1:</th><td class="field-body">Initial module.</td> <li>16.0.1.1.1: Pass arguments to super again</li>
</tr> <li>16.0.1.1.2: Make publish on website multi company</li>
<tr class="field"><th class="field-name">1.0.0:</th><td class="field-body">Live</td> <li>16.0.1.2.0: Add Open Packages to Product list</li>
</tr> <li>16.0.1.3.0: Adapt new Open Packages format and add indicators</li>
<tr class="field"><th class="field-name">1.1.0:</th><td class="field-body">Add Open Packagings Filter and fix rounding issue</td> <li>16.0.1.3.1: Remove Max Qty from first page</li>
</tr> <li>16.0.1.3.2: Add decimal to ribbon</li>
<tr class="field"><th class="field-name">1.1.1:</th><td class="field-body">Pass arguments to super again</td> <li>16.0.1.4.0: Add credit warning and avoid debts option</li>
</tr> <li>16.0.1.4.1: Add credit to portal details</li>
<tr class="field"><th class="field-name">1.1.2:</th><td class="field-body">Make publish on website multi company</td> <li>16.0.1.4.2: Catch unescaped float values</li>
</tr> <li>16.0.1.4.3: Drop session if SO belongs to another website (Odoo 16 bug)</li>
<tr class="field"><th class="field-name">1.2.0:</th><td class="field-body">Add Open Packages to Product list</td> <li>16.0.1.4.3: Remove is_published filtering and use job manager only on more than one</li>
</tr> <li>16.0.1.4.5: Make open Packagings more visible</li>
<tr class="field"><th class="field-name">1.3.0:</th><td class="field-body">Adapt new Open Packages format and add indicators</td> </ul>
</tr>
<tr class="field"><th class="field-name">1.3.1:</th><td class="field-body">Remove Max Qty from first page</td>
</tr>
<tr class="field"><th class="field-name">1.3.2:</th><td class="field-body">Add decimal to ribbon</td>
</tr>
<tr class="field"><th class="field-name">1.4.0:</th><td class="field-body">Add credit warning and avoid debts option</td>
</tr>
<tr class="field"><th class="field-name">1.4.1:</th><td class="field-body">Add credit to portal details</td>
</tr>
<tr class="field"><th class="field-name">1.4.2:</th><td class="field-body">Catch unescaped float values</td>
</tr>
<tr class="field"><th class="field-name">1.4.3:</th><td class="field-body">Drop session if SO belongs to another website (Odoo 16 bug)</td>
</tr>
<tr class="field"><th class="field-name">1.4.3:</th><td class="field-body">Remove is_published filtering and use job manager only on more than one</td>
</tr>
</tbody>
</table>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1> <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>

View file

@ -2,7 +2,7 @@
<odoo> <odoo>
<template id="products_open_packaging" inherit_id="website_sale.products"> <template id="products_open_packaging" inherit_id="website_sale.products">
<xpath expr="//div[hasclass('products_attributes_filters')]" position="after"> <xpath expr="//div[hasclass('products_attributes_filters')]" position="before">
<div class="mt-3"> <div class="mt-3">
<a t-att-href="keep('/shop',open_packagings = False if open_packagings else True)"> <a t-att-href="keep('/shop',open_packagings = False if open_packagings else True)">
<h6 t-attf-class="o_packaging_collapse_title mb-3 {{_titleClasses}}"><b> <h6 t-attf-class="o_packaging_collapse_title mb-3 {{_titleClasses}}"><b>
@ -15,7 +15,7 @@
</template> </template>
<template id="o_wsale_offcanvas" name="Open Packagings" inherit_id="website_sale.o_wsale_offcanvas"> <template id="o_wsale_offcanvas" name="Open Packagings" inherit_id="website_sale.o_wsale_offcanvas">
<xpath expr="//t[@t-call='website_sale.filter_products_price']" position="before"> <xpath expr="//div[contains(@t-if,'opt_wsale_categories')]" position="before">
<div class="position-relative o_wsale_offcanvas_title px-4 border-top"> <div class="position-relative o_wsale_offcanvas_title px-4 border-top">
<a t-att-href="keep('/shop',open_packagings = False if open_packagings else True)"> <a t-att-href="keep('/shop',open_packagings = False if open_packagings else True)">
<h6 t-attf-class="o_packaging_collapse_title mb-3 pt-3 {{_titleClasses}}"><b> <h6 t-attf-class="o_packaging_collapse_title mb-3 pt-3 {{_titleClasses}}"><b>