Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

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

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

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

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
treeviewtreetree_view
1 Atsakyti
4686 Rodiniai
Portretas
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
Portretas
Atmesti
Portretas
Selverine
Autorius Best Answer

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
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registracija
Related Posts Replies Rodiniai Veikla
Show a field from many2many relationship in a tree view Solved
treeview tree many2many tree_view
Portretas
Portretas
Portretas
Portretas
4
birž. 25
12396
Open tree view by default in tree without view_mode form
tree tree_view
Portretas
Portretas
Portretas
2
rugs. 21
12522
how to add a button/field on the header of "tree" view? Solved
treeview tree_view
Portretas
Portretas
Portretas
9
geg. 21
28166
Navigate to different form view from the tree view
treeview form tree form_view tree_view
Portretas
0
birž. 24
1808
display full name in tree view
treeview display tree tree_view treeviews
Portretas
0
geg. 22
1051
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة 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 yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

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