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

I am creating a custom field, but whenever I try to add it to my form, I get an error.

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
error
7298 Tampilan
Avatar
Amer Homaissi

I created a custom field named "Test Field" and while creating it I gave it a model of purchase.order

I am trying to create a custom field next to Subtotal in the Quotations and Purchase Order forms.

However, after creating the custom field in: Settings - Database Structures - Fields, while setting its Model to purchase.order, whenever I try adding it next to the Subtotal field on the Quotations form, I get an error that says the following:

"Error occurred while validating the field(s) arch: Invalid XML for View Architecture!"

I don't understand what the problem is and how to fix it.

Thank you for your help, in advance.

OQO

0
Avatar
Buang
Eric

did you make sure the name of the field is spelled right? Custom fields require an "x_" before the name of the field. So the name should be x_test_field

Amer Homaissi
Penulis

Field name: x_testfield Field Label: Test Field Type: Float

Eric

Is that the way the name is spelled in the xml view? <field name="x_testField" />

Amer Homaissi
Penulis

I couldn't find it in the xml view (purchase_view.xml), and I think it's because I haven't been able to create it into the form yet. Or is it supposed to be there?

Eric

Yes, when you create a field in OpenERP, then you will need to add the field to the correct view. You can do that by adding the field tag like I have above, or you can also add it through the Developer Mode.

Eric

Here is a link that shows you how to add a field in Developer Mode http://openerpservice.in/how-to-add-new-field-in-open-erp-7-0/

Amer Homaissi
Penulis

Yes, my problem is occurring when I am in developer mode and I go into Manage Views and attempt to add the field.

Eric

Ok. Make sure you are on the right form. Each form will belong to a model which will have its own fields you can use for it. So if you are modifying the Leads form, then you will need to make sure that the field you added belongs to the crm.leads model

Amer Homaissi
Penulis

Thank you for your help. I followed your steps and tried again and it gave me the same error. However, when I tried to do this elsewhere, it did not give me an error. I suspect that the problem might be because I am trying to add it to a tree. How can I add a custom field to a tree?

Eric

If you are adding a field to a tree with the Developer Mode, it works the same as a form. When you click on Manage Views then see the list of forms to edit, select the one with the tree in it. Then you can add the field like you did in the form.

Eric

I would advise to create a custom module rather than adding fields through the Developer Mode though. If there ever is an upgrade, then all the fields that you added using the Developer Mode will get erased. When creating a new module that inherits an existing module, then the fields wont get erased if an upgrade is made. This is the preferred method

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
?"Your country might be blocked by our hosting provider" error when I create new website
error
Avatar
0
Nov 25
592
Payment Page Return Error with Razorpay on Mobile Devices
error
Avatar
0
Sep 25
1204
Error after installing "purchase" app in Odoo version 18
error
Avatar
Avatar
1
Des 24
6774
error schema for TourStep Error
error
Avatar
0
Nov 24
2601
Can't modify manifest version of custom module [Odoo.sh]
error
Avatar
Avatar
Avatar
2
Jul 24
5266
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