-
-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
Description
After upgrade to Odoo 18.3, this code does not work anymore:
OdooPartner = odoo.env["res.partner"]
odoo_partners = OdooPartner.browse(partners.values_list("odoo_partner_id", flat=True))Essentially the argument is a list of integers.
The error returned by Odoo:
odoorpc.error.RPCError: Expected singleton: res.partner(312, 77, 300, 318, 296, 65, 303, 107, 99, 108, 104, 115, 81, 64, 305, 247, 248, 210, 134, 91, 89, 179, 20, 320, 242, 299, 184, 126, 246, 256, 201, 169, 21, 251, 125, 86, 79, 122, 159, 114, 313, 98, 75, 109)
Reactions are currently unavailable