From fa22c63176241f5a99da4aa47188bc0876eebfdf Mon Sep 17 00:00:00 2001 From: Renato Date: Sun, 4 Aug 2019 20:24:14 -0300 Subject: [PATCH] [REF] Separate xml views in new files --- product_usability/__manifest__.py | 6 +- .../views/product_price_history_view.xml | 65 +++++ .../views/product_pricelist_view.xml | 65 +++++ .../views/product_supplierinfo_view.xml | 38 +++ .../views/product_template_view.xml | 62 +++++ product_usability/views/product_view.xml | 224 +----------------- 6 files changed, 248 insertions(+), 212 deletions(-) create mode 100644 product_usability/views/product_price_history_view.xml create mode 100644 product_usability/views/product_pricelist_view.xml create mode 100644 product_usability/views/product_supplierinfo_view.xml create mode 100644 product_usability/views/product_template_view.xml diff --git a/product_usability/__manifest__.py b/product_usability/__manifest__.py index 5e5cc3b..46cd262 100644 --- a/product_usability/__manifest__.py +++ b/product_usability/__manifest__.py @@ -28,7 +28,11 @@ This module has been written by Alexis de Lattre from Akretion + + + + + + + product.price.history.form + product.price.history + +
+ + + + + + + + +
+
+
+ + + product.price.history.tree + product.price.history + + + + + + + + + + + + + + product.price.history.search + product.price.history + + + + + + + + + + + + + + Product Price History + product.price.history + tree,form + {'product_price_history_main_view': True} + + +
diff --git a/product_usability/views/product_pricelist_view.xml b/product_usability/views/product_pricelist_view.xml new file mode 100644 index 0000000..4159823 --- /dev/null +++ b/product_usability/views/product_pricelist_view.xml @@ -0,0 +1,65 @@ + + + + + + + + usability.product.pricelist.tree + product.pricelist + + + + + + + + + + + usability.product.pricelist.item.search + product.pricelist.item + + + + + + + + + + + + + + + + + + + usability.product.pricelist.item.form + product.pricelist.item + + + + + + + + + + usability.product.pricelist.item.tree + product.pricelist.item + + + + + + + + + diff --git a/product_usability/views/product_supplierinfo_view.xml b/product_usability/views/product_supplierinfo_view.xml new file mode 100644 index 0000000..01120d2 --- /dev/null +++ b/product_usability/views/product_supplierinfo_view.xml @@ -0,0 +1,38 @@ + + + + + + + + product.supplierinfo + + + + + + + + + + + + + + + + + product.supplierinfo + + + + + + + + + diff --git a/product_usability/views/product_template_view.xml b/product_usability/views/product_template_view.xml new file mode 100644 index 0000000..5114bf6 --- /dev/null +++ b/product_usability/views/product_template_view.xml @@ -0,0 +1,62 @@ + + + + + + + + usability.product.template.form + product.template + + + +