diff --git a/sale_order_product_recommendation/__manifest__.py b/sale_order_product_recommendation/__manifest__.py
index e86cd956358..f793bbd9d81 100644
--- a/sale_order_product_recommendation/__manifest__.py
+++ b/sale_order_product_recommendation/__manifest__.py
@@ -4,7 +4,7 @@
{
"name": "Sale Order Product Recommendation",
"summary": "Recommend products to sell to customer based on history",
- "version": "17.0.1.0.0",
+ "version": "18.0.1.0.0",
"category": "Sales",
"website": "https://github.com/OCA/sale-workflow",
"author": "Tecnativa, Odoo Community Association (OCA)",
@@ -13,7 +13,7 @@
"installable": True,
"maintainers": ["sergio-teruel", "rafaelbn", "yajo"],
"depends": [
- "sale",
+ "sale_management",
],
"data": [
"security/ir.model.access.csv",
diff --git a/sale_order_product_recommendation/i18n/es.po b/sale_order_product_recommendation/i18n/es.po
index 8a816935183..99d82978335 100644
--- a/sale_order_product_recommendation/i18n/es.po
+++ b/sale_order_product_recommendation/i18n/es.po
@@ -175,7 +175,7 @@ msgstr ""
"recomendados."
#. module: sale_order_product_recommendation
-#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_priority
+#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_is_favorite
msgid "Favorite"
msgstr "Favorito"
@@ -433,19 +433,4 @@ msgstr "Perderás todos los cambios que hayas hecho. ¿Está seguro?"
#. module: sale_order_product_recommendation
#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation.sale_order_recommendation_view_form
msgid "times -"
-msgstr "veces -"
-
-#~ msgid "Sales Order Line"
-#~ msgstr "Línea de pedido de venta"
-
-#~ msgid "Complete Name"
-#~ msgstr "Nombre Completo"
-
-#~ msgid "Product Category"
-#~ msgstr "Categoría de Producto"
-
-#~ msgid "Last Compute"
-#~ msgstr "Último cálculo"
-
-#~ msgid "Sale Uom"
-#~ msgstr "Unidad de medida de venta"
+msgstr "veces -"
\ No newline at end of file
diff --git a/sale_order_product_recommendation/i18n/it.po b/sale_order_product_recommendation/i18n/it.po
index bb08f2eaaf2..02399a4a80e 100644
--- a/sale_order_product_recommendation/i18n/it.po
+++ b/sale_order_product_recommendation/i18n/it.po
@@ -170,7 +170,7 @@ msgstr ""
"Dominio applicato per trovare righe OV da proporre come prodotti suggeriti."
#. module: sale_order_product_recommendation
-#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_priority
+#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_is_favorite
msgid "Favorite"
msgstr "Favorito"
@@ -430,15 +430,3 @@ msgstr "Verranno perse tutte le modifiche fatte. Sicuri di procedere?"
#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation.sale_order_recommendation_view_form
msgid "times -"
msgstr "numero -"
-
-#~ msgid "Sales Order Line"
-#~ msgstr "Riga ordine di vendita"
-
-#~ msgid "Complete Name"
-#~ msgstr "Nome completo"
-
-#~ msgid "Product Category"
-#~ msgstr "Categoria prodotto"
-
-#~ msgid "Last Compute"
-#~ msgstr "Ultimo calcolo"
diff --git a/sale_order_product_recommendation/i18n/pt_BR.po b/sale_order_product_recommendation/i18n/pt_BR.po
index 09c6d670cc1..f7bc8b8bcda 100644
--- a/sale_order_product_recommendation/i18n/pt_BR.po
+++ b/sale_order_product_recommendation/i18n/pt_BR.po
@@ -173,7 +173,7 @@ msgstr ""
"recomendados."
#. module: sale_order_product_recommendation
-#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_priority
+#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_is_favorite
msgid "Favorite"
msgstr "Favorito"
@@ -433,12 +433,3 @@ msgstr "Você perderá todas as alterações feitas. Tem certeza?"
#: model_terms:ir.ui.view,arch_db:sale_order_product_recommendation.sale_order_recommendation_view_form
msgid "times -"
msgstr "vezes -"
-
-#~ msgid "Sales Order Line"
-#~ msgstr "Item do pedido de vendas"
-
-#~ msgid "Product Category"
-#~ msgstr "Categoria de Produto"
-
-#~ msgid "Last Compute"
-#~ msgstr "Última Computação"
diff --git a/sale_order_product_recommendation/i18n/sale_order_product_recommendation.pot b/sale_order_product_recommendation/i18n/sale_order_product_recommendation.pot
index 305c240eed6..01111c98a0d 100644
--- a/sale_order_product_recommendation/i18n/sale_order_product_recommendation.pot
+++ b/sale_order_product_recommendation/i18n/sale_order_product_recommendation.pot
@@ -135,7 +135,7 @@ msgid "Domain applied to find SO lines to propose as recommended products."
msgstr ""
#. module: sale_order_product_recommendation
-#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_priority
+#: model:ir.model.fields,field_description:sale_order_product_recommendation.field_sale_order_recommendation_line__product_is_favorite
msgid "Favorite"
msgstr ""
diff --git a/sale_order_product_recommendation/tests/test_recommendation.py b/sale_order_product_recommendation/tests/test_recommendation.py
index e660ed11cc0..4d6bdd694d9 100644
--- a/sale_order_product_recommendation/tests/test_recommendation.py
+++ b/sale_order_product_recommendation/tests/test_recommendation.py
@@ -6,7 +6,7 @@
from freezegun import freeze_time
from odoo.exceptions import UserError
-from odoo.tests.common import Form
+from odoo.tests import Form
from .test_recommendation_common import RecommendationCase
diff --git a/sale_order_product_recommendation/tests/test_recommendation_common.py b/sale_order_product_recommendation/tests/test_recommendation_common.py
index 8f64c0e850b..5914886980f 100644
--- a/sale_order_product_recommendation/tests/test_recommendation_common.py
+++ b/sale_order_product_recommendation/tests/test_recommendation_common.py
@@ -45,7 +45,7 @@ def setUpClass(cls):
cls.prod_1 = cls.product_obj.create(
{
"name": "Test Product 1",
- "detailed_type": "service",
+ "type": "service",
"list_price": 25.00,
"categ_id": cls.cat_b.id,
}
@@ -53,7 +53,7 @@ def setUpClass(cls):
cls.prod_2 = cls.product_obj.create(
{
"name": "Test Product 2",
- "detailed_type": "service",
+ "type": "service",
"list_price": 50.00,
"categ_id": cls.cat_b.id,
}
@@ -61,7 +61,7 @@ def setUpClass(cls):
cls.prod_3 = cls.product_obj.create(
{
"name": "Test Product 3",
- "detailed_type": "service",
+ "type": "service",
"list_price": 75.00,
"categ_id": cls.cat_a.id,
"default_code": "TEST-PROD-3",
diff --git a/sale_order_product_recommendation/views/res_config_settings_views.xml b/sale_order_product_recommendation/views/res_config_settings_views.xml
index 710170d9818..528cc089125 100644
--- a/sale_order_product_recommendation/views/res_config_settings_views.xml
+++ b/sale_order_product_recommendation/views/res_config_settings_views.xml
@@ -4,7 +4,7 @@
res.config.settings
-
+
-
+
-
+
-
+