Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to use create multi with products #20

Open
hd24-rmenendez opened this issue Jul 14, 2024 · 0 comments
Open

Error while trying to use create multi with products #20

hd24-rmenendez opened this issue Jul 14, 2024 · 0 comments

Comments

@hd24-rmenendez
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant