İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Disable or remove/hide Add properties option in odoo17 forms.

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
propertiespropertypermitionodoo 17
4 Cevaplar
2018 Görünümler
Avatar
milan m

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. 

0
Avatar
Vazgeç
milan m
Üretici

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;
},
});

Avatar
Cybrosys Techno Solutions Pvt.Ltd
En İyi Yanıt

Hi,

Inherit the form view for CRM leads and remove the action_add_property entry from the action menu using XML view inheritance.


Example:

<record id="crm_lead_form_inherit_no_props" model="ir.ui.view">

    <field name="name">crm.lead.form.no.properties</field>

    <field name="model">crm.lead</field>

    <field name="inherit_id" ref="crm.crm_case_form_view_oppor"/>

    <field name="arch" type="xml">

        <xpath expr="//div[@class='o_dropdown_menu']//a[contains(@data-menu,'action_add_property')]" position="attributes">

            <attribute name="groups">base.group_system</attribute>

        </xpath>

    </field>

</record>


Hope it helps.

0
Avatar
Vazgeç
Avatar
milan m
Üretici En İyi Yanıt


import { patch } from "@web/core/utils/patch";
import { FormController } from "@web/views/form/form_controller";
patch(FormController.prototype, {
    async getStaticActionMenuItems() {
        const items = await super.getStaticActionMenuItems();
        if (items?.addPropertyFieldValue) {
            console.log("Removing 'Add Properties'");
            delete items.addPropertyFieldValue;
        }    return items;
    },
});

This custom module js patch worked for Odoo17 to hide add properties action menu

0
Avatar
Vazgeç
Avatar
Ruchita
En İyi Yanıt

In Odoo 17, the "Add Properties" option usually appears when developer mode is enabled. It allows users to attach technical fields (like x_studio fields or properties) directly to records. If you want to hide or disable this option, here are a few things you can do:

✅ Solution:

  1. Turn Off Developer Mode:
    • The "Add Properties" option only shows when developer mode is on.
    • If you're a regular user and don’t need it, turning off developer mode will remove the option.
  2. Use Web Assets (Custom JS) to Hide It:
    • If you want to hide it for all users or even in dev mode, you can use JavaScript.
    • Add this code in your custom module:
  3. Limit Access with User Groups (Advanced):
    1. If your users have technical access, consider creating a user group without access to developer features.



-1
Avatar
Vazgeç
Chris TRINGHAM

More LLM / AI - this is not a solution.

Avatar
D Enterprise
En İyi Yanıt

Hii,

Modify the View XML Based on User Groups

The most effective and cleanest solution is to control the visibility of the "Add Properties" action using the XML view and the groups attribute. This will ensure that the action is visible only to specific user groups (like Sales Manager) and hidden for others.

Steps to Modify the View:
  1. Identify the View: Find the XML view for the CRM lead/opportunity form (crm.lead.form), where the "Add Properties" button or action is defined.
  2. Modify the View:
    • Go to Settings → Technical → User Interface → Views.
    • Search for crm.lead.form.
    • Look for the <button> or <menu> entry related to "Add Properties" or similar.
  3. Add the groups Attribute
  4. :
    • Modify the button or menu entry to make it visible only to specific groups (e.g., Sales Manager).

<button name="add_properties" type="object" string="Add Properties" groups="base.group_sale_manager"/>

  1. In this example, the button will only be visible to users in the Sales Manager group (base.group_sale_manager).
  2. Save and Update the Module:
    • After modifying the view, restart Odoo and update your module to apply the changes.

This approach directly modifies the visibility of the "Add Properties" button in the CRM lead/opportunity form, making it visible only to the selected user group(s).

2. Adjust User Groups and Permissions

You also need to ensure that only the appropriate user groups have access to the relevant permissions. Here’s how:

Steps to Adjust User Groups:
  1. Go to Users & Companies:
    • Go to Settings → Users & Companies → Users.
    • Select the user for whom you want to restrict access to the "Add Properties" action.
  2. Modify the User’s Groups:
    • Check the User Groups tab for the selected user.
    • Ensure that the user is not part of the Sales Manager group (base.group_sale_manager), unless you want to give them access.
    • You can assign the user to a group like Sales User (base.group_sale_user) if you want to restrict access to certain features.
  3. Adjust the Group Permissions:
    • Sales Manager typically has more permissions, including managing properties. If you want to restrict access, ensure the user is assigned to a group with limited permissions, such as Sales User.
    • You can also create custom user groups with specific permissions for greater control.

i hope it is use full

-2
Avatar
Vazgeç
Chris TRINGHAM

No it's not! Seems to come from LLM / AI.

milan m
Üretici

This Won't work for Add Properties

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
How to upload data to the new Properties fields in Odoo 16? I'm getting this error 'NoneType' object is not callable
properties property odoo16features NoneType
Avatar
Avatar
1
Şub 23
5016
Issue with Properties app – renewed contracts not updating Çözüldü
properties
Avatar
Avatar
1
Kas 25
444
Send Email after payment creted for invoice
odoo 17
Avatar
Avatar
Avatar
2
Eyl 25
2734
How can I configure a partner receivable account depending on the company Çözüldü
property
Avatar
Avatar
Avatar
3
Tem 25
9778
Why Doesn't the Hamburger Menu Show for My Custom Group User Despite Adding ir_ui_menu Access Right?
odoo 17
Avatar
Avatar
1
May 25
2208
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now