diff --git a/partner_profiles/__manifest__.py b/partner_profiles/__manifest__.py
index 16daa29..49c3d51 100644
--- a/partner_profiles/__manifest__.py
+++ b/partner_profiles/__manifest__.py
@@ -3,7 +3,7 @@
{
"name": "partner_profiles",
- "version": "12.0.1.0.3",
+ "version": "12.0.1.0.4",
"author": "Elabore",
"website": "https://elabore.coop",
"maintainer": "Stéphan Sainléger",
diff --git a/partner_profiles/data/res_partner_data.xml b/partner_profiles/data/res_partner_data.xml
index 322c8f7..ec35420 100644
--- a/partner_profiles/data/res_partner_data.xml
+++ b/partner_profiles/data/res_partner_data.xml
@@ -16,10 +16,10 @@
code
-model._migration_create_pro_profiles(limit=200)
-model._migration_person_without_parent(limit=200)
-model._migration_person_with_parent_and_existing_main(limit=200)
-model._migration_person_with_parent_not_existing_main(limit=200)
+ model._migration_create_pro_profiles(limit=200)
+ model._migration_person_without_parent(limit=200)
+ model._migration_person_with_parent_and_existing_main(limit=200)
+ model._migration_person_with_parent_not_existing_main(limit=200)
days
-1
diff --git a/partner_profiles/views/partner_profile_view.xml b/partner_profiles/views/partner_profile_view.xml
index e064dab..7e2164c 100644
--- a/partner_profiles/views/partner_profile_view.xml
+++ b/partner_profiles/views/partner_profile_view.xml
@@ -18,5 +18,7 @@
tree
-
+
\ No newline at end of file
diff --git a/partner_profiles/views/res_partner_view.xml b/partner_profiles/views/res_partner_view.xml
index efc0858..1f62cf2 100644
--- a/partner_profiles/views/res_partner_view.xml
+++ b/partner_profiles/views/res_partner_view.xml
@@ -10,11 +10,13 @@
-
-
- Main Profile
- Public Profile
- Position Profile
+
+ Main Profile
+ Public Profile
+ Position Profile
@@ -24,12 +26,22 @@
-
-
-
-
+
+
+
+
-
+
@@ -43,28 +55,42 @@
{'invisible': [('is_company','=', False)]}
-
+
1
-
+
- {'invisible': ['|', ('contact_id','!=',False), ('is_company','=',True)]}
+ {'invisible': ['|', ('contact_id','!=',False),
+ ('is_company','=',True)]}
-
+
true
-
- {'default_partner_profile': 3, 'default_contact_id': active_id, 'default_name': name, 'default_street': street, 'default_street2': street2, 'default_city': city, 'default_state_id': state_id, 'default_zip': zip, 'default_country_id': country_id, 'default_supplier': supplier}
+
+ {'default_partner_profile': 3, 'default_contact_id':
+ active_id, 'default_name': name, 'default_street': street,
+ 'default_street2': street2, 'default_city': city, 'default_state_id':
+ state_id, 'default_zip': zip, 'default_country_id': country_id,
+ 'default_supplier': supplier}
-
+
-
+