>
-
-
+
+
-
-
+
+
@@ -409,7 +451,7 @@ ID: `mint_system.sale_blanket_order.report_blanketorder_document.replace_summary
|
- VAT 7.7%
+ VAT
|
@@ -426,7 +468,6 @@ ID: `mint_system.sale_blanket_order.report_blanketorder_document.replace_summary
-
```
Source: [snippets/sale_blanket_order.report_blanketorder_document.replace_summary.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale_blanket_order.report_blanketorder_document.replace_summary.xml)
@@ -555,6 +596,10 @@ ID: `mint_system.sale_blanket_order.report_blanketorder_document.set_ids`
price_subtotal
+ xpath expr="//table[2]//td[5]" position="attributes">
+ price_subtotal
+
+
price_total
@@ -707,6 +752,24 @@ ID: `mint_system.sale_blanket_order.view_blanket_order_form.modify_attributes_da
```
Source: [snippets/sale_blanket_order.view_blanket_order_form.modify_attributes_date_confirmed.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale_blanket_order.view_blanket_order_form.modify_attributes_date_confirmed.xml)
+### X Product Uom Category Id
+ID: `mint_system.sale_blanket_order.view_blanket_order_form.x_product_uom_category_id`
+```xml
+
+
+
+
+
+
+
+
+ [["category_id","=",x_product_uom_category_id]]
+
+
+
+```
+Source: [snippets/sale_blanket_order.view_blanket_order_form.x_product_uom_category_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale_blanket_order.view_blanket_order_form.x_product_uom_category_id.xml)
+
## View Blanket Order Search
### Replace Filter
ID: `mint_system.sale_blanket_order.view_blanket_order_search.replace_filter`
@@ -738,7 +801,7 @@ ID: `mint_system.sale_blanket_order.view_blanket_order_search.replace_filter`
-
+
@@ -784,3 +847,22 @@ ID: `mint_system.sale_blanket_order.view_blanket_order_tree.reset_view`
```
Source: [snippets/sale_blanket_order.view_blanket_order_tree.reset_view.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale_blanket_order.view_blanket_order_tree.reset_view.xml)
+## View Order Form
+### Modify Attributes Blanket Order Line
+ID: `mint_system.sale_blanket_order.view_order_form.modify_attributes_blanket_order_line`
+```xml
+
+
+
+
+
+
+
+
+ [["partner_id","=",order_partner_id]]
+
+
+
+```
+Source: [snippets/sale_blanket_order.view_order_form.modify_attributes_blanket_order_line.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/sale_blanket_order.view_order_form.modify_attributes_blanket_order_line.xml)
+
diff --git a/snippets/sale_blanket_order.report_blanketorder_document.add_discount.xml b/snippets/sale_blanket_order.report_blanketorder_document.add_discount.xml
new file mode 100644
index 00000000..196a0335
--- /dev/null
+++ b/snippets/sale_blanket_order.report_blanketorder_document.add_discount.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+ |
+ Disc.%
+ |
+
+
+
+
+ %
+ |
+
+
+
\ No newline at end of file
diff --git a/snippets/sale_blanket_order.report_blanketorder_document.add_infotable.xml b/snippets/sale_blanket_order.report_blanketorder_document.add_infotable.xml
index 81798ea9..f7cf77d3 100644
--- a/snippets/sale_blanket_order.report_blanketorder_document.add_infotable.xml
+++ b/snippets/sale_blanket_order.report_blanketorder_document.add_infotable.xml
@@ -23,39 +23,41 @@
|
- |
- |
+ Our Reference |
+
+
+ |
| Customer No. |
|
- Our Reference |
-
-
- |
-
-
- | Order |
-
-
- |
Delivery Method |
|
- | Reference |
+ Order |
-
+
|
Incoterm |
|
+
+ | Reference |
+
+
+ |
+ Validity Date |
+
+
+ |
+
diff --git a/snippets/sale_blanket_order.report_blanketorder_document.hide_date_schedule.xml b/snippets/sale_blanket_order.report_blanketorder_document.hide_date_schedule.xml
new file mode 100644
index 00000000..aa81e85f
--- /dev/null
+++ b/snippets/sale_blanket_order.report_blanketorder_document.hide_date_schedule.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/sale_blanket_order.report_blanketorder_document.replace_partner_id.xml b/snippets/sale_blanket_order.report_blanketorder_document.replace_partner_id.xml
index 40a7f72c..f8629120 100644
--- a/snippets/sale_blanket_order.report_blanketorder_document.replace_partner_id.xml
+++ b/snippets/sale_blanket_order.report_blanketorder_document.replace_partner_id.xml
@@ -2,11 +2,11 @@
>
-
-
+
+
-
-
+
+
diff --git a/snippets/sale_blanket_order.report_blanketorder_document.replace_summary.xml b/snippets/sale_blanket_order.report_blanketorder_document.replace_summary.xml
index dcedf72f..6c7210ee 100644
--- a/snippets/sale_blanket_order.report_blanketorder_document.replace_summary.xml
+++ b/snippets/sale_blanket_order.report_blanketorder_document.replace_summary.xml
@@ -12,7 +12,7 @@
|
- VAT 7.7%
+ VAT
|
@@ -28,4 +28,4 @@
-
+
\ No newline at end of file
diff --git a/snippets/sale_blanket_order.report_blanketorder_document.set_ids.xml b/snippets/sale_blanket_order.report_blanketorder_document.set_ids.xml
index 2b71e210..91aacf98 100644
--- a/snippets/sale_blanket_order.report_blanketorder_document.set_ids.xml
+++ b/snippets/sale_blanket_order.report_blanketorder_document.set_ids.xml
@@ -43,6 +43,10 @@
price_subtotal
+ xpath expr="//table[2]//td[5]" position="attributes">
+ price_subtotal
+
+
price_total
diff --git a/snippets/sale_blanket_order.view_blanket_order_form.x_product_uom_category_id.xml b/snippets/sale_blanket_order.view_blanket_order_form.x_product_uom_category_id.xml
new file mode 100644
index 00000000..ddc26d6b
--- /dev/null
+++ b/snippets/sale_blanket_order.view_blanket_order_form.x_product_uom_category_id.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+ [["category_id","=",x_product_uom_category_id]]
+
+
+
\ No newline at end of file
diff --git a/snippets/sale_blanket_order.view_blanket_order_search.replace_filter.xml b/snippets/sale_blanket_order.view_blanket_order_search.replace_filter.xml
index 82363060..665f904a 100644
--- a/snippets/sale_blanket_order.view_blanket_order_search.replace_filter.xml
+++ b/snippets/sale_blanket_order.view_blanket_order_search.replace_filter.xml
@@ -25,7 +25,7 @@
-
+
diff --git a/snippets/sale_blanket_order.view_order_form.modify_attributes_blanket_order_line.xml b/snippets/sale_blanket_order.view_order_form.modify_attributes_blanket_order_line.xml
new file mode 100644
index 00000000..2ac53276
--- /dev/null
+++ b/snippets/sale_blanket_order.view_order_form.modify_attributes_blanket_order_line.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+ [["partner_id","=",order_partner_id]]
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.label_transfer_template_view.trimada.xml b/snippets/stock.label_transfer_template_view.trimada.xml
index badcc1a9..31bd66d6 100644
--- a/snippets/stock.label_transfer_template_view.trimada.xml
+++ b/snippets/stock.label_transfer_template_view.trimada.xml
@@ -27,6 +27,7 @@
font-weight: bold;
text-align: center;
border-bottom: solid 1px;
+ line-height: 1;
}
.frame {
border-bottom: solid 1px;
@@ -66,7 +67,7 @@
-
+
diff --git a/snippets/stock.md b/snippets/stock.md
index d5268d7d..32823168 100644
--- a/snippets/stock.md
+++ b/snippets/stock.md
@@ -304,6 +304,7 @@ ID: `mint_system.stock.label_transfer_template_view.trimada`
font-weight: bold;
text-align: center;
border-bottom: solid 1px;
+ line-height: 1;
}
.frame {
border-bottom: solid 1px;
@@ -343,7 +344,7 @@ ID: `mint_system.stock.label_transfer_template_view.trimada`
-
+
@@ -393,6 +394,46 @@ ID: `mint_system.stock.label_transfer_template_view.trimada`
```
Source: [snippets/stock.label_transfer_template_view.trimada.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.label_transfer_template_view.trimada.xml)
+## Product Template Search Form View Stock
+### Hide Location Id
+ID: `mint_system.stock.product_template_search_form_view_stock.hide_location_id`
+```xml
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.product_template_search_form_view_stock.hide_location_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.product_template_search_form_view_stock.hide_location_id.xml)
+
+### Hide Pricelist Id
+ID: `mint_system.stock.product_template_search_form_view_stock.hide_pricelist_id`
+```xml
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.product_template_search_form_view_stock.hide_pricelist_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.product_template_search_form_view_stock.hide_pricelist_id.xml)
+
+### Hide Warehouse Id
+ID: `mint_system.stock.product_template_search_form_view_stock.hide_warehouse_id`
+```xml
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.product_template_search_form_view_stock.hide_warehouse_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.product_template_search_form_view_stock.hide_warehouse_id.xml)
+
## Report Bordero
### Basis57
ID: `mint_system.stock.report_bordero.basis57`
@@ -425,6 +466,7 @@ ID: `mint_system.stock.report_bordero.basis57`
+
@@ -442,6 +484,9 @@ ID: `mint_system.stock.report_bordero.basis57`
|
+
+ (TK)
+
|
@@ -475,7 +520,11 @@ ID: `mint_system.stock.report_bordero.basis57`
- Bitte die Gebinde beim Kunden sofort zurücknehmen und beim Abholen in Erstfeld die Gebinde retournieren. Vielen Dank
+
+
+
+
+
@@ -484,6 +533,202 @@ ID: `mint_system.stock.report_bordero.basis57`
```
Source: [snippets/stock.report_bordero.basis57.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.report_bordero.basis57.xml)
+## Report Certificatecofc
+### Tissa
+ID: `mint_system.stock.report_certificatecofc.tissa`
+```xml
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Werkszeugnis nach EN 10 204-3.1 für Glasgewebe
+
+
+
+
+ | Hersteller: |
+
+
+,
+-
+
+ |
+
+
+
+
+
+ | Hersteller Bezeichnung: |
+
+
+ |
+
+
+ | Artikelnr. |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ | Liefermenge: |
+ |
+
+
+
+
+
+ | Auftragsnr. |
+
+ Liefermenge |
+ Chargennummer |
+
+ Ausgangsmaterial |
+ Los |
+ Auftrag |
+
+
+
+
+
+
+ |
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+ |
+ Ausgangsmaterial
+,
+ Los
+,
+ Auftrag
+ |
+
+
+
+
+
+ | Komponente |
+ WHG |
+ Titer |
+ Rohmaterialtyp |
+ Filament |
+ Drehung |
+ Schlichte |
+ |
+
+
+
+
+
+
+ |
+
+ |
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+ |
+
+ |
+
+
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.report_certificatecofc.tissa.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.report_certificatecofc.tissa.xml)
+
## Report Delivery Document
### Add Date
ID: `mint_system.stock.report_delivery_document.add_date`
@@ -1990,6 +2235,22 @@ ID: `mint_system.stock.report_picking.add_delivery_note`
```
Source: [snippets/stock.report_picking.add_delivery_note.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.report_picking.add_delivery_note.xml)
+### Add Mrp Production X Note
+ID: `mint_system.stock.report_picking.add_mrp_production_x_note`
+```xml
+
+
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.report_picking.add_mrp_production_x_note.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.report_picking.add_mrp_production_x_note.xml)
+
### Barcode Label
ID: `mint_system.stock.report_picking.barcode_label`
```xml
@@ -2313,7 +2574,7 @@ ID: `mint_system.stock.report_picking.modify_no_reserved_product`
- o.move_lines.filtered(lambda x: x.product_uom_qty != x.reserved_availability)
+ o.move_lines.filtered(lambda x: x.product_uom_qty != x.reserved_availability and x.state!='done')
@@ -2424,12 +2685,22 @@ ID: `mint_system.stock.report_picking.relocate_quantity`
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
+ ()
+
+
+
+
@@ -2842,6 +3113,10 @@ ID: `mint_system.stock.report_picking.set_ids`
barcode
+
+
+ main_table
+
```
@@ -3066,7 +3341,7 @@ ID: `mint_system.stock.report_picking.style_trimada`
text-align: right !important;
}
table.trimada thead th#product_uom_qty {
- width: 25mm;
+ width: 35mm;
text-align: right;
}
table.trimada tbody td#position {
@@ -3098,6 +3373,10 @@ ID: `mint_system.stock.report_picking.style_trimada`
table.trimada tbody td span#qty_available_uom_id {
font-size: 7pt;
}
+ table.trimada tbody td span#qty_done {
+ font-weight: normal;
+ font-size: 9pt;
+ }
table.trimada #barcode {
text-align: right;
}
@@ -3116,6 +3395,11 @@ ID: `mint_system.stock.report_picking.style_trimada`
font-size: 9pt;
font-family: arial;
}
+ .mrp_note {
+ font-size: 9pt;
+ font-family: arial;
+ padding-bottom: 3mm;
+ }
@@ -3364,6 +3648,24 @@ ID: `mint_system.stock.stock_report_delivery_has_serial_move_line.description_sa
```
Source: [snippets/stock.stock_report_delivery_has_serial_move_line.description_sale.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.stock_report_delivery_has_serial_move_line.description_sale.xml)
+### Get Position
+ID: `mint_system.stock.stock_report_delivery_has_serial_move_line.get_position`
+```xml
+
+
+
+
+
+
+
+ |
+
+
+
+
+```
+Source: [snippets/stock.stock_report_delivery_has_serial_move_line.get_position.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.stock_report_delivery_has_serial_move_line.get_position.xml)
+
### Pos In Table
ID: `mint_system.stock.stock_report_delivery_has_serial_move_line.pos_in_table`
```xml
@@ -3637,6 +3939,21 @@ ID: `mint_system.stock.view_move_form.show_partner`
```
Source: [snippets/stock.view_move_form.show_partner.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_move_form.show_partner.xml)
+### Show Picking Code
+ID: `mint_system.stock.view_move_form.show_picking_code`
+```xml
+
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.view_move_form.show_picking_code.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_move_form.show_picking_code.xml)
+
### Show Picking Id
ID: `mint_system.stock.view_move_form.show_picking_id`
```xml
@@ -3682,6 +3999,21 @@ ID: `mint_system.stock.view_move_form.show_quantity_done`
```
Source: [snippets/stock.view_move_form.show_quantity_done.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_move_form.show_quantity_done.xml)
+### Show Stock Valuation Layer Ids
+ID: `mint_system.stock.view_move_form.show_stock_valuation_layer_ids`
+```xml
+
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.view_move_form.show_stock_valuation_layer_ids.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_move_form.show_stock_valuation_layer_ids.xml)
+
## View Move Line Form
### Enable Edit And Create
ID: `mint_system.stock.view_move_line_form.enable_edit_and_create`
@@ -3699,6 +4031,21 @@ ID: `mint_system.stock.view_move_line_form.enable_edit_and_create`
```
Source: [snippets/stock.view_move_line_form.enable_edit_and_create.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_move_line_form.enable_edit_and_create.xml)
+### Show Move Id
+ID: `mint_system.stock.view_move_line_form.show_move_id`
+```xml
+
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.view_move_line_form.show_move_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_move_line_form.show_move_id.xml)
+
### Show Picking Id
ID: `mint_system.stock.view_move_line_form.show_picking_id`
```xml
@@ -3999,6 +4346,22 @@ 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-Development/tree/14.0/snippets/stock.view_picking_form.x_count_boxes.xml)
+## View Picking Internal Search
+### Filter Groupby Expected Date
+ID: `mint_system.stock.view_picking_internal_search.filter_groupby_expected_date`
+```xml
+
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock.view_picking_internal_search.filter_groupby_expected_date.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_picking_internal_search.filter_groupby_expected_date.xml)
+
## View Production Lot Form
### X Production Id
ID: `mint_system.stock.view_production_lot_form.x_production_id`
@@ -4044,6 +4407,22 @@ ID: `mint_system.stock.view_production_lot_tree.show_qty`
```
Source: [snippets/stock.view_production_lot_tree.show_qty.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_production_lot_tree.show_qty.xml)
+## View Stock Move Line Operation Tree
+### Edit Reserved Qty
+ID: `mint_system.stock.view_stock_move_line_operation_tree.edit_reserved_qty`
+```xml
+
+
+
+
+ 0
+
+
+
+
+```
+Source: [snippets/stock.view_stock_move_line_operation_tree.edit_reserved_qty.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock.view_stock_move_line_operation_tree.edit_reserved_qty.xml)
+
## View Stock Quant Tree Editable
### Show Reserved Quantity
ID: `mint_system.stock.view_stock_quant_tree_editable.show_reserved_quantity`
diff --git a/snippets/stock.product_template_search_form_view_stock.hide_location_id.xml b/snippets/stock.product_template_search_form_view_stock.hide_location_id.xml
new file mode 100644
index 00000000..2b0ec75b
--- /dev/null
+++ b/snippets/stock.product_template_search_form_view_stock.hide_location_id.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.product_template_search_form_view_stock.hide_pricelist_id.xml b/snippets/stock.product_template_search_form_view_stock.hide_pricelist_id.xml
new file mode 100644
index 00000000..6fdbdb75
--- /dev/null
+++ b/snippets/stock.product_template_search_form_view_stock.hide_pricelist_id.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.product_template_search_form_view_stock.hide_warehouse_id.xml b/snippets/stock.product_template_search_form_view_stock.hide_warehouse_id.xml
new file mode 100644
index 00000000..20858af3
--- /dev/null
+++ b/snippets/stock.product_template_search_form_view_stock.hide_warehouse_id.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.report_bordero.basis57.xml b/snippets/stock.report_bordero.basis57.xml
index aa7d2c58..9f0e4f59 100644
--- a/snippets/stock.report_bordero.basis57.xml
+++ b/snippets/stock.report_bordero.basis57.xml
@@ -26,6 +26,7 @@
+
@@ -43,6 +44,9 @@
|
+
+ (TK)
+
|
@@ -76,7 +80,11 @@
- Bitte die Gebinde beim Kunden sofort zurücknehmen und beim Abholen in Erstfeld die Gebinde retournieren. Vielen Dank
+
+
+
+
+
diff --git a/snippets/stock.report_certificatecofc.tissa.xml b/snippets/stock.report_certificatecofc.tissa.xml
new file mode 100644
index 00000000..4eddd212
--- /dev/null
+++ b/snippets/stock.report_certificatecofc.tissa.xml
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Werkszeugnis nach EN 10 204-3.1 für Glasgewebe
+
+
+
+
+ | Hersteller: |
+
+
+,
+-
+
+ |
+
+
+
+
+
+ | Hersteller Bezeichnung: |
+
+
+ |
+
+
+ | Artikelnr. |
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ | Liefermenge: |
+ |
+
+
+
+
+
+ | Auftragsnr. |
+
+ Liefermenge |
+ Chargennummer |
+
+ Ausgangsmaterial |
+ Los |
+ Auftrag |
+
+
+
+
+
+
+ |
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+ |
+ Ausgangsmaterial
+,
+ Los
+,
+ Auftrag
+ |
+
+
+
+
+
+ | Komponente |
+ WHG |
+ Titer |
+ Rohmaterialtyp |
+ Filament |
+ Drehung |
+ Schlichte |
+ |
+
+
+
+
+
+
+ |
+
+ |
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+ |
+
+
+ |
+
+ |
+
+ |
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.report_picking.add_mrp_production_x_note.xml b/snippets/stock.report_picking.add_mrp_production_x_note.xml
new file mode 100644
index 00000000..b73c98db
--- /dev/null
+++ b/snippets/stock.report_picking.add_mrp_production_x_note.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.report_picking.modify_no_reserved_product.xml b/snippets/stock.report_picking.modify_no_reserved_product.xml
index 2888ad40..cada21c5 100644
--- a/snippets/stock.report_picking.modify_no_reserved_product.xml
+++ b/snippets/stock.report_picking.modify_no_reserved_product.xml
@@ -2,7 +2,7 @@
- o.move_lines.filtered(lambda x: x.product_uom_qty != x.reserved_availability)
+ o.move_lines.filtered(lambda x: x.product_uom_qty != x.reserved_availability and x.state!='done')
\ No newline at end of file
diff --git a/snippets/stock.report_picking.relocate_quantity.xml b/snippets/stock.report_picking.relocate_quantity.xml
index 512b6577..4ddbfe39 100644
--- a/snippets/stock.report_picking.relocate_quantity.xml
+++ b/snippets/stock.report_picking.relocate_quantity.xml
@@ -9,12 +9,22 @@
-
-
-
+
+
+
-
-
+
+
+
+
+
+
+
+ ()
+
+
+
+
diff --git a/snippets/stock.report_picking.set_ids.xml b/snippets/stock.report_picking.set_ids.xml
index d0092e33..67625ae3 100644
--- a/snippets/stock.report_picking.set_ids.xml
+++ b/snippets/stock.report_picking.set_ids.xml
@@ -16,5 +16,9 @@
barcode
+
+
+ main_table
+
\ No newline at end of file
diff --git a/snippets/stock.report_picking.style_trimada.xml b/snippets/stock.report_picking.style_trimada.xml
index fd8c1b5b..45398ad7 100644
--- a/snippets/stock.report_picking.style_trimada.xml
+++ b/snippets/stock.report_picking.style_trimada.xml
@@ -30,7 +30,7 @@
text-align: right !important;
}
table.trimada thead th#product_uom_qty {
- width: 25mm;
+ width: 35mm;
text-align: right;
}
table.trimada tbody td#position {
@@ -62,6 +62,10 @@
table.trimada tbody td span#qty_available_uom_id {
font-size: 7pt;
}
+ table.trimada tbody td span#qty_done {
+ font-weight: normal;
+ font-size: 9pt;
+ }
table.trimada #barcode {
text-align: right;
}
@@ -80,6 +84,11 @@
font-size: 9pt;
font-family: arial;
}
+ .mrp_note {
+ font-size: 9pt;
+ font-family: arial;
+ padding-bottom: 3mm;
+ }
diff --git a/snippets/stock.stock_report_delivery_has_serial_move_line.get_position.xml b/snippets/stock.stock_report_delivery_has_serial_move_line.get_position.xml
new file mode 100644
index 00000000..ddf4daab
--- /dev/null
+++ b/snippets/stock.stock_report_delivery_has_serial_move_line.get_position.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+ |
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock.view_move_form.show_picking_code.xml b/snippets/stock.view_move_form.show_picking_code.xml
new file mode 100644
index 00000000..ecbcde88
--- /dev/null
+++ b/snippets/stock.view_move_form.show_picking_code.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/stock.view_move_form.show_stock_valuation_layer_ids.xml b/snippets/stock.view_move_form.show_stock_valuation_layer_ids.xml
new file mode 100644
index 00000000..e892680f
--- /dev/null
+++ b/snippets/stock.view_move_form.show_stock_valuation_layer_ids.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/stock.view_move_line_form.show_move_id.xml b/snippets/stock.view_move_line_form.show_move_id.xml
new file mode 100644
index 00000000..b4b51882
--- /dev/null
+++ b/snippets/stock.view_move_line_form.show_move_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/stock.view_picking_internal_search.filter_groupby_expected_date.xml b/snippets/stock.view_picking_internal_search.filter_groupby_expected_date.xml
new file mode 100644
index 00000000..ca8503b2
--- /dev/null
+++ b/snippets/stock.view_picking_internal_search.filter_groupby_expected_date.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/snippets/stock.view_stock_move_line_operation_tree.edit_reserved_qty.xml b/snippets/stock.view_stock_move_line_operation_tree.edit_reserved_qty.xml
new file mode 100644
index 00000000..9c84c21a
--- /dev/null
+++ b/snippets/stock.view_stock_move_line_operation_tree.edit_reserved_qty.xml
@@ -0,0 +1,8 @@
+
+
+
+
+ 0
+
+
+
diff --git a/snippets/stock_account.md b/snippets/stock_account.md
new file mode 100644
index 00000000..a1cd3c0f
--- /dev/null
+++ b/snippets/stock_account.md
@@ -0,0 +1,48 @@
+---
+prev: ./snippets.md
+---
+# Stock Account
+## Stock Valuation Layer Tree
+### Add Stock Move Id
+ID: `mint_system.stock_account.stock_valuation_layer_tree.add_stock_move_id`
+```xml
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock_account.stock_valuation_layer_tree.add_stock_move_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock_account.stock_valuation_layer_tree.add_stock_move_id.xml)
+
+### Add X Quant Location Id
+ID: `mint_system.stock_account.stock_valuation_layer_tree.add_x_quant_location_id`
+```xml
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock_account.stock_valuation_layer_tree.add_x_quant_location_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock_account.stock_valuation_layer_tree.add_x_quant_location_id.xml)
+
+## View Inventory Valuation Search
+### Group By X Quant Location Id
+ID: `mint_system.stock_account.view_inventory_valuation_search.group_by_x_quant_location_id`
+```xml
+
+
+
+
+
+
+
+
+```
+Source: [snippets/stock_account.view_inventory_valuation_search.group_by_x_quant_location_id.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/stock_account.view_inventory_valuation_search.group_by_x_quant_location_id.xml)
+
diff --git a/snippets/stock_account.stock_valuation_layer_tree.add_stock_move_id.xml b/snippets/stock_account.stock_valuation_layer_tree.add_stock_move_id.xml
new file mode 100644
index 00000000..2e0040cd
--- /dev/null
+++ b/snippets/stock_account.stock_valuation_layer_tree.add_stock_move_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock_account.stock_valuation_layer_tree.add_x_quant_location_id.xml b/snippets/stock_account.stock_valuation_layer_tree.add_x_quant_location_id.xml
new file mode 100644
index 00000000..33b62af1
--- /dev/null
+++ b/snippets/stock_account.stock_valuation_layer_tree.add_x_quant_location_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/stock_account.view_inventory_valuation_search.group_by_x_quant_location_id.xml b/snippets/stock_account.view_inventory_valuation_search.group_by_x_quant_location_id.xml
new file mode 100644
index 00000000..4fb8f2b0
--- /dev/null
+++ b/snippets/stock_account.view_inventory_valuation_search.group_by_x_quant_location_id.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/web.assets_common.set_chatter_width.xml b/snippets/web.assets_common.set_chatter_width.xml
new file mode 100644
index 00000000..5e939cb2
--- /dev/null
+++ b/snippets/web.assets_common.set_chatter_width.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/web.assets_common.set_form_width.xml b/snippets/web.assets_common.set_form_width.xml
new file mode 100644
index 00000000..00409f7d
--- /dev/null
+++ b/snippets/web.assets_common.set_form_width.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/snippets/web.external_layout_standard.remove_contact.xml b/snippets/web.external_layout_standard.remove_contact.xml
index 5e0bed20..a88437e8 100644
--- a/snippets/web.external_layout_standard.remove_contact.xml
+++ b/snippets/web.external_layout_standard.remove_contact.xml
@@ -2,6 +2,7 @@
+
diff --git a/snippets/web.external_layout_standard.replace_url.xml b/snippets/web.external_layout_standard.replace_url.xml
index b0ba0538..339ccb71 100644
--- a/snippets/web.external_layout_standard.replace_url.xml
+++ b/snippets/web.external_layout_standard.replace_url.xml
@@ -2,6 +2,7 @@
+
www.example.ch
diff --git a/snippets/web.md b/snippets/web.md
index 9af80aba..46417dad 100644
--- a/snippets/web.md
+++ b/snippets/web.md
@@ -81,6 +81,46 @@ ID: `mint_system.web.assets_common.pivot_measure_white_space`
```
Source: [snippets/web.assets_common.pivot_measure_white_space.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/web.assets_common.pivot_measure_white_space.xml)
+### Set Chatter Width
+ID: `mint_system.web.assets_common.set_chatter_width`
+```xml
+
+
+
+
+
+
+
+
+```
+Source: [snippets/web.assets_common.set_chatter_width.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/web.assets_common.set_chatter_width.xml)
+
+### Set Form Width
+ID: `mint_system.web.assets_common.set_form_width`
+```xml
+
+
+
+
+
+
+
+
+```
+Source: [snippets/web.assets_common.set_form_width.xml](https://github.com/Mint-System/Odoo-Development/tree/14.0/snippets/web.assets_common.set_form_width.xml)
+
## Brand Promotion Message
### Remove
ID: `mint_system.web.brand_promotion_message.remove`
@@ -263,6 +303,7 @@ ID: `mint_system.web.external_layout_standard.remove_contact`
+
@@ -355,6 +396,7 @@ ID: `mint_system.web.external_layout_standard.replace_url`
+
www.example.ch
diff --git a/task b/task
index 4387a6f9..f61a9063 100755
--- a/task
+++ b/task
@@ -51,9 +51,6 @@ function update-readme() {
SUMMARY=$(grep 'summary' "$MANIFEST_FILE" -A 1 | tail -1)
echo "| [$MODULE_NAME]($MODULE_NAME) | $SUMMARY |" >> $1
done
-
- # Stage readme file
- git add REAMDE.md
}
function get-module-version() {
@@ -116,8 +113,14 @@ function install-native() {
init-venv
activate-venv
+ # Source: https://gist.github.com/faniska/37f896d5e9de5fee925925d7caf3cb9e
echo "Install wkhtmltopdf"
- sudo apt install wkhtmltopdf
+ sudo apt remove wkhtmltopdf
+ cd ~
+ wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
+ tar xvf wkhtmltox*.tar.xz
+ sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin
+ sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig
echo "Install xmllint"
sudo apt install libxml2-utils
@@ -161,7 +164,7 @@ function start() {
fi
if [[ "$1" =~ "db" ]]; then
- docker-compose up -d db pgadmin
+ docker-compose up -d db admin
echo "Open http://localhost:8000 url in your browser."
fi
@@ -175,7 +178,23 @@ function start() {
activate-venv
echo "Open http://localhost:8069 url in your browser."
open-url-with-delay "http://localhost:8069?db=$GIT_BRANCH" &
- odoo-bin --config 'config/odoo-native.conf' --dev=all
+ odoo-bin --config 'config/odoo-native.conf' --dev=all --log-handler odoo.tools.convert:DEBUG
+ fi
+
+ if [[ "$1" =~ "mail" ]]; then
+ docker-compose up -d mail
+ echo "Run \`docker exec -it mail setup email add odoo@example.com\`"
+ echo "Run \`docker exec -it mail setup email add test@example.com\`"
+ fi
+}
+
+function down() {
+ if test -z "$1"; then
+ docker-compose down -v
+ fi
+
+ if [[ "$1" =~ "mail" ]]; then
+ docker-compose rm -f -s -v mail
fi
}
@@ -294,22 +313,6 @@ function generate-module-translation() {
odoo-bin -d $DATABASE --config 'config/odoo-native.conf' --modules $MODULE_NAME -l $ODOO_LANGUAGE --i18n-export "$MODULE_PATH/i18n/de.po"
}
-function restore-database() {
- if test -z "$1"; then echo "\$1 is empty."; exit; fi
- if test -z "$2"; then echo "\$2 is empty."; exit; fi
-
- # Get database name
-
- # Extract zip file.
-
- # Drop database
-
- # Import databse
-
- # Copy filestore
-
-}
-
function install-module() {
if test -z "$1"; then echo "\$1 is empty."; exit; fi
@@ -386,23 +389,6 @@ function set-admin() {
docker exec db psql postgres://odoo:odoo@localhost:5432/$DATABASE -c "SELECT login, password FROM res_users WHERE id=2;"
}
-function send-support-mail() {
- echo "Send mail for support@localhost using curl."
-
- mkdir -p tmp
- cat >tmp/email.txt <
-To: Odoo Support
-Subject: Support Request
-echo "\$2 is
-Dear Odoo Support,
-
-I request your help
-EOL
-
- curl smtp://localhost --mail-from admin@yourcompany.example.com --mail-rcpt support@localhost --upload-file tmp/email.txt
-}
-
function clear-assets() {
DATABASE=$1
DATABASE=${DATABASE:="$GIT_BRANCH"}
@@ -491,12 +477,6 @@ function git-pull-submodules() {
fi;
cd $CWD
done
- # git submodule foreach '
- # update=$(git config -f $toplevel/.gitmodules submodule.$name.update)
- # if [ -z $update ]; then
- # git pull
- # fi;
- # ' | tee git-pull-submodules.log
}
function release-module() {
@@ -504,12 +484,17 @@ function release-module() {
VERSION=$(get-module-version $1)
cd $1
+ LAST_TAG=$(git describe --tags)
+ RELEASE_NOTES=$(git log $LAST_TAG..HEAD --oneline)
echo "Tag with v$VERSION ..."
git tag -a v$VERSION -m "v$VERSION"
- echo "Create release $VERSION ..."
- gh release create "v$VERSION" -t "Release $VERSION"
+ echo "Release notes:"
+ echo $RELEASE_NOTES
+
+ # echo "Create release $VERSION ..."
+ # gh release create "v$VERSION" -t "Release $VERSION"
}
function zip-module() {
@@ -743,8 +728,8 @@ function upload-module() {
curl -u "$NEXTCLOUD_USERNAME:$NEXTCLOUD_PASSWORD" -T "$FILE_PATH" "$NEXTCLOUD_UPLOAD_URL"
echo "File $FILE_PATH uploaded to $NEXTCLOUD_UPLOAD_URL."
- UPLOADS+="- name: $MODULE\n"
- UPLOADS+=" version: $VERSION\n"
+ UPLOADS+=" - name: $MODULE\n"
+ UPLOADS+=" version: $VERSION\n"
fi
done
@@ -831,13 +816,21 @@ function git-mig-branch(){
function patch-database() {
if test -z "$1"; then echo "\$1 is empty."; exit; fi
- if test -z "$2"; then echo "\$1 is empty."; exit; fi
+
+ DATABASE=$1
+ MODULE_NAME=$(basename $2)
+
+ # Use default database if second param is not given
+ if test -z "$2"; then
+ DATABASE="$GIT_BRANCH"
+ MODULE_NAME=$(basename $1)
+ fi
# Generate view name from filename
- FILENAME=$(basename $2)
+ FILENAME=$(basename $1)
- echo "Apply patch $FILENAME to Database $1."
- cat $2 | docker exec -i db psql postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost/$1
+ echo "Apply patch $FILENAME to Database $DATABASE."
+ cat $FILENAME | docker exec -i db psql postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost/$DATABASE
echo "Patching database succeeded"
}
@@ -931,7 +924,7 @@ case "$1" in
stop $2
;;
kill)
- docker-compose down -v
+ down $2
;;
logs)
docker logs odoo -f
diff --git a/task.md b/task.md
index 5c0f438e..22835018 100644
--- a/task.md
+++ b/task.md
@@ -27,20 +27,19 @@
| install-native | | Install Odoo requirements in source folder. |
| install-odoo-scripts | | Install Odoo scripts. |
| install-snippet | [env][path] | Install snippet xml definition. |
-| kill | | Remove docker containers and volumes. |
+| kill | [name] | Remove docker containers and volumes. |
| lint-module | [path] | Run pylint odoo for module. |
| lint-snippets | | Run checks for all snippets. |
| list | | List docker services. |
| list-odoo-env | | List odoo env files. |
| logs | | Tail Odoo Docker container logs. |
| odoo-cloc | [db] | Count custom line of codes. Default is branch name. |
-| patch-database | [db][path] | Apply sql file to database |
+| patch-database | [db][path] | Apply sql file to database. Default database is branch name. |
| ps | | List docker processes. |
| release-module | [path] | Create GitHub release for a module. |
| remove-module | [db][name] | Remove target Odoo module. |
| remove-submodule | [path] | Remove git submodule. |
| restart | [name] | Restart docker container. |
-| restore-database | [path][name] | Restore target database zip. |
| save-config | [name] | Save Odoo database config |
| send-support-mail | | Sends an mail for support@local to smtp://localhost |
| set-admin | [db] | Sets the password for the first user in database. Default is branch name. |
diff --git a/template/ms_custom_module/__manifest__.py b/template/ms_custom_module/__manifest__.py
index c115ee5a..139bcb74 100644
--- a/template/ms_custom_module/__manifest__.py
+++ b/template/ms_custom_module/__manifest__.py
@@ -11,10 +11,10 @@
"depends": ["base"],
"data": [
"security/ir.model.access.csv",
- "views/report_invoice_document.xml",
+ "report/invoice_document.xml",
"data/ir_sequence.xml",
"views/assets.xml",
- "views/views.xml"
+ "views/sale_order.xml"
],
"qweb": ["static/src/xml/board.xml"],
"demo": ["demo/demo.xml"],
diff --git a/template/ms_custom_module/views/report_invoice_document.xml b/template/ms_custom_module/report/invoice_document.xml
similarity index 100%
rename from template/ms_custom_module/views/report_invoice_document.xml
rename to template/ms_custom_module/report/invoice_document.xml
diff --git a/template/ms_custom_module/views/views.xml b/template/ms_custom_module/views/sale_order.xml
similarity index 100%
rename from template/ms_custom_module/views/views.xml
rename to template/ms_custom_module/views/sale_order.xml
| | |