Skip to content

[16.0] product_variant_default_code: changing a translation of an attribute cause recursion issue #416

@flotho

Description

@flotho

Module

product_variant_default_code

Describe the bug

While trying to change a translation on an attribute, Odoo fall into a recursion issue on this line https://github.com/OCA/product-variant/blob/16.0/product_variant_default_code/models/product.py#L188

To Reproduce

Affected versions: 16.0 not tested on upper versions

Steps to reproduce the behavior:

  1. install english and another language
  2. install the module
  3. create a product that generate default code
  4. change a translation of an attribute used in the product

Expected behavior

No recursivity issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions