changeset 819cfffb0c11 in modules/stock_shipment_measurements:default
details: 
https://hg.tryton.org/modules/stock_shipment_measurements?cmd=changeset&node=819cfffb0c11
description:
        Add more information on stock move form

        issue11768
        review439591003
diffstat:

 stock.xml                |   6 ++++++
 view/stock_move_form.xml |  12 ++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)

diffs (32 lines):

diff -r a14069ecd8f8 -r 819cfffb0c11 stock.xml
--- a/stock.xml Mon May 02 17:56:25 2022 +0200
+++ b/stock.xml Sun Oct 09 19:07:16 2022 +0200
@@ -9,6 +9,12 @@
             <field name="name">configuration_form</field>
         </record>
 
+        <record model="ir.ui.view" id="stock_move_view_form">
+            <field name="model">stock.move</field>
+            <field name="inherit" ref="stock.move_view_form"/>
+            <field name="name">stock_move_form</field>
+        </record>
+
         <record model="ir.ui.view" id="shipment_in_view_list">
             <field name="model">stock.shipment.in</field>
             <field name="inherit" ref="stock.shipment_in_view_tree"/>
diff -r a14069ecd8f8 -r 819cfffb0c11 view/stock_move_form.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/view/stock_move_form.xml  Sun Oct 09 19:07:16 2022 +0200
@@ -0,0 +1,12 @@
+<?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. -->
+<data>
+    <xpath expr="//page[@id='other']" position="inside">
+        <separator string="Measurements" id="measurements" colspan="4"/>
+        <label name="internal_weight"/>
+        <field name="internal_weight"/>
+        <label name="internal_volume"/>
+        <field name="internal_volume"/>
+    </xpath>
+</data>

Reply via email to