Commit Graph

11 Commits

Author SHA1 Message Date
Stéphan Sainléger
019019aa93 [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 17:31:24 +02:00
Stéphan Sainléger
379b598754 [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 17:31:24 +02:00
Stéphan Sainléger
4401cfab79 [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-27 17:31:24 +02:00
Stéphan Sainléger
2e63b1216f [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-27 17:31:24 +02:00
Stéphan Sainléger
6e227a83d4 [IMP] partner_profiles: filter public profiles in name_search answer 2023-06-27 17:31:24 +02:00
Nicolas JEUDY
8b12b04b38 [ADD] permit contact import from files with parent_id 2023-02-14 15:33:20 +01:00
Stéphan Sainléger
9613999bed [IMP] partner_profiles: refactor has_position boolean computation 2023-01-03 10:38:03 +01:00
Stéphan Sainléger
badfd5e1a8 [IMP] partner_profile: add website as copied field in public profile 2023-01-03 10:38:03 +01:00
Stéphan Sainléger
d2cc72b3a8 [FIX] partner_profile: prevent sync between profiles' name
The names in the different profiles must be synchronised only at the
creation. And if the name of one profile is modified, the others must
keep their own name.
2023-01-03 10:38:03 +01:00
Stéphan Sainléger
50de81c997 [IMP] partner_profile: remove copy of private data in public profile 2023-01-03 10:38:03 +01:00
Stéphan Sainléger
c651ac4355 [ADD] partner_profiles: create add-on 2023-01-03 10:38:03 +01:00