[FIX] nfu_sale_order_batch_packaging: fix product color indicator

This commit is contained in:
Niels Göttsch 2025-05-05 21:50:08 +02:00 committed by madmooose
parent 42e70e239b
commit 44ae949f61
4 changed files with 6 additions and 5 deletions

View file

@ -40,6 +40,7 @@ Changelog
:1.2.1: refactoring :1.2.1: refactoring
:1.3.0: add packaging states :1.3.0: add packaging states
:1.3.1: add open_max_qty :1.3.1: add open_max_qty
:1.3.1: fix color indicator
Bug Tracker Bug Tracker
=========== ===========

View file

@ -4,4 +4,5 @@
:1.2.0: Add regeneration action for batch products :1.2.0: Add regeneration action for batch products
:1.2.1: refactoring :1.2.1: refactoring
:1.3.0: add packaging states :1.3.0: add packaging states
:1.3.1: add open_max_qty :1.3.1: add open_max_qty
:1.3.1: fix color indicator

View file

@ -405,6 +405,8 @@ and adds a packaging default to sale order batch.</p>
</tr> </tr>
<tr class="field"><th class="field-name">1.3.1:</th><td class="field-body">add open_max_qty</td> <tr class="field"><th class="field-name">1.3.1:</th><td class="field-body">add open_max_qty</td>
</tr> </tr>
<tr class="field"><th class="field-name">1.3.1:</th><td class="field-body">fix color indicator</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View file

@ -23,10 +23,7 @@
<xpath expr="//field[@name='product_ids']/tree/field[@name='product_uom_qty']" position="after"> <xpath expr="//field[@name='product_ids']/tree/field[@name='product_uom_qty']" position="after">
<field name="product_uom_max_qty"/> <field name="product_uom_max_qty"/>
</xpath> </xpath>
<xpath <xpath expr="//field[@name='product_ids']/tree/field[@name='product_id']" position="attributes">
expr="//field[@name='product_ids']/tree/field[@name='product_template_id']"
position="attributes"
>
<attribute name="decoration-warning">(open_packaging_qty != 0)</attribute> <attribute name="decoration-warning">(open_packaging_qty != 0)</attribute>
</xpath> </xpath>
</field> </field>