Files
Odoo-18.0-20251222/sale_order_line_sequence/views/sale_view.xml
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

22 lines
771 B
XML
Executable File

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_order_form" model="ir.ui.view">
<field name="name">sale.order.form</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<field name="order_line" position="attributes">
<attribute
name="context"
>{'default_sequence': max_line_sequence}</attribute>
</field>
<xpath
expr="//field[@name='order_line']/list/field[@name='product_id']"
position="before"
>
<field name="visible_sequence" />
</xpath>
</field>
</record>
</odoo>