İç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

Remove editable from tree view with a update view

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
8 Cevaplar
30428 Görünümler
Avatar
Torsten Francke

Hi,

i want to remove the "editable" attribute from a tree view

<tree string="Phone Calls" editable="top" >

is the original view, i dont want to edit them, to stay update save.

I need somethink link:

<tree string="Phone Calls" editable="none" >

But this did not work. I get a error for not valid xml. Have someone a simular problem and a solution?

1
Avatar
Vazgeç
Avatar
joseph d'souza
En İyi Yanıt

To remove editable in tree view you must use only tree string like below :

<tree string="Phone Calls" >

if you want to remove via inherit then try below exmple:

        <record id="view_form_editable_list" model="ir.ui.view">
        <field name="name">objectt.form.editable.list</field>
        <field name="model">object.object</field>
        <field name="inherit_id" ref="view_ref"/>
        <field name="groups_id" eval="[(6, 0, [ref('groups_if_any_in_tree_view'),ref('groups_if_any_in_tree_view'),])]"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='one2manyr_line']/tree" position="attributes">
                <attribute name="editable"/>
            </xpath>
        </field>
    </record

In groups_id you can add that groups which are in tree views fields so when this all applied group is active then editable is removed from tree view.

8
Avatar
Vazgeç
Torsten Francke
Üretici

I know, but then i have to edit the original tree view, if i add this by a inherited view it will not work. Update the original view is not 'update save' and should be avoid

Avatar
Torsten Francke
Üretici En İyi Yanıt

Correct solution is:

<?xml version="1.0"?>
<data>
<xpath expr="//tree" position="attributes">
                <attribute name="editable" />
            </xpath>
</data>
6
Avatar
Vazgeç
CARLOS ALBERTO GARCIA BRIZUELA

Your solution works perfectly for me. Many thanks!

Avatar
Fady Noor Ilmi Lubis
En İyi Yanıt

i have had a little bit different problem, remove the editable from a tree view. but i hope this helps somebody who are facing the same problem.

to remove editable from an existing tree view, like from Attendance List in Odoo 13 like this

<?xml version="1.0"?>
<tree string="Employee attendances" editable="bottom">
                <field name="employee_id"/>
                <field name="check_in"/>
                <field name="check_out"/>
                <field name="worked_hours" string="Work Hours" widget="float_time"/>
            </tree>

use this code

<xpath expr="/tree" position="attributes">
                <attribute name="editable"/>
            </xpath>
with one slash in front of "tree"

1
Avatar
Vazgeç
Avatar
Omar OUHARI
En İyi Yanıt

I have the same issue and I am looking for a solution. If you have found anything please let me know. for the others what I want to do is to be able to open form in treeview witch have editable="bottom/top". I think it's a bug in V8 because this still possible in V6.1.

Regards.

0
Avatar
Vazgeç
Fady Noor Ilmi Lubis

answer from Torsten Francke should solve your problem

Avatar
Christian Fraesdorff
En İyi Yanıt

As I have had the opposite problem - make an existing view editable by an inheritance - many thanks to Thorsten Francke! Your answer gave me the hint after hours of searching ... So maybe this helps somebody one day ...

In the inherited view do:

<xpath expr="//tree" position="attributes">
    <attribute name="editable">top</attribute>
 </xpath>

Regards

0
Avatar
Vazgeç
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
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