From 01c1966ba8740a2f0e8b7fb3f417d6e296e87726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 3 Jun 2024 13:14:03 +0200 Subject: [PATCH] Add relate from sale and purchase lines to stock moves and invoice lines --- modules/purchase/invoice.xml | 14 ++++++++++++++ modules/purchase/stock.xml | 14 ++++++++++++-- modules/sale/invoice.xml | 14 ++++++++++++++ modules/sale/stock.xml | 14 ++++++++++++-- 4 files changed, 52 insertions(+), 4 deletions(-) diff --git a/modules/purchase/invoice.xml b/modules/purchase/invoice.xml index 18e7e663d4..11ecbf138a 100644 --- a/modules/purchase/invoice.xml +++ b/modules/purchase/invoice.xml @@ -28,6 +28,20 @@ this repository contains the full copyright notices and license terms. --> + + Invoice Lines + account.invoice.line + + + + form_relate + purchase.line,-1 + + + account.invoice.line diff --git a/modules/purchase/stock.xml b/modules/purchase/stock.xml index 70d78b8d1f..08fb250f9a 100644 --- a/modules/purchase/stock.xml +++ b/modules/purchase/stock.xml @@ -36,7 +36,12 @@ this repository contains the full copyright notices and license terms. --> stock.move @@ -49,11 +54,16 @@ this repository contains the full copyright notices and license terms. --> - + form_relate purchase.purchase,-1 + + form_relate + purchase.line,-1 + + Shipments diff --git a/modules/sale/invoice.xml b/modules/sale/invoice.xml index 8c927501a3..7062455e4a 100644 --- a/modules/sale/invoice.xml +++ b/modules/sale/invoice.xml @@ -27,6 +27,20 @@ this repository contains the full copyright notices and license terms. --> + + Invoice Lines + account.invoice.line + + + + form_relate + sale.line,-1 + + + account.invoice.line diff --git a/modules/sale/stock.xml b/modules/sale/stock.xml index 894ab3b464..046c389f5d 100644 --- a/modules/sale/stock.xml +++ b/modules/sale/stock.xml @@ -24,7 +24,12 @@ this repository contains the full copyright notices and license terms. --> stock.move @@ -37,11 +42,16 @@ this repository contains the full copyright notices and license terms. --> - + form_relate sale.sale,-1 + + form_relate + sale.line,-1 + + stock.shipment.out