diff --git a/.vuepress/config.js b/.vuepress/config.js
index f814dcc0..c06b6e7d 100644
--- a/.vuepress/config.js
+++ b/.vuepress/config.js
@@ -16,6 +16,7 @@ module.exports = {
{ text: 'Home', link: '/' },
{ text: 'Help', link: '/task' },
{ text: 'Snippets', link: '/snippets' },
+ { text: 'Apps', link: 'https://apps.odoo.com/apps/modules/browse?author=Mint%20System%20GmbH' },
{ text: 'Mint System', link: 'https://www.mint-system.ch/odoo' }
],
sidebar: {
diff --git a/snippets.md b/snippets.md
index e2943381..b6b90894 100644
--- a/snippets.md
+++ b/snippets.md
@@ -1,4 +1,5 @@
# Snippets
+In Odoo everything is described as an XML document. Snippets are modifications (edits) for these XML documents. With a snippet you can e.g. hide a field on the contact form. A snippet name is unique and follows the `$AUTHOR.$MODULE.$XML_ID.$DESCRIPTION` scheme.
## [Account](snippets/account.md)
## [Agreement](snippets/agreement.md)
## [Agreement Legal](snippets/agreement_legal.md)
diff --git a/snippets/account.md b/snippets/account.md
index 50b0733b..72da6920 100644
--- a/snippets/account.md
+++ b/snippets/account.md
@@ -3,6 +3,10 @@ prev: ./snippets.md
---
# Account
## Report Invoice Document
+### Add Header And Footer Note
+ID: `mint_system.account.report_invoice_document.add_header_and_footer_note`
+Link: [snippets/account.report_invoice_document.add_header_and_footer_note.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_header_and_footer_note.xml)
+
### Add Header Padding
ID: `mint_system.account.report_invoice_document.add_header_padding`
Link: [snippets/account.report_invoice_document.add_header_padding.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.report_invoice_document.add_header_padding.xml)
@@ -207,6 +211,10 @@ ID: `mint_system.account.view_in_invoice_tree.add_discount_date`
Link: [snippets/account.view_in_invoice_tree.add_discount_date.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_in_invoice_tree.add_discount_date.xml)
## View Invoice Tree
+### Add Currency Id
+ID: `mint_system.account.view_invoice_tree.add_currency_id`
+Link: [snippets/account.view_invoice_tree.add_currency_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_invoice_tree.add_currency_id.xml)
+
### Show Date
ID: `mint_system.account.view_invoice_tree.show_date`
Link: [snippets/account.view_invoice_tree.show_date.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_invoice_tree.show_date.xml)
@@ -228,6 +236,10 @@ Link: [snippets/account.view_move_form.payment_reference_readonly.xml](https://g
ID: `mint_system.account.view_move_form.remove_isr_button`
Link: [snippets/account.view_move_form.remove_isr_button.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.remove_isr_button.xml)
+### Show Commercial Partner Id
+ID: `mint_system.account.view_move_form.show_commercial_partner_id`
+Link: [snippets/account.view_move_form.show_commercial_partner_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.show_commercial_partner_id.xml)
+
### Show Posted Before
ID: `mint_system.account.view_move_form.show_posted_before`
Link: [snippets/account.view_move_form.show_posted_before.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_move_form.show_posted_before.xml)
@@ -264,3 +276,8 @@ Link: [snippets/account.view_move_tree.x_account_codes.xml](https://github.com/M
ID: `mint_system.account.view_out_invoice_tree.show_partner_shipping`
Link: [snippets/account.view_out_invoice_tree.show_partner_shipping.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_out_invoice_tree.show_partner_shipping.xml)
+## View Partner Property Form
+### Show Commercial Partner Id
+ID: `mint_system.account.view_partner_property_form.show_commercial_partner_id`
+Link: [snippets/account.view_partner_property_form.show_commercial_partner_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/account.view_partner_property_form.show_commercial_partner_id.xml)
+
diff --git a/snippets/account.report_invoice_document.add_header_and_footer_note.xml b/snippets/account.report_invoice_document.add_header_and_footer_note.xml
new file mode 100644
index 00000000..a46ac648
--- /dev/null
+++ b/snippets/account.report_invoice_document.add_header_and_footer_note.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/account.report_invoice_document.group_by_pickings.xml b/snippets/account.report_invoice_document.group_by_pickings.xml
index 39679919..c94da36c 100644
--- a/snippets/account.report_invoice_document.group_by_pickings.xml
+++ b/snippets/account.report_invoice_document.group_by_pickings.xml
@@ -32,7 +32,8 @@
|
- Lieferung
+ Lieferung
+
vom
:
|
@@ -100,6 +101,11 @@
+
+ |
+
+ |
+
diff --git a/snippets/account.report_invoice_document.replace_infotable.xml b/snippets/account.report_invoice_document.replace_infotable.xml
index 578d6d75..f579a2e1 100644
--- a/snippets/account.report_invoice_document.replace_infotable.xml
+++ b/snippets/account.report_invoice_document.replace_infotable.xml
@@ -60,15 +60,15 @@
|
+
Delivery Date |
-
+
|
+
-
-
-
-
+
+
diff --git a/snippets/account.report_invoice_document.replace_summary.xml b/snippets/account.report_invoice_document.replace_summary.xml
index 73d3f341..ec3d8122 100644
--- a/snippets/account.report_invoice_document.replace_summary.xml
+++ b/snippets/account.report_invoice_document.replace_summary.xml
@@ -1,36 +1,129 @@
-
+
+
+
+
+
+ |
+ Warenwert
+ |
+
+
+
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
+
+
+ |
+ Paid on
+
+ |
+
+
+ |
+
+
+
+
+ |
+ Amount Due
+ |
+
+
+ |
+
+
+
+
+
+ |
+
+
+ Total
+ |
+
+
+ |
-
-
-
-
-
-
- |
- Warenwert
- |
-
-
- |
-
-
- |
-
-
- |
-
- Rechnungsbetrag
- |
-
-
- |
-
-
+
diff --git a/snippets/account.report_invoice_document.round_price.xml b/snippets/account.report_invoice_document.round_price.xml
index b1d39f64..fadaca87 100644
--- a/snippets/account.report_invoice_document.round_price.xml
+++ b/snippets/account.report_invoice_document.round_price.xml
@@ -2,7 +2,7 @@
-
+
-
+
\ No newline at end of file
diff --git a/snippets/account.view_invoice_tree.add_currency_id.xml b/snippets/account.view_invoice_tree.add_currency_id.xml
new file mode 100644
index 00000000..30233e54
--- /dev/null
+++ b/snippets/account.view_invoice_tree.add_currency_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/account.view_move_form.show_commercial_partner_id.xml b/snippets/account.view_move_form.show_commercial_partner_id.xml
new file mode 100644
index 00000000..782c4009
--- /dev/null
+++ b/snippets/account.view_move_form.show_commercial_partner_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/account.view_partner_property_form.show_commercial_partner_id.xml b/snippets/account.view_partner_property_form.show_commercial_partner_id.xml
new file mode 100644
index 00000000..d78302ec
--- /dev/null
+++ b/snippets/account.view_partner_property_form.show_commercial_partner_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/base.md b/snippets/base.md
index ca7affff..aae3ae62 100644
--- a/snippets/base.md
+++ b/snippets/base.md
@@ -36,6 +36,10 @@ ID: `mint_system.base.view_bank_form.add_display_name`
Link: [snippets/base.view_bank_form.add_display_name.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_bank_form.add_display_name.xml)
## View Partner Form
+### Add Commercial Partner Id
+ID: `mint_system.base.view_partner_form.add_commercial_partner_id`
+Link: [snippets/base.view_partner_form.add_commercial_partner_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_form.add_commercial_partner_id.xml)
+
### Add Credit Limit
ID: `mint_system.base.view_partner_form.add_credit_limit`
Link: [snippets/base.view_partner_form.add_credit_limit.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_form.add_credit_limit.xml)
@@ -52,6 +56,10 @@ Link: [snippets/base.view_partner_form.add_display_name.xml](https://github.com/
ID: `mint_system.base.view_partner_form.move_ref`
Link: [snippets/base.view_partner_form.move_ref.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_form.move_ref.xml)
+### Show Industry
+ID: `mint_system.base.view_partner_form.show_industry`
+Link: [snippets/base.view_partner_form.show_industry.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_form.show_industry.xml)
+
## View Partner Tree
### Add Ref Zip Type
ID: `mint_system.base.view_partner_tree.add_ref_zip_type`
@@ -69,6 +77,10 @@ Link: [snippets/base.view_partner_tree.optional_payment_terms.xml](https://githu
ID: `mint_system.base.view_partner_tree.optional_zip`
Link: [snippets/base.view_partner_tree.optional_zip.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_tree.optional_zip.xml)
+### Show Industry
+ID: `mint_system.base.view_partner_tree.show_industry`
+Link: [snippets/base.view_partner_tree.show_industry.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_tree.show_industry.xml)
+
### Show Type
ID: `mint_system.base.view_partner_tree.show_type`
Link: [snippets/base.view_partner_tree.show_type.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/base.view_partner_tree.show_type.xml)
diff --git a/snippets/base.view_partner_form.add_commercial_partner_id.xml b/snippets/base.view_partner_form.add_commercial_partner_id.xml
new file mode 100644
index 00000000..c04d231a
--- /dev/null
+++ b/snippets/base.view_partner_form.add_commercial_partner_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/base.view_partner_form.show_industry.xml b/snippets/base.view_partner_form.show_industry.xml
new file mode 100644
index 00000000..40011c46
--- /dev/null
+++ b/snippets/base.view_partner_form.show_industry.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ {'invisible': False}
+
+
+
diff --git a/snippets/base.view_partner_tree.show_industry.xml b/snippets/base.view_partner_tree.show_industry.xml
new file mode 100644
index 00000000..39424877
--- /dev/null
+++ b/snippets/base.view_partner_tree.show_industry.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/ir_model.account_move.x_date_done.xml b/snippets/ir_model.account_move.x_date_done.xml
new file mode 100644
index 00000000..72502896
--- /dev/null
+++ b/snippets/ir_model.account_move.x_date_done.xml
@@ -0,0 +1,17 @@
+
+
+
+
+ []
+ date_done
+ account.move
+
+ x_date_done
+
+
+
+ date
+ picking_ids.date_done
+
+
+
diff --git a/snippets/ir_model.account_move.x_picking_list.xml b/snippets/ir_model.account_move.x_picking_list.xml
new file mode 100644
index 00000000..8c5a2264
--- /dev/null
+++ b/snippets/ir_model.account_move.x_picking_list.xml
@@ -0,0 +1,22 @@
+
+
+
+
+ []
+ Picking List
+ account.move
+
+ x_picking_list
+ manual
+
+
+
+ text
+ picking_ids
+ for record in self:
+ picking_ids = record.picking_ids.mapped('name')
+ record['x_picking_list'] = ", ".join(picking_ids)
+
+
+
+
diff --git a/snippets/ir_model.md b/snippets/ir_model.md
index ed3c6e41..9785240e 100644
--- a/snippets/ir_model.md
+++ b/snippets/ir_model.md
@@ -21,6 +21,14 @@ Link: [snippets/ir_model.account_move_line.x_sale_order_id.xml](https://github.c
ID: `mint_system.ir_model.account_move.x_account_codes`
Link: [snippets/ir_model.account_move.x_account_codes.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.account_move.x_account_codes.xml)
+### X Date Done
+ID: `mint_system.ir_model.account_move.x_date_done`
+Link: [snippets/ir_model.account_move.x_date_done.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.account_move.x_date_done.xml)
+
+### X Picking List
+ID: `mint_system.ir_model.account_move.x_picking_list`
+Link: [snippets/ir_model.account_move.x_picking_list.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.account_move.x_picking_list.xml)
+
### X Studio Description
ID: `mint_system.ir_model.account_move.x_studio_description`
Link: [snippets/ir_model.account_move.x_studio_description.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.account_move.x_studio_description.xml)
@@ -107,6 +115,10 @@ Link: [snippets/ir_model.product_set_line.x_categ_id.xml](https://github.com/Min
ID: `mint_system.ir_model.product_template.x_hide_on_delivery`
Link: [snippets/ir_model.product_template.x_hide_on_delivery.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.product_template.x_hide_on_delivery.xml)
+### X Product Label
+ID: `mint_system.ir_model.product_template.x_product_label`
+Link: [snippets/ir_model.product_template.x_product_label.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.product_template.x_product_label.xml)
+
### X Xml Id
ID: `mint_system.ir_model.product_template.x_xml_id`
Link: [snippets/ir_model.product_template.x_xml_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.product_template.x_xml_id.xml)
@@ -177,6 +189,10 @@ ID: `mint_system.ir_model.sale_order_line.x_weight_delivered`
Link: [snippets/ir_model.sale_order_line.x_weight_delivered.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.sale_order_line.x_weight_delivered.xml)
## Sale Order
+### X Product Uom Qty
+ID: `mint_system.ir_model.sale_order.x_product_uom_qty`
+Link: [snippets/ir_model.sale_order.x_product_uom_qty.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.sale_order.x_product_uom_qty.xml)
+
### X Studio Description
ID: `mint_system.ir_model.sale_order.x_studio_description`
Link: [snippets/ir_model.sale_order.x_studio_description.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/ir_model.sale_order.x_studio_description.xml)
diff --git a/snippets/ir_model.product_template.x_product_label.xml b/snippets/ir_model.product_template.x_product_label.xml
new file mode 100644
index 00000000..873934f0
--- /dev/null
+++ b/snippets/ir_model.product_template.x_product_label.xml
@@ -0,0 +1,20 @@
+
+
+
+
+ Product Label
+ product.template
+
+ x_product_label
+
+
+
+ Many2One
+ Label to be used when printing
+ ir.actions.report
+
+ Set NULL
+ []
+
+
+
diff --git a/snippets/mail.mail_notification_borders.white_background.xml b/snippets/mail.mail_notification_borders.white_background.xml
new file mode 100644
index 00000000..9518171f
--- /dev/null
+++ b/snippets/mail.mail_notification_borders.white_background.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/mail.mail_notification_light.white_background.xml b/snippets/mail.mail_notification_light.white_background.xml
new file mode 100644
index 00000000..6325609f
--- /dev/null
+++ b/snippets/mail.mail_notification_light.white_background.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/mail.mail_notification_paynow.white_background.xml b/snippets/mail.mail_notification_paynow.white_background.xml
new file mode 100644
index 00000000..5cac3d69
--- /dev/null
+++ b/snippets/mail.mail_notification_paynow.white_background.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/mail.md b/snippets/mail.md
index 9fa90cda..fdccb6e0 100644
--- a/snippets/mail.md
+++ b/snippets/mail.md
@@ -21,6 +21,10 @@ Link: [snippets/mail.mail_notification_borders.reduce_to_content.xml](https://gi
ID: `mint_system.mail.mail_notification_borders.remove_logo`
Link: [snippets/mail.mail_notification_borders.remove_logo.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_borders.remove_logo.xml)
+### White Background
+ID: `mint_system.mail.mail_notification_borders.white_background`
+Link: [snippets/mail.mail_notification_borders.white_background.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_borders.white_background.xml)
+
## Mail Notification Email
### Remove Logo
ID: `mint_system.mail.mail_notification_email.remove_logo`
@@ -39,6 +43,10 @@ Link: [snippets/mail.mail_notification_light.remove_logo.xml](https://github.com
ID: `mint_system.mail.mail_notification_light.replace_footer`
Link: [snippets/mail.mail_notification_light.replace_footer.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_light.replace_footer.xml)
+### White Background
+ID: `mint_system.mail.mail_notification_light.white_background`
+Link: [snippets/mail.mail_notification_light.white_background.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_light.white_background.xml)
+
## Mail Notification Paynow
### Reduce To Content
ID: `mint_system.mail.mail_notification_paynow.reduce_to_content`
@@ -56,3 +64,7 @@ Link: [snippets/mail.mail_notification_paynow.remove_signature.xml](https://gith
ID: `mint_system.mail.mail_notification_paynow.replace_footer`
Link: [snippets/mail.mail_notification_paynow.replace_footer.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_paynow.replace_footer.xml)
+### White Background
+ID: `mint_system.mail.mail_notification_paynow.white_background`
+Link: [snippets/mail.mail_notification_paynow.white_background.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mail.mail_notification_paynow.white_background.xml)
+
diff --git a/snippets/mrp.label_production_view.tissa.xml b/snippets/mrp.label_production_view.tissa.xml
index 89a1b865..f2895bba 100644
--- a/snippets/mrp.label_production_view.tissa.xml
+++ b/snippets/mrp.label_production_view.tissa.xml
@@ -1,8 +1,37 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/snippets/mrp.label_production_view.tissa_etikette_ketten.xml b/snippets/mrp.label_production_view.tissa_etikette_ketten.xml
new file mode 100644
index 00000000..24523634
--- /dev/null
+++ b/snippets/mrp.label_production_view.tissa_etikette_ketten.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+

+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ Einlagerungsdatum:
+
+
+
+
+
+
+
+
+ kommt an Maschine:
+
+
+
+
\ No newline at end of file
diff --git a/snippets/mrp.md b/snippets/mrp.md
index 4233364a..a282e171 100644
--- a/snippets/mrp.md
+++ b/snippets/mrp.md
@@ -8,6 +8,10 @@ ID: `mint_system.mrp.label_production_view_pdf.trimada`
Link: [snippets/mrp.label_production_view_pdf.trimada.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mrp.label_production_view_pdf.trimada.xml)
## Label Production View
+### Tissa Etikette Ketten
+ID: `mint_system.mrp.label_production_view.tissa_etikette_ketten`
+Link: [snippets/mrp.label_production_view.tissa_etikette_ketten.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mrp.label_production_view.tissa_etikette_ketten.xml)
+
### Tissa
ID: `mint_system.mrp.label_production_view.tissa`
Link: [snippets/mrp.label_production_view.tissa.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/mrp.label_production_view.tissa.xml)
diff --git a/snippets/product.md b/snippets/product.md
index ca637aec..59fb2915 100644
--- a/snippets/product.md
+++ b/snippets/product.md
@@ -2,11 +2,21 @@
prev: ./snippets.md
---
# Product
+## Product Normal Only Form View
+### Add X Product Label
+ID: `mint_system.product.product_normal_only_form_view.add_x_product_label`
+Link: [snippets/product.product_normal_only_form_view.add_x_product_label.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_normal_only_form_view.add_x_product_label.xml)
+
## Product Packaging Form View
### X Packaging Uom Id
ID: `mint_system.product.product_packaging_form_view.x_packaging_uom_id`
Link: [snippets/product.product_packaging_form_view.x_packaging_uom_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_packaging_form_view.x_packaging_uom_id.xml)
+## Product Pricelist View
+### Show Product
+ID: `mint_system.product.product_pricelist_view.show_product`
+Link: [snippets/product.product_pricelist_view.show_product.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_pricelist_view.show_product.xml)
+
## Product Template Form View
### Add Type Description
ID: `mint_system.product.product_template_form_view.add_type_description`
@@ -22,6 +32,10 @@ ID: `mint_system.product.product_template_kanban_view.add_product_info`
Link: [snippets/product.product_template_kanban_view.add_product_info.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_kanban_view.add_product_info.xml)
## Product Template Only Form View
+### Add X Product Label
+ID: `mint_system.product.product_template_only_form_view.add_x_product_label`
+Link: [snippets/product.product_template_only_form_view.add_x_product_label.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_only_form_view.add_x_product_label.xml)
+
### Hide Barcode
ID: `mint_system.product.product_template_only_form_view.hide_barcode`
Link: [snippets/product.product_template_only_form_view.hide_barcode.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/product.product_template_only_form_view.hide_barcode.xml)
diff --git a/snippets/product.product_normal_only_form_view.add_x_product_label.xml b/snippets/product.product_normal_only_form_view.add_x_product_label.xml
new file mode 100644
index 00000000..182b75f7
--- /dev/null
+++ b/snippets/product.product_normal_only_form_view.add_x_product_label.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/product.product_pricelist_view.show_product.xml b/snippets/product.product_pricelist_view.show_product.xml
new file mode 100644
index 00000000..34bd0280
--- /dev/null
+++ b/snippets/product.product_pricelist_view.show_product.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/product.product_template_only_form_view.add_x_product_label.xml b/snippets/product.product_template_only_form_view.add_x_product_label.xml
new file mode 100644
index 00000000..6af4ea97
--- /dev/null
+++ b/snippets/product.product_template_only_form_view.add_x_product_label.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/product.report_producttemplatelabel.trimada.xml b/snippets/product.report_producttemplatelabel.trimada.xml
index 6cd9494a..0c44465a 100644
--- a/snippets/product.report_producttemplatelabel.trimada.xml
+++ b/snippets/product.report_producttemplatelabel.trimada.xml
@@ -6,11 +6,14 @@
.label {
font-family: arial;
}
- .box {
- margin: 0 0 2mm 0;
+ .box1 {
+ margin: 9mm 0 2mm 0;
}
- .padding {
- padding-bottom: 3mm;
+ .box2 {
+ margin: 7mm 0 2mm 0;
+ }
+ .box3 {
+ margin: 2mm 0 2mm 0;
}
.title {
font-size: 11mm;
@@ -18,28 +21,22 @@
font-weight: bold;
text-align: center;
border-bottom: solid 1px;
- line-height: 30mm;
+ }
+ .frame {
+ border-bottom: solid 1px;
+ margin: 0 3mm 0 3mm;
}
.description {
- font-size: 9mm;
- margin: 0 3mm 0 3mm;
- text-align: center;
+ font-size: 7mm;
height: 23mm;
- line-height: 10mm;
- display: table;
width: 98%;
- line-height: 10mm;
- }
- .sub1 {
- display: table-cell ;
- vertical-align: middle;
+ overflow: hidden;
+ text-overflow: ellipsis;
text-align: center;
- }
- .sub2 {
- display: table-cell ;
- vertical-align: middle;
- text-align: center;
- border-bottom: solid 1px;
+ padding: 10px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
}
.delivery {
font-size: 7mm;
@@ -60,24 +57,27 @@
padding-left: 0;
}
+
-
+
-
+
-
+
@@ -91,6 +91,8 @@
Trimada AG, CH-5610 Wohlen – www.trimada.ch
+
+
diff --git a/snippets/purchase.report_purchaseorder_document.modify_main_table.xml b/snippets/purchase.report_purchaseorder_document.modify_main_table.xml
index 78de4726..a6b265f9 100644
--- a/snippets/purchase.report_purchaseorder_document.modify_main_table.xml
+++ b/snippets/purchase.report_purchaseorder_document.modify_main_table.xml
@@ -126,10 +126,18 @@
|
-
MwSt. 7,7% |
-
-
- |
+
+
+ MWST |
+
+
+ |
+
+
+ |
+ |
+
+
Bestellbetrag
|
diff --git a/snippets/sale.md b/snippets/sale.md
index 65f45937..83012d93 100644
--- a/snippets/sale.md
+++ b/snippets/sale.md
@@ -351,6 +351,10 @@ Link: [snippets/sale.view_order_form.no_create_edit.xml](https://github.com/Mint
ID: `mint_system.sale.view_order_form.show_carrier_method`
Link: [snippets/sale.view_order_form.show_carrier_method.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_form.show_carrier_method.xml)
+### Show Project
+ID: `mint_system.sale.view_order_form.show_project`
+Link: [snippets/sale.view_order_form.show_project.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_form.show_project.xml)
+
### Show Sequence
ID: `mint_system.sale.view_order_form.show_sequence`
Link: [snippets/sale.view_order_form.show_sequence.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_form.show_sequence.xml)
@@ -360,6 +364,10 @@ ID: `mint_system.sale.view_order_form.x_sudio_description`
Link: [snippets/sale.view_order_form.x_sudio_description.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_form.x_sudio_description.xml)
## View Order Line Tree
+### Qty With Sum
+ID: `mint_system.sale.view_order_line_tree.qty_with_sum`
+Link: [snippets/sale.view_order_line_tree.qty_with_sum.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_line_tree.qty_with_sum.xml)
+
### Reset View
ID: `mint_system.sale.view_order_line_tree.reset_view`
Link: [snippets/sale.view_order_line_tree.reset_view.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_line_tree.reset_view.xml)
@@ -389,6 +397,10 @@ Link: [snippets/sale.view_order_tree.add_comment.xml](https://github.com/Mint-Sy
ID: `mint_system.sale.view_order_tree.show_partner_shipping`
Link: [snippets/sale.view_order_tree.show_partner_shipping.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_tree.show_partner_shipping.xml)
+### X Product Uom Qty
+ID: `mint_system.sale.view_order_tree.x_product_uom_qty`
+Link: [snippets/sale.view_order_tree.x_product_uom_qty.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale.view_order_tree.x_product_uom_qty.xml)
+
## View Quotation Tree
### Add Client Order Ref
ID: `mint_system.sale.view_quotation_tree.add_client_order_ref`
diff --git a/snippets/sale.report_saleorder_document.qty_remaining.xml b/snippets/sale.report_saleorder_document.qty_remaining.xml
index 08b47421..02f771df 100644
--- a/snippets/sale.report_saleorder_document.qty_remaining.xml
+++ b/snippets/sale.report_saleorder_document.qty_remaining.xml
@@ -2,7 +2,7 @@
-
+
diff --git a/snippets/sale.report_saleorder_document.replace_summary.xml b/snippets/sale.report_saleorder_document.replace_summary.xml
index d3242cc3..f378b20a 100644
--- a/snippets/sale.report_saleorder_document.replace_summary.xml
+++ b/snippets/sale.report_saleorder_document.replace_summary.xml
@@ -3,29 +3,83 @@
-
-
-
- |
- Warenwert
- |
-
-
- |
-
-
- |
-
-
- |
-
- Rechnungsbetrag
- |
-
-
- |
-
-
+
+
+
+
+ |
+ Warenwert
+ |
+
+
+ |
+
+
+
+
+
+
+ |
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ Rechnungsbetrag
+ |
+
+
+ |
+
diff --git a/snippets/sale.view_order_form.show_project.xml b/snippets/sale.view_order_form.show_project.xml
new file mode 100644
index 00000000..6d0aae6f
--- /dev/null
+++ b/snippets/sale.view_order_form.show_project.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/sale.view_order_line_tree.qty_with_sum.xml b/snippets/sale.view_order_line_tree.qty_with_sum.xml
new file mode 100644
index 00000000..31d15450
--- /dev/null
+++ b/snippets/sale.view_order_line_tree.qty_with_sum.xml
@@ -0,0 +1,20 @@
+
+
+
+
+ Menge
+
+
+
+ Gelieferte Menge
+
+
+
+ Abgerechnete Menge
+
+
+
+ Abzurechnende Menge
+
+
+
diff --git a/snippets/sale.view_order_line_tree.x_weight_delivered.xml b/snippets/sale.view_order_line_tree.x_weight_delivered.xml
index fdb8c090..d39d7c0b 100644
--- a/snippets/sale.view_order_line_tree.x_weight_delivered.xml
+++ b/snippets/sale.view_order_line_tree.x_weight_delivered.xml
@@ -2,7 +2,7 @@
-
+
diff --git a/snippets/stock.label_transfer_template_view.trimada.xml b/snippets/stock.label_transfer_template_view.trimada.xml
index 51b36c16..badcc1a9 100644
--- a/snippets/stock.label_transfer_template_view.trimada.xml
+++ b/snippets/stock.label_transfer_template_view.trimada.xml
@@ -2,15 +2,22 @@
-
+
+
+
+ | Auftrag: |
+ Versanddatum: |
+ Versanddatum: |
+ Kundenreferenz: |
+
+
+
+
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.report_picking.get_position.xml b/snippets/stock.report_picking.get_position.xml
index 19ca42b0..f53845d2 100644
--- a/snippets/stock.report_picking.get_position.xml
+++ b/snippets/stock.report_picking.get_position.xml
@@ -8,7 +8,8 @@
-
+
+
diff --git a/snippets/stock.vpicktree.show_delivery_note.xml b/snippets/stock.vpicktree.show_delivery_note.xml
new file mode 100644
index 00000000..dd38c706
--- /dev/null
+++ b/snippets/stock.vpicktree.show_delivery_note.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/task b/task
index fca6c8e0..8c7175b4 100755
--- a/task
+++ b/task
@@ -117,7 +117,7 @@ function install-native() {
pip install setuptools wheel watchdog phonenumbers
pip install -r odoo/requirements.txt
echo "Install oca dev tools"
- pip install pre-commit pyyaml rst2html5
+ pip install pre-commit pyyaml rst2html5 odoorpc
echo "Install graphql dependencies"
pip install graphene graphql-server-core
echo "Install rest dependencies"
@@ -787,6 +787,10 @@ function update-docs() {
echo "Update snippets README file."
echo "# Snippets" > snippets.md
+ echo "In Odoo everything is described as an XML document. \
+ Snippets are modifications (edits) for these XML documents. \
+ With a snippet you can e.g. hide a field on the contact form. \
+ A snippet name is unique and follows the \`\$AUTHOR.\$MODULE.\$XML_ID.\$DESCRIPTION\` scheme." >> snippets.md
PATH_URL="https://github.com/Mint-System/Odoo-Development/tree/14.0"
| |