odoo/odoo#180695
Created by Sales, Louis Tinel (loti)
Merged
at a803797e2873243200b4cf7542288ffd1df2e1ce
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:master-fix-combo-item-deletion-loti
- head
- b0472f4fdb2e52914c10a15c90dd7e198df1374c
- merged
- 1 year ago by Sales, Victor Feyens (vfe)
| odoo/odoo | |
|---|---|
| master | #180695 |
[FIX] loyalty,sale: fix combo item deletion and disallow combos as free products
Combo items were sometimes erroneously deleted. This was because we compared "real" records (saved in DB) with "virtual" records (not saved in DB). In some situations, the "virtual" records were simply wrappers around the "real" record, in which case they should be considered equal, but they weren't.
Combos need to be configured, so we can't allow them to be awarded as free products.