TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/product-variant · module folder · Try on Runboat
Module version
1.0.1
Category
Product
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
Yes
Website
https://github.com/OCA/product-variant
Last tracking update
2026-08-07 08:42:58
Authors
Odoo Community Association (OCA), Camptocamp SA
Maintainers
Odoo Community Association (OCA), Camptocamp SA
Committers
Weblate, OCA-git-bot, oca-ci, david-s73, Lukas Tran
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Allows to archive a product.attribute.value which is referenced by
archived product.product.

In std odoo, removing a product.attribute.value from a product.template
either leads to a product.product unlink or archive, depending on if the
variant is referenced on a sale.order.line or not. Then, if user tries
to remove the product.attribute.value from the product.attribute, he
will get an error because of the ondelete restrict on product.product.

Code Analysis info_outline

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • active Boolean
    default=True
Public methods (2)
  • create(self, values)
    @api.model_create_multi
  • unlink(self)

New fields (0)

No new fields.

Public methods (1)
  • write(self, values)

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…