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
    • Artificial Intelligence
    • 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ó
    • Property Management
    • 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
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

ValueError: Expected singleton: res.partner() when I try to give Portal Access to a customer

Subscriure's

Get notified when there's activity on this post

This question has been flagged
portal
2 Respostes
2549 Vistes
Avatar
Compu-Go, Hugo

When I click the Grant Access button I get the following error, I can use the invoice urls for individual invoices but not to give my customer access to all their invoices:

-------------------------------------------------------------

Invalid Operation

Kan QWeb-sjabloon niet weergeven: <<< big block of HTML that looks like an email template for the invitation of my customer >>>

Traceback (most recent call last): File &#34;/home/odoo/src/odoo/19.0/odoo/orm/models.py&#34;, line 5931, in ensure_one _id, = self._ids ^^^^ ValueError: not enough values to unpack (expected 1, got 0) During handling of the above exception, another exception occurred: Traceback (most recent call last): File &#34;/home/odoo/src/odoo/19.0/addons/mail/models/mail_render_mixin.py&#34;, line 367, in _render_template_qweb render_result = self.env[&#39;ir.qweb&#39;]._render( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File &#34;/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_qweb.py&#34;, line 725, in _render return Markup(&#39;&#39;.join(iterator)) ^^^^^^^^^^^^^^^^^ File &#34;/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_qweb.py&#34;, line 753, in _render_iterall for item in frame.iterator: File &#34;&lt;None&gt;&#34;, line 276, in template_etree_9 File &#34;&lt;None&gt;&#34;, line 121, in template_etree_9_content File &#34;/home/odoo/src/odoo/19.0/addons/auth_signup/models/res_partner.py&#34;, line 30, in _get_signup_url self.ensure_one() File &#34;/home/odoo/src/odoo/19.0/odoo/orm/models.py&#34;, line 5934, in ensure_one raise ValueError(&#34;Expected singleton: %s&#34; % self) ValueError: Expected singleton: res.partner() )

0
Avatar
Descartar
Kunjan Patel

Hello,
The fix (PR #189666) is not yet deployed to Odoo Online/SaaS - contact Odoo Support or grant portal access one customer at a time until they roll out the update.

Avatar
Kunjan Patel
Best Answer

Hello Hugo,
I hope you are doing well

Pull latest Odoo 19 code (git pull origin 19.0) - PR #189666 fixes the auth_signup singleton error causing bulk "Grant Access" to fail.

I hope this information helps you

Thanks & Regards,
Kunjan Patel

1
Avatar
Descartar
Compu-Go, Hugo
Autor

Is this also for the on-line version of Odoo?

On the about page I can see this: Odoo 19.0+e (Enterprise Edition)

I'm still getting that error.

Avatar
Compu-Go, Hugo
Autor Best Answer

I fixed it by add the Accounting app so I now have both invoicing and accounting. As they are linked apps I could switch back to the free version.

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
Trying to replace default “Invoices & Bills” breadcrumb in Odoo portal
portal
Avatar
Avatar
1
de nov. 25
1955
Dynamically update cart icon after adding products from a reorder popup in Custom Odoo portal
portal
Avatar
Avatar
1
de nov. 25
1849
is possible to add 2 filters to the web portal similar to searchbar_filters?
portal
Avatar
Avatar
Avatar
2
de jul. 25
3523
How can I allow one portal user to see another portal user's information (like Sales Orders, Invoices)? Solved
portal
Avatar
Avatar
1
de maig 24
5320
Use worksheets in Odoo Portal
portal
Avatar
Avatar
2
de febr. 24
4253
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 Svenska ภาษาไทย 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