From 6cfadb896729b49d1e278ed5ca059dcbe013bc69 Mon Sep 17 00:00:00 2001 From: Ulrich Kilian Date: Thu, 23 Jul 2026 14:12:38 +0200 Subject: [PATCH] feat(snippets): update --- ...ocument.add_sale_order_partner_address.xml | 26 +++++++++++++++++++ ....address_layout.add_sale_partner_block.xml | 16 ++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 snippets/mint_system.account.report_invoice_document.add_sale_order_partner_address.xml create mode 100644 snippets/mint_system.web.address_layout.add_sale_partner_block.xml diff --git a/snippets/mint_system.account.report_invoice_document.add_sale_order_partner_address.xml b/snippets/mint_system.account.report_invoice_document.add_sale_order_partner_address.xml new file mode 100644 index 00000000..61488540 --- /dev/null +++ b/snippets/mint_system.account.report_invoice_document.add_sale_order_partner_address.xml @@ -0,0 +1,26 @@ + + + + +
+ +
+ Customer Address +
+
+ +
+ + + 'col-4' if show_sale_partner_block else 'col-6' + + + 'col-4' if show_sale_partner_block else 'col-6' + + + 'offset-col-4 col-4' if show_sale_partner_block else 'offset-col-6 col-6' + + + 'offset-col-4 col-4' if show_sale_partner_block else 'offset-col-6 col-6' + + \ No newline at end of file diff --git a/snippets/mint_system.web.address_layout.add_sale_partner_block.xml b/snippets/mint_system.web.address_layout.add_sale_partner_block.xml new file mode 100644 index 00000000..1e570cac --- /dev/null +++ b/snippets/mint_system.web.address_layout.add_sale_partner_block.xml @@ -0,0 +1,16 @@ + + + +
+ +
+
+
+ + + 'col-4' if show_sale_partner_block else 'col-6' + + + 'col-4' if show_sale_partner_block else (not custom_layout_address and colclass or information_block and colclass) + +
\ No newline at end of file