diff --git a/snippets/account.md b/snippets/account.md index c6497bc2..dc405e20 100644 --- a/snippets/account.md +++ b/snippets/account.md @@ -5712,6 +5712,20 @@ ID: `mint_system.account.view_move_form.show_line_partner_id` ``` Source: [snippets/account.view_move_form.show_line_partner_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.view_move_form.show_line_partner_id.xml) +### Show Payment State +ID: `mint_system.account.view_move_form.show_payment_state` +```xml + + + + + + + + +``` +Source: [snippets/account.view_move_form.show_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.view_move_form.show_payment_state.xml) + ### Show Posted Before ID: `mint_system.account.view_move_form.show_posted_before` ```xml diff --git a/snippets/account.view_move_form.show_payment_state.xml b/snippets/account.view_move_form.show_payment_state.xml new file mode 100644 index 00000000..8e3bbde4 --- /dev/null +++ b/snippets/account.view_move_form.show_payment_state.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/snippets/ir_model.md b/snippets/ir_model.md index 6706fecd..dcc6d464 100644 --- a/snippets/ir_model.md +++ b/snippets/ir_model.md @@ -2274,6 +2274,48 @@ ID: `mint_system.ir_model.sale_order.x_order_number` ``` Source: [snippets/ir_model.sale_order.x_order_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.sale_order.x_order_number.xml) +### X Payment State +ID: `mint_system.ir_model.sale_order.x_payment_state` +```xml + + + + + Zahlungsstatus + sale.order + + x_payment_state + + + + selection + [ + {'value':'not_paid','name':'Nicht Bezahlt'}, + {'value':'in_payment','name':'In Zahlung'}, + {'value':'paid','name':'Bezahlt'}, + ] + invoice_ids,invoice_ids.payment_state + for rec in self: + if rec.invoice_ids: + has_only_paid_invoices = all(rec.invoice_ids.mapped(lambda i: i.payment_state == 'paid')) + has_in_payment_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'in_payment')) + has_not_paid_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'not_paid')) + + if has_only_paid_invoices: + rec['x_payment_state'] = 'paid' + elif has_in_payment_invoices: + rec['x_payment_state'] = 'in_payment' + elif has_not_paid_invoices: + rec['x_payment_state'] = 'not_paid' + else: + rec['x_payment_state'] = 'not_paid' + + + + +``` +Source: [snippets/ir_model.sale_order.x_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.sale_order.x_payment_state.xml) + ### X Payment Term Blanket Order ID: `mint_system.ir_model.sale_order.x_payment_term_blanket_order` ```xml @@ -2473,6 +2515,32 @@ ID: `mint_system.ir_model.stock_move.x_count_packaging` ``` Source: [snippets/ir_model.stock_move.x_count_packaging.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.stock_move.x_count_packaging.xml) +### X Label Qty +ID: `mint_system.ir_model.stock_move.x_label_qty` +```xml + + + + + Anzahl Etiketten + stock.move + + x_label_qty + + + + int + product_uom_qty + for rec in self: + rec['x_label_qty'] = 1 + + + + + +``` +Source: [snippets/ir_model.stock_move.x_label_qty.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.stock_move.x_label_qty.xml) + ### X Operation Qty ID: `mint_system.ir_model.stock_move.x_operation_qty` ```xml diff --git a/snippets/ir_model.sale_order.x_payment_state.xml b/snippets/ir_model.sale_order.x_payment_state.xml new file mode 100644 index 00000000..f000c1b9 --- /dev/null +++ b/snippets/ir_model.sale_order.x_payment_state.xml @@ -0,0 +1,35 @@ + + + + + Zahlungsstatus + sale.order + + x_payment_state + + + + selection + [ + {'value':'not_paid','name':'Nicht Bezahlt'}, + {'value':'in_payment','name':'In Zahlung'}, + {'value':'paid','name':'Bezahlt'}, + ] + invoice_ids,invoice_ids.payment_state + for rec in self: + if rec.invoice_ids: + has_only_paid_invoices = all(rec.invoice_ids.mapped(lambda i: i.payment_state == 'paid')) + has_in_payment_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'in_payment')) + has_not_paid_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'not_paid')) + + if has_only_paid_invoices: + rec['x_payment_state'] = 'paid' + elif has_in_payment_invoices: + rec['x_payment_state'] = 'in_payment' + elif has_not_paid_invoices: + rec['x_payment_state'] = 'not_paid' + else: + rec['x_payment_state'] = 'not_paid' + + + diff --git a/snippets/ir_model.stock_move.x_label_qty.xml b/snippets/ir_model.stock_move.x_label_qty.xml new file mode 100644 index 00000000..35d67dd2 --- /dev/null +++ b/snippets/ir_model.stock_move.x_label_qty.xml @@ -0,0 +1,19 @@ + + + + + Anzahl Etiketten + stock.move + + x_label_qty + + + + int + product_uom_qty + for rec in self: + rec['x_label_qty'] = 1 + + + + diff --git a/snippets/sale.md b/snippets/sale.md index 612afffc..4b77b7bc 100644 --- a/snippets/sale.md +++ b/snippets/sale.md @@ -3148,6 +3148,20 @@ ID: `mint_system.sale.sale_order_line_view_form_readonly.show_project_id` ``` Source: [snippets/sale.sale_order_line_view_form_readonly.show_project_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.sale_order_line_view_form_readonly.show_project_id.xml) +### Show Subscription Id +ID: `mint_system.sale.sale_order_line_view_form_readonly.show_subscription_id` +```xml + + + + + + + + +``` +Source: [snippets/sale.sale_order_line_view_form_readonly.show_subscription_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.sale_order_line_view_form_readonly.show_subscription_id.xml) + ## Sale Order Portal Content ### Convert Html Note ID: `mint_system.sale.sale_order_portal_content.convert_html_note` @@ -3731,6 +3745,20 @@ ID: `mint_system.sale.view_order_form.show_order_line_project_id` ``` Source: [snippets/sale.view_order_form.show_order_line_project_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.show_order_line_project_id.xml) +### Show Order Line Subscription Id +ID: `mint_system.sale.view_order_form.show_order_line_subscription_id` +```xml + + + + + + + + +``` +Source: [snippets/sale.view_order_form.show_order_line_subscription_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.show_order_line_subscription_id.xml) + ### Show Product Template Id ID: `mint_system.sale.view_order_form.show_product_template_id` ```xml @@ -3889,7 +3917,7 @@ ID: `mint_system.sale.view_order_form.x_order_number` - + @@ -3897,6 +3925,20 @@ ID: `mint_system.sale.view_order_form.x_order_number` ``` Source: [snippets/sale.view_order_form.x_order_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.x_order_number.xml) +### X Payment State +ID: `mint_system.sale.view_order_form.x_payment_state` +```xml + + + + + + + + +``` +Source: [snippets/sale.view_order_form.x_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.x_payment_state.xml) + ### X Payment Term Blanket Order ID: `mint_system.sale.view_order_form.x_payment_term_blanket_order` ```xml @@ -4393,11 +4435,10 @@ Source: [snippets/sale.view_quotation_tree.replace_create_date.xml](https://gith ### Show Delivery Status ID: `mint_system.sale.view_quotation_tree.show_delivery_status` ```xml - - + @@ -4418,6 +4459,32 @@ ID: `mint_system.sale.view_quotation_tree.show_​payment_term_id` ``` Source: [snippets/sale.view_quotation_tree.show_​payment_term_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.show_​payment_term_id.xml) +### X Order Number +ID: `mint_system.sale.view_quotation_tree.x_order_number` +```xml + + + + + + + +``` +Source: [snippets/sale.view_quotation_tree.x_order_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.x_order_number.xml) + +### X Payment State +ID: `mint_system.sale.view_quotation_tree.x_payment_state` +```xml + + + + + + + +``` +Source: [snippets/sale.view_quotation_tree.x_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.x_payment_state.xml) + ## View Sales Order Filter ### Add Invoice Status ID: `mint_system.sale.view_sales_order_filter.add_invoice_status` diff --git a/snippets/sale.view_order_form.x_order_number.xml b/snippets/sale.view_order_form.x_order_number.xml index cd6974d3..e049af37 100644 --- a/snippets/sale.view_order_form.x_order_number.xml +++ b/snippets/sale.view_order_form.x_order_number.xml @@ -1,7 +1,7 @@ - + diff --git a/snippets/sale.view_order_form.x_payment_state.xml b/snippets/sale.view_order_form.x_payment_state.xml new file mode 100644 index 00000000..bd1cd570 --- /dev/null +++ b/snippets/sale.view_order_form.x_payment_state.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/snippets/sale.view_quotation_tree.show_delivery_status.xml b/snippets/sale.view_quotation_tree.show_delivery_status.xml index f8554b6a..d69f1f5d 100644 --- a/snippets/sale.view_quotation_tree.show_delivery_status.xml +++ b/snippets/sale.view_quotation_tree.show_delivery_status.xml @@ -1,8 +1,7 @@ - - + \ No newline at end of file diff --git a/snippets/sale.view_quotation_tree.x_order_number.xml b/snippets/sale.view_quotation_tree.x_order_number.xml new file mode 100644 index 00000000..56e4f315 --- /dev/null +++ b/snippets/sale.view_quotation_tree.x_order_number.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/snippets/sale.view_quotation_tree.x_payment_state.xml b/snippets/sale.view_quotation_tree.x_payment_state.xml new file mode 100644 index 00000000..31471ad4 --- /dev/null +++ b/snippets/sale.view_quotation_tree.x_payment_state.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/snippets/sale_product_set.md b/snippets/sale_product_set.md index e7f89498..2711f6eb 100644 --- a/snippets/sale_product_set.md +++ b/snippets/sale_product_set.md @@ -1,4 +1,20 @@ # Sale Product Set +## View Order Stock Form +### Show Button Always +ID: `mint_system.sale_product_set.view_order_stock_form.show_button_always` +```xml + + + + + + + +``` +Source: [snippets/sale_product_set.view_order_stock_form.show_button_always.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale_product_set.view_order_stock_form.show_button_always.xml) + ## View Product Set Form ### X Categ Id ID: `mint_system.sale_product_set.view_product_set_form.x_categ_id` diff --git a/snippets/stock.md b/snippets/stock.md index fd4c3f8e..3f431662 100644 --- a/snippets/stock.md +++ b/snippets/stock.md @@ -5923,6 +5923,51 @@ ID: `mint_system.stock.report_picking.x_packaging_uom_id` ``` Source: [snippets/stock.report_picking.x_packaging_uom_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.report_picking.x_packaging_uom_id.xml) +## Report Reception Report Label +### Aersolution +ID: `mint_system.stock.report_reception_report_label.aersolution` +```xml + + +
+ + + + + + +
+
+ Logo +
+
+
+ -
+
+
+ +
+ +

+ +

LS/SN:

+ +

EXP:

+ + +

LOC:

+ +

+ + + + +

+
+
+``` +Source: [snippets/stock.report_reception_report_label.aersolution.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.report_reception_report_label.aersolution.xml) + ## Search Product Lot Filter ### Filter Active ID: `mint_system.stock.search_product_lot_filter.filter_active` @@ -6961,6 +7006,21 @@ ID: `mint_system.stock.view_picking_form.x_count_boxes` ``` Source: [snippets/stock.view_picking_form.x_count_boxes.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.view_picking_form.x_count_boxes.xml) +### X Label Qty +ID: `mint_system.stock.view_picking_form.x_label_qty` +```xml + + + + + + + + + +``` +Source: [snippets/stock.view_picking_form.x_label_qty.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.view_picking_form.x_label_qty.xml) + ## View Picking Internal Search ### Filter Groupby Expected Date ID: `mint_system.stock.view_picking_internal_search.filter_groupby_expected_date` diff --git a/snippets/stock.report_reception_report_label.aersolution.xml b/snippets/stock.report_reception_report_label.aersolution.xml new file mode 100644 index 00000000..997b6d5a --- /dev/null +++ b/snippets/stock.report_reception_report_label.aersolution.xml @@ -0,0 +1,38 @@ + + +
+ + + + + + +
+
+ Logo +
+
+
+ -
+
+
+ +
+ +

+ +

LS/SN:

+ +

EXP:

+ + +

LOC:

+ +

+ + + + +

+
+
\ No newline at end of file diff --git a/snippets/stock.view_picking_form.x_label_qty.xml b/snippets/stock.view_picking_form.x_label_qty.xml new file mode 100644 index 00000000..9b11d137 --- /dev/null +++ b/snippets/stock.view_picking_form.x_label_qty.xml @@ -0,0 +1,8 @@ + + + + + + + +