details:   https://code.tryton.org/tryton/commit/f9fb03a42e7c
branch:    default
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
diffstat:

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

diffs (15 lines):

diff -r 67db9863c658 -r f9fb03a42e7c modules/commission/view/sale_form.xml
--- a/modules/commission/view/sale_form.xml     Mon Jul 06 20:04:18 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