Files
Odoo-Build/snippets/sale.view_order_form.format_dates.xml
T
2025-04-23 15:30:36 +02:00

14 lines
647 B
XML

<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//field[3][@name='date_order']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
<xpath expr="//div/field[@name='commitment_date']" position="attributes">
<attribute name="options">{"show_time":false}</attribute>
<attribute name="widget">datetime</attribute>
</xpath>
<xpath expr="//field[@name='order_line']/tree/field[@name='commitment_date']" position="attributes">
<attribute name="options">{"show_time":false}</attribute>
<attribute name="widget">datetime</attribute>
</xpath>
</data>