Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Error after changing some fields in 'my details' page.

Subscriure's

Get notified when there's activity on this post

This question has been flagged
portalwebsite
1 Respondre
2895 Vistes
Avatar
Alberto Rubio
As the title said. I left my traceback below.
It looks like overwriting portal.portal_my_details something crashed.
The error occured while rendering the template portal.frontend_layout and evaluating the following expression: t t-set="x_icon" t-value="'/web/image/website/%s/favicon/' % website.id"


Thanks in advance for any reponse.


Traceback (most recent call last): File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn return compiled(self, append, new, options, log) File "", line 1, in template_portal_frontend_layout_371 File "", line 1, in body_call_content_370 AttributeError: 'str' object has no attribute 'id' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/ir_http.py", line 208, in _dispatch result = request.dispatch() File "/home/arubioh/Odoo/12.0/odoo/http.py", line 835, in dispatch r = self._call_function(**self.params) File "/home/arubioh/Odoo/12.0/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/arubioh/Odoo/12.0/odoo/service/model.py", line 98, in wrapper return f(dbname, *args, **kwargs) File "/home/arubioh/Odoo/12.0/odoo/http.py", line 342, in checked_call result.flatten() File "/home/arubioh/Odoo/12.0/odoo/http.py", line 1270, in flatten self.response.append(self.render()) File "/home/arubioh/Odoo/12.0/odoo/http.py", line 1263, in render return env["ir.ui.view"].render_template(self.template, self.qcontext) File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/ir_ui_view.py", line 1338, in render_template return self.browse(self.get_view_id(template)).render(values, engine) File "/home/arubioh/Liberexpress/odoo/addons/website/models/ir_ui_view.py", line 322, in render return super(View, self).render(values, engine=engine, minimal_qcontext=minimal_qcontext) File "/home/arubioh/Liberexpress/odoo/addons/web_editor/models/ir_ui_view.py", line 29, in render return super(IrUiView, self).render(values=values, engine=engine, minimal_qcontext=minimal_qcontext) File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/ir_ui_view.py", line 1347, in render return self.env[engine].render(self.id, qcontext) File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/ir_qweb.py", line 59, in render result = super(IrQWeb, self).render(id_or_xml_id, values=values, **context) File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 275, in render self.compile(template, options)(self, body.append, values or {}) File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 350, in _compiled_fn raise e File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn return compiled(self, append, new, options, log) File "", line 1, in template_347_293 File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 350, in _compiled_fn raise e File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn return compiled(self, append, new, options, log) File "", line 1, in template_portal_portal_layout_315 File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 355, in _compiled_fn raise QWebException("Error to render compiling AST", e, path, node and etree.tostring(node[0], encoding='unicode'), name) odoo.addons.base.models.qweb.QWebException: 'str' object has no attribute 'id' Traceback (most recent call last): File "/home/arubioh/Odoo/12.0/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn return compiled(self, append, new, options, log) File "", line 1, in template_portal_frontend_layout_371 File "", line 1, in body_call_content_370 AttributeError: 'str' object has no attribute 'id' Error to render compiling AST AttributeError: 'str' object has no attribute 'id' Template: portal.frontend_layout Path: /templates/t/t/t[4] Node:


0
Avatar
Descartar
Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hello Alberto Rubio,

The above error was encountered because you are trying to access the id from the object website and the website type is a string. You can not access the id from the string.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
website.menu access rights for dedicated groups
portal website odoo17
Avatar
0
de febr. 25
2250
Make an extranet in Odoo, with content, shop, portal... all only visible to customers who are logged in
portal website v17
Avatar
0
de set. 24
2093
Portal saves multiple inputs from dynamically generated list
portal input website
Avatar
0
de des. 23
2186
website account details on portal_my_details
portal required website
Avatar
Avatar
2
d’ag. 22
4166
OVERWRITE MY ACCOUNT PORTAL Solved
portal website v14
Avatar
Avatar
Avatar
2
de març 22
5173
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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