You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to do something like
client.env['product.product'].create(values) where values is a list of dicts like [{'name': 'AAA'}, {'name': 'BBB'}]
I was expecting to be able to make it work but I see the create method is expecting only a dict, and not a list of dict. Speccially the method _unbrowse_values.
Any idea on how can I use create multi?
The text was updated successfully, but these errors were encountered:
I am trying to do something like
client.env['product.product'].create(values) where values is a list of dicts like [{'name': 'AAA'}, {'name': 'BBB'}]
I was expecting to be able to make it work but I see the create method is expecting only a dict, and not a list of dict. Speccially the method
_unbrowse_values
.Any idea on how can I use create multi?
The text was updated successfully, but these errors were encountered: