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

<> Code view not available in Odoo HTML GUI editor? Where is it?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
codeemailhtmlwysiwygeditor
5 Replies
17056 Tampilan
Avatar
Hibou Ambigu

Am I going crazy or is the <> code view button missing from the WYSIWYG code editor in Odoo 13.0 Community? I see it in some video tutorials others have made, but it's not present in my editor...

I'm trying to edit the template for an email - very basic stuff, except I cannot access the raw HTML since there's no <> button apparent in the editor on my screen to view the HTML underneath for the template. I've seen this button in many people's videos about the subject, and used it before in other applications.

If anyone knows where the button went to view HTML when editing an email template from the GUI, please help! Is there a stock Odoo app that lets you peek at that stuff? 

Anytime I edit something, it screws up the Jinja template underneath for the email template, but, I cannot fix the underlying HTML without digging into the actual server files.

1
Avatar
Buang
Avatar
Pablo Escobar
Jawaban Terbai

If you want to use HTML editor on any particular field, use an HTML widget.


Example:

In XML,

<field name="html_field" widget="html"/>


1
Avatar
Buang
Avatar
Hibou Ambigu
Penulis Jawaban Terbai

Pablo, thanks for the reply. 

I have 

<field name="body_html" widget="html" options="{'style-inline': true}"/> 

for the email template editing View (when I inspect in development mode and go to edit form: view), however, there is still no option on the WYSIWYG inline toolbar to display source/code in the editor.

I've found out that I can force it to display raw text in there by changing to widget="text" but that's not an ideal solution since I have to open the XML and manually switch back and forth.

Is there something else I'm missing that can get the source code view option back on the toolbar of the editing widget?


2
Avatar
Buang
Michael Sommer

I have the same issue - while changing the widget type to "text" in the view mail.template is a workaround - i hope someone will provide a solution to get the '<>' Button to switch between 'source' and 'wysiwyg' mode...

Avatar
Viktor Iliev Tsvetkov
Jawaban Terbai

I have tried this in Odoo 14, so I'm not sure whether it will work in version 13, but you can insert the html of the code view button somewhere in the toolbar and the button will be working as expected: <button type="button" class="btn btn-secondary btn-sm" title="" data-event="codeview" tabindex="-1" data-name="codeview" data-original-title="Code View"><i class="fa fa-code"></i></button>

An easier solution is to directly edit the page html, modify the mail body and Odoo will accept the change.

0
Avatar
Buang
Avatar
Adrian Tuhut
Jawaban Terbai

Try with debug mode activated. You will then see Codeview

0
Avatar
Buang
Avatar
Roberto Palacios git GmbH
Jawaban Terbai

The options="{'style-inline':'true'}" is the solution to the question!! Just adding the widget is not enough.

The Ckeditor configuration option style-inline has to be set to true... Until today i was used to configure ckeditor settings via an ckeditor.js file, but in the odoo context i am not able to identifiy how to overwrite an existing config file or add an own file via a custom addon.. If anyone knows how to implement an own ckeditor.js config file, please let us know =)

0
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
Display code view / edit raw-HTML in Odoo 17 Diselesaikan
code html raw editor v17
Avatar
Avatar
2
Mar 24
12203
How to use text fields with HTML-Formatting Diselesaikan
html editor
Avatar
Avatar
1
Jul 25
54952
Enterprise HTML Error V10
html editor
Avatar
0
Des 17
4451
HTML A tags being sanitized unusable in html editor
html editor
Avatar
Avatar
1
Jun 15
7396
wysiwyg editor on the wizard
wysiwyg editor
Avatar
0
Mar 15
5680
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