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 "/home/odoo/src/odoo/19.0/odoo/orm/models.py", 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 "/home/odoo/src/odoo/19.0/addons/mail/models/mail_render_mixin.py", line 367, in _render_template_qweb render_result = self.env['ir.qweb']._render( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_qweb.py", line 725, in _render return Markup(''.join(iterator)) ^^^^^^^^^^^^^^^^^ File "/home/odoo/src/odoo/19.0/odoo/addons/base/models/ir_qweb.py", line 753, in _render_iterall for item in frame.iterator: File "<None>", line 276, in template_etree_9 File "<None>", line 121, in template_etree_9_content File "/home/odoo/src/odoo/19.0/addons/auth_signup/models/res_partner.py", line 30, in _get_signup_url self.ensure_one() File "/home/odoo/src/odoo/19.0/odoo/orm/models.py", line 5934, in ensure_one raise ValueError("Expected singleton: %s" % self) ValueError: Expected singleton: res.partner() )