changeset 80e2b4b02e4f in modules/stock_shipment_cost:default
details:
https://hg.tryton.org/modules/stock_shipment_cost?cmd=changeset&node=80e2b4b02e4f
description:
Add more information on stock move form
issue11768
review439591003
diffstat:
stock.xml | 6 ++++++
view/stock_move_form.xml | 9 +++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
diffs (29 lines):
diff -r 9b78ba030c62 -r 80e2b4b02e4f stock.xml
--- a/stock.xml Sun Oct 09 13:30:06 2022 +0200
+++ b/stock.xml Sun Oct 09 19:07:16 2022 +0200
@@ -3,6 +3,12 @@
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
+ <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_out_view_form">
<field name="model">stock.shipment.out</field>
<field name="inherit" ref="stock.shipment_out_view_form"/>
diff -r 9b78ba030c62 -r 80e2b4b02e4f 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,9 @@
+<?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="//field[@name='cost_price']" position="after">
+ <label name="shipment_out_cost_price"/>
+ <field name="shipment_out_cost_price"/>
+ </xpath>
+</data>