Commit Graph

19 Commits

Author SHA1 Message Date
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
e0849d3d81 [I18N] partner_profiles: update french translations 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
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
Nicolas JEUDY
8b12b04b38 [ADD] permit contact import from files with parent_id 2023-02-14 15:33:20 +01:00
Stéphan Sainléger
93af65819c [FIX] partner_profiles: correct identation issue in xml file 2023-01-12 11:01:43 +01:00
Stéphan Sainléger
0e29ec7dd4 [FIX] partner_profile: change way to modify the partner name field
in the partner form view
2023-01-05 23:48:22 +01:00
Stéphan Sainléger
be490f38de [IMP] partner_profiles: xml files reformating 2023-01-05 23:37:45 +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
38f0a31e38 [FIX] partner_profiles: fix position profile creation issue
because field partner_profile was missing in the res_partner form
view, the computation of the profile booleans was broken.
2023-01-03 10:38:03 +01:00
Stéphan Sainléger
b7ca3486cd [FIX] partner_profiles_portal: issue with structure writing rights
It was impossible to read or edit structure profiles from the portal.
Solved with:
- the add of a dependency to "partner_contact_in_several_companies"
add-on
- the modification of a security rule to consider the structure public profile
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