[IMP] nfu_ecomerce: Adapt new Open Packages format and add indicators

This commit is contained in:
Niels Göttsch 2025-04-13 13:18:58 +02:00 committed by madmooose
parent c9ada5f2df
commit 0ba12fc07a
5 changed files with 6 additions and 2 deletions

View file

@ -42,6 +42,7 @@ Changelog
:1.1.2: Make publish on website multi company
:1.2.0: Add Open Packages to Product list
:1.3.0: Adapt new Open Packages format and add indicators
:1.3.1: Remove Max Qty from first page
Bug Tracker
===========

View file

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

View file

@ -5,3 +5,4 @@
:1.1.2: Make publish on website multi company
:1.2.0: Add Open Packages to Product list
:1.3.0: Adapt new Open Packages format and add indicators
:1.3.1: Remove Max Qty from first page

View file

@ -407,6 +407,8 @@ and after the current order.</p>
</tr>
<tr class="field"><th class="field-name">1.3.0:</th><td class="field-body">Adapt new Open Packages format and add indicators</td>
</tr>
<tr class="field"><th class="field-name">1.3.1:</th><td class="field-body">Remove Max Qty from first page</td>
</tr>
</tbody>
</table>
</div>

View file

@ -45,7 +45,7 @@
<span
t-attf-class="o_ribbon o_not_editable o_ribbon_right"
t-att-style="'color: white; background-color: %s;' % template_packaging_vals['state_color']"
t-out="'+%d/+%d'%(template_packaging_vals['open_qty'],template_packaging_vals['open_max_qty'])"
t-out="'+%d'%(template_packaging_vals['open_qty'])"
/>
</t>
</xpath>