From 2df2a0a6488bdf1b1f9031f50097529664521023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Trung=20Tu=E1=BA=A5n?= <62325566+trungtuan88@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:10:01 +0700 Subject: [PATCH] [UPG] viin_brand_product: upgrade to v17.0 --- .../documentation_link/viindoo_mapping_url.js | 2 +- viin_brand_product/__manifest__.py | 8 ++++---- viin_brand_product/i18n/vi_VN.po | 11 ++++++----- viin_brand_product/i18n/viin_brand_product.pot | 11 ++++++----- .../views/res_config_settings_views.xml | 12 ------------ 5 files changed, 17 insertions(+), 27 deletions(-) delete mode 100644 viin_brand_product/views/res_config_settings_views.xml diff --git a/viin_brand_common/static/src/views/widgets/documentation_link/viindoo_mapping_url.js b/viin_brand_common/static/src/views/widgets/documentation_link/viindoo_mapping_url.js index c2e13f30..8968d274 100644 --- a/viin_brand_common/static/src/views/widgets/documentation_link/viindoo_mapping_url.js +++ b/viin_brand_common/static/src/views/widgets/documentation_link/viindoo_mapping_url.js @@ -64,7 +64,7 @@ export const ODOO_VIINDOO_DOCUMENTATION_MAPPING = { "https://www.odoo.com/documentation/17.0/applications/sales/point_of_sale/payment_methods/terminals/vantiv.html": "https://viindoo.com/documentation/16.0/applications/sales/point-of-sale/pricing-features/payment-with-vantiv-payment-terminal-in-pos.html", "https://www.odoo.com/documentation/17.0/applications/sales/point_of_sale/payment_methods/terminals/six.html": "https://viindoo.com/documentation/16.0/applications/sales/point-of-sale/pricing-features/payment-with-six-payment-terminal-in-pos.html", /* product */ - "https://www.odoo.com/documentation/17.0/applications/sales/sales/products_prices/products/product_images.html": "", + "https://www.odoo.com/documentation/17.0/applications/sales/sales/products_prices/products/product_images.html": "https://viindoo.com/documentation/16.0/applications/getting-started/products/auto-upload-product-images-from-google.html", /* purchase */ "https://www.odoo.com/documentation/17.0/applications/inventory_and_mrp/purchase/manage_deals/agreements.html": "https://viindoo.com/documentation/16.0/applications/supply-chain/purchase/manage-deals/purchase-agreement-blaket-orders.html", "https://www.odoo.com/documentation/17.0/applications/inventory_and_mrp/purchase/manage_deals/control_bills.html": "https://viindoo.com/documentation/16.0/applications/supply-chain/purchase/manage-deals/vendor-bills-control.html", diff --git a/viin_brand_product/__manifest__.py b/viin_brand_product/__manifest__.py index a3f0cd47..e3a65392 100644 --- a/viin_brand_product/__manifest__.py +++ b/viin_brand_product/__manifest__.py @@ -36,8 +36,8 @@ 'author': "Viindoo", 'website': "https://viindoo.com", - 'live_test_url': "https://v16demo-int.viindoo.com", - 'live_test_url_vi_VN': "https://v16demo-vn.viindoo.com", + 'live_test_url': "https://v17demo-int.viindoo.com", + 'live_test_url_vi_VN': "https://v17demo-vn.viindoo.com", 'support': "apps.support@viindoo.com", # Categories can be used to filter modules in modules listing @@ -51,10 +51,10 @@ # always loaded 'data': [ - 'views/res_config_settings_views.xml', 'views/product_views.xml', ], - 'installable': False, # set auto_install True after upgrading for v17 after upgrading for v17 + 'installable': True, + 'auto_install': True, 'price': 0.0, 'currency': 'EUR', 'license': 'OPL-1', diff --git a/viin_brand_product/i18n/vi_VN.po b/viin_brand_product/i18n/vi_VN.po index f51c7350..0b12039d 100644 --- a/viin_brand_product/i18n/vi_VN.po +++ b/viin_brand_product/i18n/vi_VN.po @@ -1,12 +1,13 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: +# * viin_brand_product # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-19 10:14+0000\n" -"PO-Revision-Date: 2023-06-19 10:14+0000\n" +"POT-Creation-Date: 2024-07-11 06:07+0000\n" +"PO-Revision-Date: 2024-07-11 06:07+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,7 +15,7 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: product -#: model_terms:ir.ui.view,arch_db:product.product_variant_easy_edit_view +#. module: viin_brand_product +#: model_terms:ir.ui.view,arch_db:viin_brand_product.product_variant_easy_edit_view msgid "e.g. Viindoo Subscription" msgstr "ví dụ. Đăng ký Viindoo" diff --git a/viin_brand_product/i18n/viin_brand_product.pot b/viin_brand_product/i18n/viin_brand_product.pot index 2f548392..d258b3be 100644 --- a/viin_brand_product/i18n/viin_brand_product.pot +++ b/viin_brand_product/i18n/viin_brand_product.pot @@ -1,12 +1,13 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: +# * viin_brand_product # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-19 10:14+0000\n" -"PO-Revision-Date: 2023-06-19 10:14+0000\n" +"POT-Creation-Date: 2024-07-11 06:06+0000\n" +"PO-Revision-Date: 2024-07-11 06:06+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,7 +15,7 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: product -#: model_terms:ir.ui.view,arch_db:product.product_variant_easy_edit_view +#. module: viin_brand_product +#: model_terms:ir.ui.view,arch_db:viin_brand_product.product_variant_easy_edit_view msgid "e.g. Viindoo Subscription" msgstr "" diff --git a/viin_brand_product/views/res_config_settings_views.xml b/viin_brand_product/views/res_config_settings_views.xml deleted file mode 100644 index a423dffd..00000000 --- a/viin_brand_product/views/res_config_settings_views.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - res.config.settings.view.form.inherit.product - res.config.settings - - - - https://viindoo.com/documentation/16.0/applications/getting-started/products/auto-upload-product-images-from-google.html - - - -