diff --git a/app_hr_superbar/__manifest__.py b/app_hr_superbar/__manifest__.py
index 85e177d7..de841d3e 100644
--- a/app_hr_superbar/__manifest__.py
+++ b/app_hr_superbar/__manifest__.py
@@ -17,7 +17,7 @@
{
'name': "Employee Navigator by department, hr superbar",
- 'version': '13.19.09.27',
+ 'version': '13.22.03.25',
'author': 'Sunpop.cn',
'category': 'Human Resources',
'website': 'https://www.sunpop.cn',
@@ -41,6 +41,7 @@
],
'images': ['static/description/hr2.gif'],
'data': [
+ 'views/hr_department_views.xml',
'views/hr_views.xml',
],
'demo': [
diff --git a/app_hr_superbar/views/hr_department_views.xml b/app_hr_superbar/views/hr_department_views.xml
new file mode 100644
index 00000000..98bbcae3
--- /dev/null
+++ b/app_hr_superbar/views/hr_department_views.xml
@@ -0,0 +1,16 @@
+
+
+
+ app.hr.department.search
+ hr.department
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app_hr_superbar/views/hr_views.xml b/app_hr_superbar/views/hr_views.xml
index 831daf52..64ec8ddc 100644
--- a/app_hr_superbar/views/hr_views.xml
+++ b/app_hr_superbar/views/hr_views.xml
@@ -8,8 +8,8 @@
+
-
diff --git a/app_product_brand/__manifest__.py b/app_product_brand/__manifest__.py
index 15f11653..d010a60f 100644
--- a/app_product_brand/__manifest__.py
+++ b/app_product_brand/__manifest__.py
@@ -41,7 +41,7 @@
{
'name': 'Product Brand Manager',
- 'version': '13.20.04.11',
+ 'version': '13.22.03.28',
'author': 'Sunpop.cn',
'category': 'Product',
'website': 'https://www.sunpop.cn',
diff --git a/app_product_brand/models/product_brand.py b/app_product_brand/models/product_brand.py
index aa9b4c6b..0bc30654 100644
--- a/app_product_brand/models/product_brand.py
+++ b/app_product_brand/models/product_brand.py
@@ -22,7 +22,7 @@ class ProductBrand(models.Model):
'res.partner',
string='Partner',
help='Select a partner for this brand if any.',
- ondelete='restrict'
+ ondelete='set null'
)
logo = fields.Binary('Logo File', attachment=True)
product_ids = fields.One2many(
diff --git a/app_product_superbar/__manifest__.py b/app_product_superbar/__manifest__.py
index 7b44225f..56501b5a 100644
--- a/app_product_superbar/__manifest__.py
+++ b/app_product_superbar/__manifest__.py
@@ -17,7 +17,7 @@
{
'name': "App product browse by category navigator",
- 'version': '13.21.03.31',
+ 'version': '13.22.03.25',
'author': 'Sunpop.cn',
'category': 'Base',
'website': 'https://www.sunpop.cn',
@@ -41,7 +41,7 @@
],
'images': ['static/description/superbar.gif'],
'data': [
- 'views/product_views.xml',
+ 'views/product_template_views.xml',
'views/product_category_views.xml',
],
'demo': [
diff --git a/app_product_superbar/views/product_views.xml b/app_product_superbar/views/product_template_views.xml
similarity index 100%
rename from app_product_superbar/views/product_views.xml
rename to app_product_superbar/views/product_template_views.xml