Skip to content
Snippets Groups Projects
Unverified Commit 4898dfea authored by Odoo's Mergebot's avatar Odoo's Mergebot Committed by GitHub
Browse files

[MERGE][FIX] product: make copy of variants just copy template


Variants are generated depending on the configuration of attributes
and values on the template, so copying them does not make sense.

For convenience the template is copied instead and its first variant is
returned.

closes #38151

closes odoo/odoo#38303

Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
parents cb6146c0 48ce2753
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment