12.0 improve profiles management #4

Merged
stephansainleger merged 28 commits from 12.0-improve_profiles_management into 12.0 2023-06-27 15:31:24 +00:00

28 Commits

Author SHA1 Message Date
Stéphan Sainléger
47d6705d75 [I18N] partner_profiles_portal: improve french translations 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
7d6157a8fc [IMP] partner_profiles: apply migration only on contact type partner 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
1502821e5d [IMP] partner_profiles_portal: add required asterisk in portal forms 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
652553a1f2 [IMP] partner_profiles_portal: remove position profile frm child_ids 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
f9c7a5f877 [IMP] partner_profiles: remove position profiles from child_ids 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
82e5d9973f [IMP] partner_profiles_portal: improve /my/account name field label 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
87cc4e579e [I18N] partner_profiles_portal: modify profiles french translations
"Profil principal" -> "Fiche administrative"
"Profil public" -> "Coordonnées publiques"
"Profil position" -> "Fonction"
2023-06-27 14:30:54 +02:00
Stéphan Sainléger
9456f883fe [I18N] partner_profiles: modify profile name french translations
"Profil principal" -> "Fiche administrative"
"Profil public" -> "Coordonnées publiques"
"Profil position" -> "Fonction"
2023-06-27 14:30:54 +02:00
Stéphan Sainléger
eb25ed7d0b [FIX] partner_profiles_portal: fix portal boolean fields handling 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
b7496f99b5 [IMP] partner_profiles: sync active field values between profiles
Change in main profile is synchronized in public and position profiles.
Change in public profile is sy,chronized in main and position profiles.
Change in position profile is NOT synchronized in main and public profiles.
2023-06-27 14:30:54 +02:00
Stéphan Sainléger
8e48fde08f [IMP] partner_profiles: add profile in partner kanban view 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
b1161bc709 [IMP] partner_profiles_portal: add positions details in portal
Adds several portal views to consult all the positions of a structure,
and their details.
2023-06-27 14:30:54 +02:00
Stéphan Sainléger
5d6d5668e3 [IMP] partner_profiles_portal: add website page edition slots 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
f262aad42a [IMP] partner_profiles: clarify position profiles display
separates the notebook pages of the child_ids and the position
profiles in both company and individual partner form views.
2023-06-27 14:30:54 +02:00
Stéphan Sainléger
4ce4709767 [IMP] partner_profiles_portal: refactor position profil creation 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
97e3dd5c04 [IMP] partner_profiles: refactoring of position profile creation 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
dd184128af [IMP] partner_profiles: prevent company type edit in several cases
Prevents the modification of the company type of res.partner:
- if partner is a public or a position profile
- if the partner has position profiles attached

Also synchronize the company type between main and public profiles.
2023-06-27 14:30:54 +02:00
Stéphan Sainléger
7fbbb4f396 [I18N] partner_profiles_portal: update french translations 2023-06-27 14:30:54 +02:00
Stéphan Sainléger
e0849d3d81 [I18N] partner_profiles: update french translations 2023-06-26 15:01:00 +02:00
Stéphan Sainléger
d8077861ac [IMP] partner_profiles_portal: hide My structures button for company users 2023-06-26 15:01:00 +02:00
Stéphan Sainléger
69bcbc788e [IMP] partner_profiles_portal: add odoo user in partner form view 2023-06-26 15:01:00 +02:00
Stéphan Sainléger
ffec9795e6 [IMP] partner_profiles: remove useless fields in position form view 2023-06-26 15:01:00 +02:00
Stéphan Sainléger
56bec1eed7 [IMP] partner_profiles_portal: new portal structures data management
refactors the way a portal user can edit the data of the structures he
is affiliated with.
All main, public and position profiles data are gathered in one
"structure" form.
Adds several navigation improvement (back to structures list,
validation message, ...)
2023-06-26 15:01:00 +02:00
Stéphan Sainléger
69de81a9e0 [IMP] partner_profiles_portal: refactoring of user information
Merge the main and public information edition in /my/account portal
page.
2023-06-26 15:01:00 +02:00
Stéphan Sainléger
6f7629aba8 [IMP] partner_profiles: remove useless fields in public profile view
Hides from the partner public form view the fields and data not
considered as relevant for public profile. The public profile aims to
protect the contact data, but not to replace the other ones which are
considered as "administrative" data.
2023-06-26 15:01:00 +02:00
Stéphan Sainléger
eb21e1914e [IMP] partner_profiles: delete profiles when main partner deleted
When a main partner is unlinked, all the linked profiles (public
profile and position profiles) are deleted.
2023-06-26 15:01:00 +02:00
Stéphan Sainléger
ffff6e683c [IMP] partner_profiles: filter public profiles in name_search answer 2023-04-18 18:11:51 +02:00
Stéphan Sainléger
9d7d859cb1 [FIX] partner_profiles: add missing add-on dependency 2023-03-21 15:37:53 +01:00