changeset 22c3b1f0bea2 in modules/purchase:default
details: https://hg.tryton.org/modules/purchase?cmd=changeset&node=22c3b1f0bea2
description:
Display company on product supplier views
issue11630
review427501003
diffstat:
view/product_supplier_form.xml | 6 +++++-
view/product_supplier_tree.xml | 1 +
view/product_supplier_tree_sequence.xml | 1 +
3 files changed, 7 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r 6a33d5765140 -r 22c3b1f0bea2 view/product_supplier_form.xml
--- a/view/product_supplier_form.xml Sat Jul 30 11:14:26 2022 +0200
+++ b/view/product_supplier_form.xml Thu Sep 08 13:01:12 2022 +0200
@@ -1,11 +1,15 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
-<form>
+<form cursor="party">
<label name="template"/>
<field name="template" colspan="3"/>
<label name="product"/>
<field name="product" colspan="3"/>
+
+ <label name="company"/>
+ <field name="company" colspan="3"/>
+
<label name="party"/>
<field name="party"/>
<group id="sequence-active" col="-1" colspan="2">
diff -r 6a33d5765140 -r 22c3b1f0bea2 view/product_supplier_tree.xml
--- a/view/product_supplier_tree.xml Sat Jul 30 11:14:26 2022 +0200
+++ b/view/product_supplier_tree.xml Thu Sep 08 13:01:12 2022 +0200
@@ -2,6 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree>
+ <field name="company" expand="1" optional="1"/>
<field name="template" expand="2"/>
<field name="product" expand="2"/>
<field name="party" expand="2"/>
diff -r 6a33d5765140 -r 22c3b1f0bea2 view/product_supplier_tree_sequence.xml
--- a/view/product_supplier_tree_sequence.xml Sat Jul 30 11:14:26 2022 +0200
+++ b/view/product_supplier_tree_sequence.xml Thu Sep 08 13:01:12 2022 +0200
@@ -2,6 +2,7 @@
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tree sequence="sequence">
+ <field name="company" expand="1" optional="1"/>
<field name="template" expand="2"/>
<field name="product" expand="2"/>
<field name="party" expand="2"/>