Skip to content

Conversation

@ltinel
Copy link
Contributor

@ltinel ltinel commented Sep 19, 2024

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.

@robodoo
Copy link
Contributor

robodoo commented Sep 19, 2024

Pull request status dashboard

@C3POdoo C3POdoo added the RD research & development, internal work label Sep 19, 2024
…ee 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.
@ltinel ltinel force-pushed the master-fix-combo-item-deletion-loti branch from 32346fb to b0472f4 Compare September 19, 2024 09:37
@ltinel ltinel marked this pull request as ready for review September 19, 2024 09:39
@ltinel ltinel requested a review from Feyensv September 19, 2024 09:39
Copy link
Contributor

@Feyensv Feyensv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@robodoo delegate+ r+

@robodoo
Copy link
Contributor

robodoo commented Sep 19, 2024

@ltinel @Feyensv 'ci/runbot' failed on this reviewed PR.

robodoo pushed a commit that referenced this pull request Sep 19, 2024
…ee 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.

closes #180695

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
@robodoo robodoo closed this Sep 19, 2024
@robodoo robodoo added the 17.5 label Sep 19, 2024
@fw-bot fw-bot deleted the master-fix-combo-item-deletion-loti branch October 3, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

17.5 RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants