details: https://code.tryton.org/tryton/commit/507dd9ca1648
branch: default
user: Cédric Krier <[email protected]>
date: Thu Jul 30 09:35:03 2026 +0200
description:
Display account moves field on stock move form
Closes #9190
diffstat:
modules/account_stock_continental/stock.xml | 12 ++++++++++++
modules/account_stock_continental/tryton.cfg | 1 +
modules/account_stock_continental/view/stock_move_form.xml | 10 ++++++++++
3 files changed, 23 insertions(+), 0 deletions(-)
diffs (41 lines):
diff -r 1326133b9082 -r 507dd9ca1648 modules/account_stock_continental/stock.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/account_stock_continental/stock.xml Thu Jul 30 09:35:03
2026 +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>
+ <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 1326133b9082 -r 507dd9ca1648
modules/account_stock_continental/tryton.cfg
--- a/modules/account_stock_continental/tryton.cfg Tue Sep 15 15:23:42
2026 +0200
+++ b/modules/account_stock_continental/tryton.cfg Thu Jul 30 09:35:03
2026 +0200
@@ -10,6 +10,7 @@
xml:
product.xml
account.xml
+ stock.xml
[register]
model:
diff -r 1326133b9082 -r 507dd9ca1648
modules/account_stock_continental/view/stock_move_form.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/account_stock_continental/view/stock_move_form.xml Thu Jul
30 09:35:03 2026 +0200
@@ -0,0 +1,10 @@
+<?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='move']" position="after">
+ <page name="account_moves" col="1">
+ <field name="account_moves"/>
+ </page>
+ </xpath>
+</data>