From 04ecc7390e8a7e489d59e85f43d3a7bfdca694c1 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Mon, 27 May 2024 10:00:45 +0200 Subject: [PATCH] fix: lint snippets --- snippets/account.md | 22 ++++++++++++------- ...el.stock_production_lot.x_default_code.xml | 12 ---------- ....stock_production_lot.x_forcepoint_pol.xml | 12 ---------- ....stock_production_lot.x_forcepoint_pos.xml | 12 ---------- ....model.stock_production_lot.x_hostname.xml | 12 ---------- ...stock_production_lot.x_managed_service.xml | 18 --------------- snippets/sale.md | 13 +++++++++++ ...ale.view_order_line_tree.enable_create.xml | 6 +++++ snippets/web.md | 20 +++++++++++++++++ 9 files changed, 53 insertions(+), 74 deletions(-) delete mode 100644 snippets/ir.model.stock_production_lot.x_default_code.xml delete mode 100644 snippets/ir.model.stock_production_lot.x_forcepoint_pol.xml delete mode 100644 snippets/ir.model.stock_production_lot.x_forcepoint_pos.xml delete mode 100644 snippets/ir.model.stock_production_lot.x_hostname.xml delete mode 100644 snippets/ir.model.stock_production_lot.x_managed_service.xml create mode 100644 snippets/sale.view_order_line_tree.enable_create.xml diff --git a/snippets/account.md b/snippets/account.md index dc9986a1..c7abc3df 100644 --- a/snippets/account.md +++ b/snippets/account.md @@ -461,16 +461,22 @@ ID: `mint_system.account.report_invoice_document.bank_account` ```xml + - - + + + + + + + + - - - - - + + + +
IBAN: @@ -483,8 +489,8 @@ ID: `mint_system.account.report_invoice_document.bank_account`
-
+ ``` Source: [snippets/account.report_invoice_document.bank_account.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.bank_account.xml) diff --git a/snippets/ir.model.stock_production_lot.x_default_code.xml b/snippets/ir.model.stock_production_lot.x_default_code.xml deleted file mode 100644 index fe390eec..00000000 --- a/snippets/ir.model.stock_production_lot.x_default_code.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - Internal Reference - stock.production.lot - - x_default_code - - - char - - diff --git a/snippets/ir.model.stock_production_lot.x_forcepoint_pol.xml b/snippets/ir.model.stock_production_lot.x_forcepoint_pol.xml deleted file mode 100644 index dfa69e32..00000000 --- a/snippets/ir.model.stock_production_lot.x_forcepoint_pol.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - Forcepoint PoL - stock.production.lot - - x_forcepoint_pol - - - char - - diff --git a/snippets/ir.model.stock_production_lot.x_forcepoint_pos.xml b/snippets/ir.model.stock_production_lot.x_forcepoint_pos.xml deleted file mode 100644 index 9a5b899b..00000000 --- a/snippets/ir.model.stock_production_lot.x_forcepoint_pos.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - Forcepoint PoS - stock.production.lot - - x_forcepoint_pos - - - char - - diff --git a/snippets/ir.model.stock_production_lot.x_hostname.xml b/snippets/ir.model.stock_production_lot.x_hostname.xml deleted file mode 100644 index 9a5b899b..00000000 --- a/snippets/ir.model.stock_production_lot.x_hostname.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - Forcepoint PoS - stock.production.lot - - x_forcepoint_pos - - - char - - diff --git a/snippets/ir.model.stock_production_lot.x_managed_service.xml b/snippets/ir.model.stock_production_lot.x_managed_service.xml deleted file mode 100644 index 05b92522..00000000 --- a/snippets/ir.model.stock_production_lot.x_managed_service.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - Managed Service - stock.production.lot - - x_managed_service - - - selection - [ - ('high', 'MS1 High'), - ('medium', 'MS1 Medium'), - ('low', 'MS1 Low'), - ('central', 'MS1 Central') - ] - - diff --git a/snippets/sale.md b/snippets/sale.md index 9c0de28f..f350c641 100644 --- a/snippets/sale.md +++ b/snippets/sale.md @@ -4247,6 +4247,19 @@ ID: `mint_system.sale.view_order_line_tree.editable` ``` Source: [snippets/sale.view_order_line_tree.editable.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_line_tree.editable.xml) +### Enable Create +ID: `mint_system.sale.view_order_line_tree.enable_create` +```xml + + + + true + + + +``` +Source: [snippets/sale.view_order_line_tree.enable_create.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_line_tree.enable_create.xml) + ### Fields Optional Hide ID: `mint_system.sale.view_order_line_tree.fields_optional_hide` ```xml diff --git a/snippets/sale.view_order_line_tree.enable_create.xml b/snippets/sale.view_order_line_tree.enable_create.xml new file mode 100644 index 00000000..7097116d --- /dev/null +++ b/snippets/sale.view_order_line_tree.enable_create.xml @@ -0,0 +1,6 @@ + + + + true + + diff --git a/snippets/web.md b/snippets/web.md index b9ff61a2..05ff148e 100644 --- a/snippets/web.md +++ b/snippets/web.md @@ -123,6 +123,26 @@ ID: `mint_system.web.brand_promotion_message.remove` Source: [snippets/web.brand_promotion_message.remove.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/web.brand_promotion_message.remove.xml) ## External Layout Bold +### Add Bank +ID: `mint_system.web.external_layout_bold.add_bank` +```xml + + + +
+
+ IBAN: +
+
+ BIC: +
+
+
+
+ +``` +Source: [snippets/web.external_layout_bold.add_bank.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/web.external_layout_bold.add_bank.xml) + ### Remove Background Image ID: `mint_system.web.external_layout_bold.remove_background_image` ```xml