odoo/odoo#225326

Created by Neel Ajitbhai Shah (nees)
Merged at 425434c7f333b77e57b19824033ca36e8bc50e2f

Statuses:

Linked pull requests
label
odoo-dev:master-placeholder-private-label-nees
head
9ed5be351ee16a8685a46b2ae341a70897b6191a
merged
1 week ago by Discuss, Sébastien Theys (seb)
odoo/odoo odoo/documentation
master #225326 #14601

[IMP] mail: show private placeholder for empty group_ids using falsy_value_label

Description of the issue this PR addresses:
Previously, when the group_ids field was left empty on canned responses,
there was no indication that the response was private.

Desired behaviour after PR is merged:
- Uses the python field attribute falsy_value_label to provide a meaningful,
translatable label for the falsy state of relational fields.
- Adds a lightweight UI widget that:
- Displays the field’s falsy_value_label 🔒 Private when the field is
read-only and not set.
- Falls back to the standard many2many_tags behavior when the field has values
or is editable.
- The widget is applied to group_ids on mail.canned.response, ensuring a
consistent label across list, form, and kanban views.

Related Documentation PR: odoo/documentation#14601

Before / After:
<img width="150" height="48" alt="image" src="https://github.com/user-attachments/assets/59d9fff8-fd9c-4359-ab28-91ad6463d3d6" /> <img width="158" height="40" alt="image" src="https://github.com/user-attachments/assets/bfc768ef-a7d6-4da0-8537-b9d2d6825bcb" />

task-5071026


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr