I'm trying to figure out which permission or access right controls the visibility of the "Add Properties"option in the action menu on CRM lead/opportunity forms Odoo17 Community.
- The option is visible to both Admin and Sales users.
- I've tried adjusting various access rights and security settings, but none of them seem to hide this action.
Does anyone know which specific permission or group is responsible for showing the "Add Properties" action? I'd like to remove or restrict it for users, but I can't find the right setting.
i tried hiding Add Properties using custom module js file code to remove menu action, but that too not working.
patch(FormController.prototype, {
getStaticActionMenuItems() {
const items = this._super();
// Remove 'Add Properties' if it exists
if (items.addPropertyFieldValue) {
delete items.addPropertyFieldValue;
}
return items;
},
});