Tower: upload laundry_management 19.0.19.0.4 (via marketplace)

This commit is contained in:
2026-05-01 15:00:48 +00:00
parent 7f76c2d7e7
commit 89d5846a15

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<!--
Laundry UI enhancement for the core ProductConfiguratorPopup.
Pure presentation layer — adds two classes to the Dialog's
modal-content so the SCSS in laundry_pos.scss can scope all
enhancements under `.popup-product-configurator.laundry-enhanced`.
Non-laundry products receive no class → default Odoo styling
applies everywhere else in the POS.
No behavior override: variant resolution, archived-combination
detection, custom-value handling, close/confirm — all remain in
core. Selected state is already applied by core (`.active` on
Pills; `input:checked` on Radio); our SCSS keys off those to
draw the big tile state.
-->
<t t-name="laundry_management.ProductConfiguratorPopupLaundryEnhanced"
t-inherit="point_of_sale.ProductConfiguratorPopup"
t-inherit-mode="extension">
<xpath expr="//Dialog" position="attributes">
<attribute name="contentClass">props.productTemplate?.is_laundry_service ? 'popup-product-configurator laundry-enhanced' : ''</attribute>
</xpath>
</t>
</templates>