Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

"Optional" Field Property to NEITHER "Show by default" nor "Hide by default" in Odoo Studio

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
customizationUIodoo studio
2 Replies
785 Tampilan
Avatar
Kiko Cruz

Hi, this might be a minor thing but has some usefulness for user experience... does anyone know how to set the Optional field property in Odoo Studio to be neither "Show by default" or "Hide by default," meaning, it's left blank (like the screenshot on the right)? As of now, you can't choose blank.

The reason why I'm asking is that I noticed that default list columns that cannot be hidden (by selecting that upper right column selector on view tables) have no Optional value set. See below example (for PO Form's Unit Price column in the items list) behavior if the Optional field is blank like above right.


Stupid as it may seem, but some users would get confused if they accidentally hid the field (and don't know how to make it appear. So better not to allow anyone choose to hide some fields in a list (like what Odoo has made on key columns, like Unit Price and Quantity in PO forms.

Help on a workaround is very much appreciated. I'm using Odoo Online (v18.4e).

0
Avatar
Buang
Avatar
Paresh Wagh
Jawaban Terbai

Hi Francis:

Studio does not allow you to do this directly but you can do it if you are familiar with developer mode and XML.

Here's a work around for this using Studio since it is not natively supported by Studio:

  1. Activate Developer Mode (Settings > General Settings).
  2. Open the view in Studio and go to the field you want to edit like you normally do.
  3. Change the value of "Optional" so Studio generates the XML for the customization.
  4. Click on the "View" tab on the left and then on the "XML" button like so.
  5. This will open the XML of the customization. Look for the part where the "optional" property of the field is changed and remove the value within the tag like so to leave it empty.
  6. Save the changes.

Your field will now be permanently visible and will be removed from the list of fields on the right.

NOTE: Make sure you are making the edits in a view whose name starts with "Odoo Studio: ..." and not one of Odoo's built in views.

1
Avatar
Buang
Kiko Cruz
Penulis

Thank you Paresh! Thank you for the detailed steps!

And I appreciate the warnings to lessen risk in editing underlying base view XML. I'll have to take note first that a form or view needs to be edited for the first time in Odoo Studio for its XML view with name starting "Odoo Studio" to be created and customized further.

Avatar
Rani Tathod
Jawaban Terbai

In Odoo Studio, the "Optional" field property is designed to either show or hide fields by default, but not leave them blank.



  To achieve a similar effect, consider setting the field to "Show by default" and then use access rights to control visibility.

  Alternatively, customize the view XML to remove the "optional" attribute for specific fields.

  Test the changes in a development environment to ensure they meet your user experience needs.


If you'd like to explore this further for your use case, you're welcome to connect with us at Pragmatic Techsoft.

-1
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
module Extention/ Customization
customization
Avatar
Avatar
Avatar
Avatar
Avatar
5
Agu 24
4094
How to add a Table to a contacts form view.
UI
Avatar
0
Agu 23
1866
How to custom our Odoo LMS page?
customization
Avatar
0
Jan 22
3193
How to remove the "Create & Edit" on order lines ? Diselesaikan
customization
Avatar
1
Mar 25
5184
How to use AND conditions in the search bar instead of OR ? Diselesaikan
customization
Avatar
1
Sep 21
6861
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

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