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

Error while printing a tree: Can't render view base.view_partner_form for model: res.partner

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
treeviewtreetree_view
1 Balas
4659 Tampilan
Avatar
Selverine

Hi all,


I am trying to print a tree in my view, but I not able to find the reason of the error.

Is it because my table is in another folder?


Please find below the code:

Inside my xml:

<field name="daily_action">  
                  <tree string="partner_id">
                        <field name="partner_id"/>
                         <field name="date_action"/>
                         <field name="action"/>
                         <field name="titre"/>
                         <field name="text"/>
                         <field name="numero"/>
                   </tree>

</field>

Inside my .py

 'daily_action': fields.one2many('daily.action', 'partner_id', 'Daily Action'),

And the daily.action table ( in another .py, in another folder)

class daily_action(osv.osv):
    _name = 'daily.action'
    _description = 'Daily Action'
    _columns = {
        'partner_id': fields.many2one('res.partner', 'Partner Id', required=True),
        'date_action': fields.date('Date', required=False, readonly=False, select=True),
        'action': fields.char('action', size=128, required=False, translate=False),
        'titre': fields.char('titre', size=128, required=False, translate=False),
        'text': fields.text('texte', size=128, required=False, translate=False),
        'numero': fields.text('texte', size=128, required=False, translate=False),
 
    }    _defaults = {
        'date_action': fields.date.context_today,
        'partner_id': lambda self, cr, uid, context: context.get('partner_id', False),
    }
daily_action()

Here the error:

2016-04-13 12:43:10,569 7809 ERROR HG_1 openerp.addons.base.ir.ir_ui_
view: Can't render view base.view_partner_form for model: res.partnerTraceback (most recent call last):  File "/opt/HG_test/openerp/openerp/
addons/base/ir/ir_ui_view.py", line 126, in _check_render_view    fvg = self.pool.get(view.model).
fields_view_get(cr, uid, view_id=
\view.id
, view_type=view.type, context=context)  File "/opt/HG_test/openerp/openerp/
addons/base/res/res_partner.
py", line 350, in fields_view_get    res = super(res_partner,self).
fields_view_get(cr, user, view_id, view_type, context, toolbar=toolbar, submenu=submenu)  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 2272, in fields_view_get    xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 1925, in __view_look_dom_arch    fields_def = self.__view_look_dom(cr, user, node, view_id, False, fields, context=context)  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 1871, in __view_look_dom    fields.update(self.__view_
look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 1871, in __view_look_dom    fields.update(self.__view_
look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 1871, in __view_look_dom    fields.update(self.__view_
look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 1871, in __view_look_dom    fields.update(self.__view_
look_dom(cr, user, f, view_id, in_tree_view, model_fields, context))  File "/opt/HG_test/openerp/openerp/
osv/orm.py", line 1788, in __view_look_dom    xarch, xfields = relation.__view_look_dom_arch(
cr, user, f, view_id, ctx)


Someone has an idea what is wrong with my tree?


Many thanks,


Selverine

0
Avatar
Buang
Avatar
Selverine
Penulis Jawaban Terbai

A little up for the hope ;-).


I have the impression that the problem is due to the fact that my table is declare in another folder.

May I need to do something special?


Many thanks,


Selverine

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
Show a field from many2many relationship in a tree view Diselesaikan
treeview tree many2many tree_view
Avatar
Avatar
Avatar
Avatar
4
Jun 25
12354
Open tree view by default in tree without view_mode form
tree tree_view
Avatar
Avatar
Avatar
2
Sep 21
12487
how to add a button/field on the header of "tree" view? Diselesaikan
treeview tree_view
Avatar
Avatar
Avatar
9
Mei 21
28135
Navigate to different form view from the tree view
treeview form tree form_view tree_view
Avatar
0
Jun 24
1783
display full name in tree view
treeview display tree tree_view treeviews
Avatar
0
Mei 22
1051
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