Skip to content

Error while trying to use create multi with products #20

@hd24-rmenendez

Description

@hd24-rmenendez

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions