diff --git a/snippets/account.report_invoice_document.get_position.xml b/snippets/account.report_invoice_document.get_position.xml
index 233a4b60..7abaed1c 100644
--- a/snippets/account.report_invoice_document.get_position.xml
+++ b/snippets/account.report_invoice_document.get_position.xml
@@ -7,21 +7,22 @@
Pos
-
+
|
Pos
|
+
-
+
|
-
+
|
diff --git a/snippets/purchase.report_purchasequotation_document.get_position.xml b/snippets/purchase.report_purchasequotation_document.get_position.xml
new file mode 100644
index 00000000..8276b6cf
--- /dev/null
+++ b/snippets/purchase.report_purchasequotation_document.get_position.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+ Pos
+ |
+
+
+
+
+ |
+
+
+
\ No newline at end of file
diff --git a/snippets/sale.report_saleorder_document.get_position.xml b/snippets/sale.report_saleorder_document.get_position.xml
index 066034f8..7c31e7d3 100644
--- a/snippets/sale.report_saleorder_document.get_position.xml
+++ b/snippets/sale.report_saleorder_document.get_position.xml
@@ -1,12 +1,12 @@
-
+
Pos
|
-
+
|
diff --git a/snippets/stock.report_delivery_document.get_position.xml b/snippets/stock.report_delivery_document.get_position.xml
index 05dfa166..9a9fd8df 100644
--- a/snippets/stock.report_delivery_document.get_position.xml
+++ b/snippets/stock.report_delivery_document.get_position.xml
@@ -30,12 +30,12 @@
-
+
|
-
+
|
diff --git a/snippets/stock.report_picking.get_position.xml b/snippets/stock.report_picking.get_position.xml
index b2ece20f..e4bae28d 100644
--- a/snippets/stock.report_picking.get_position.xml
+++ b/snippets/stock.report_picking.get_position.xml
@@ -16,12 +16,12 @@
-
+
|
-
+
|
diff --git a/snippets/stock.stock_report_delivery_aggregated_move_lines.get_position.xml b/snippets/stock.stock_report_delivery_aggregated_move_lines.get_position.xml
index 26582c4a..6f105083 100644
--- a/snippets/stock.stock_report_delivery_aggregated_move_lines.get_position.xml
+++ b/snippets/stock.stock_report_delivery_aggregated_move_lines.get_position.xml
@@ -4,12 +4,12 @@
-
+
|
-
+
|
diff --git a/task b/task
index 14270c84..2cd98638 100755
--- a/task
+++ b/task
@@ -382,7 +382,7 @@ function change-uuid() {
}
-function update-odoo-view() {
+function update-snippet() {
if test -z "$1"; then echo "\$1 is empty"; exit; fi
if test -z "$2"; then echo "\$2 is empty"; exit; fi
@@ -395,7 +395,7 @@ function update-odoo-view() {
scripts/odooctl --model 'ir.ui.view' --domain "['name', '=', '$NAME']" --field 'arch_base' --value "'''$(cat $2)'''"
}
-function install-odoo-view() {
+function install-snippet() {
if test -z "$1"; then echo "\$1 is empty"; exit; fi
if test -z "$2"; then echo "\$2 is empty"; exit; fi
@@ -640,11 +640,11 @@ case "$1" in
git-list-submodules)
git-list-submodules
;;
- update-odoo-view)
- update-odoo-view $2 $3
+ update-snippet)
+ update-snippet $2 $3
;;
- install-odoo-view)
- install-odoo-view $2 $3
+ install-snippet)
+ install-snippet $2 $3
;;
update-app-list)
update-app-list $2
diff --git a/task.md b/task.md
index bc425ae8..dcc3bea5 100644
--- a/task.md
+++ b/task.md
@@ -35,8 +35,8 @@
| update-config | | Update odoo config. |
| update-app-list | [db] | Update app list. |
| update-module | [db] [name,path] | Update target Odoo module. |
-| update-odoo-view | [env] [path] | Update view xml definition. |
-| install-odoo-view | [env] [path] | Install view xml definition. |
+| update-snippet | [env] [path] | Update snippet xml definition. |
+| install-snippet | [env] [path] | Install snippet xml definition. |
| upload-module | [env] [path] | Zip and upload Odoo module. |
| zip-module | [path] | Create zip file for module. |
| update-docs | | Update project docs. |