Module
sale_attached_product
Describe the bug
The domain of attached_product_ids contains ("id, "=", id) which compares the id of a product.template with the id of a product.product. It works as long as there are no product variants configured in the DB, but makes no sense to me otherwise.
To Reproduce
Affected versions: all
Steps to reproduce the behavior:
- Create a
product.template with several product variants.
- Create another
product.template.
- Go to the newest
product.template form view.
- Check the domain of
attached_product_ids. It does contain itself and does not contain a random other product.product (the one having the same id).
Expected behavior
Two options:
- Remove this domain of
attached_product_ids and see all product.products.
- Hide all the
product.products related to this product.template.
Additional context
See commit : 0b7d83f in PR : #3925
Module
sale_attached_product
Describe the bug
The domain of
attached_product_idscontains("id, "=", id)which compares the id of aproduct.templatewith the id of aproduct.product. It works as long as there are no product variants configured in the DB, but makes no sense to me otherwise.To Reproduce
Affected versions: all
Steps to reproduce the behavior:
product.templatewith several product variants.product.template.product.templateform view.attached_product_ids. It does contain itself and does not contain a random otherproduct.product(the one having the same id).Expected behavior
Two options:
attached_product_idsand see allproduct.products.product.products related to thisproduct.template.Additional context
See commit : 0b7d83f in PR : #3925