details:   https://code.tryton.org/tryton/commit/6eab152447d8
branch:    8.0
user:      Cédric Krier <[email protected]>
date:      Mon Jul 06 19:15:08 2026 +0200
description:
        Put agent field in sale form on a new line

        This prevents to break the layout of other modules adding fields to the 
same
        tab.

        Closes #14934
        (grafted from f9fb03a42e7c55c33072181b0ec48ac5469495f1)
diffstat:

 modules/commission/view/sale_form.xml |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 0d14bcc3b509 -r 6eab152447d8 modules/commission/view/sale_form.xml
--- a/modules/commission/view/sale_form.xml     Mon Jul 06 09:07:08 2026 +0200
+++ b/modules/commission/view/sale_form.xml     Mon Jul 06 19:15:08 2026 +0200
@@ -2,9 +2,9 @@
 <!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
 this repository contains the full copyright notices and license terms. -->
 <data>
-    <xpath expr="/form/notebook/page[@id='other']/field[@name='company']"
-        position="after">
+    <xpath expr="//page[@id='other']/field[@name='origin']" position="after">
         <label name="agent"/>
         <field name="agent"/>
+        <newline/>
     </xpath>
 </data>

Reply via email to