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
stephansainleger commented 2023-05-02 14:29:24 +00:00 (Migrated from github.com)

Hide the public/position profile useless fields in partner form views.
Hide the public/position profile logic for portal user.

Hide the public/position profile useless fields in partner form views. Hide the public/position profile logic for portal user.
clementelabore (Migrated from github.com) reviewed 2023-06-20 14:05:22 +00:00
clementelabore (Migrated from github.com) commented 2023-06-20 13:30:31 +00:00

tu vérifie si active = True ou si active = False ?? pourquoi ?

tu vérifie si active = True ou si active = False ?? pourquoi ?
stephansainleger (Migrated from github.com) reviewed 2023-06-20 14:10:53 +00:00
stephansainleger (Migrated from github.com) commented 2023-06-20 14:10:52 +00:00

C'est une façon certainement maladroite de juste vérifier la présence d'une clef active dans vals, pour détecter s'il y a un changement sur ce champs. Mais en relisant, effectivement, il y a surement une manière plus propre de faire ça..

C'est une façon certainement maladroite de juste vérifier la présence d'une clef `active` dans `vals`, pour détecter s'il y a un changement sur ce champs. Mais en relisant, effectivement, il y a surement une manière plus propre de faire ça..
clementelabore (Migrated from github.com) reviewed 2023-06-20 14:18:26 +00:00
clementelabore (Migrated from github.com) commented 2023-06-20 14:18:26 +00:00

tu peux ecrire :
if 'active' in vals:

tu peux ecrire : `if 'active' in vals:`
Sign in to join this conversation.
No description provided.