changeset 8c05034723e2 in modules/commission:default details: https://hg.tryton.org/modules/commission?cmd=changeset&node=8c05034723e2 description: Add more information on stock move form
issue11768 review439591003 diffstat: stock.xml | 12 ++++++++++++ tryton.cfg | 1 + view/stock_move_form.xml | 9 +++++++++ 3 files changed, 22 insertions(+), 0 deletions(-) diffs (40 lines): diff -r 50ceafecdc9b -r 8c05034723e2 stock.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stock.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. --> +<tryton> + <data depends="stock"> + <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> + </data> +</tryton> diff -r 50ceafecdc9b -r 8c05034723e2 tryton.cfg --- a/tryton.cfg Sun Oct 09 18:53:45 2022 +0200 +++ b/tryton.cfg Sun Oct 09 19:07:16 2022 +0200 @@ -18,6 +18,7 @@ commission_reporting.xml invoice.xml sale.xml + stock.xml account.xml product.xml message.xml diff -r 50ceafecdc9b -r 8c05034723e2 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="commission_price"/> + <field name="commission_price"/> + </xpath> +</data>