Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] point_of_sale: Ensure order exists before reading state in refund #162943

Closed
wants to merge 1 commit into from

Conversation

pedrambiria
Copy link
Contributor

Prior to this commit, there were scenarios where sync orders did not contain an order, leading to a failure when reading its state. This commit introduces a check to ensure the order exists in sync before its state is read, thereby preventing this error.

opw-3856451


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Prior to this commit, there were scenarios where sync orders did not
contain an order, leading to a failure when reading its state. This
commit introduces a check to ensure the order exists in sync before its
state is read, thereby preventing this error.

opw-3856451
@robodoo
Copy link
Contributor

robodoo commented Apr 23, 2024

Pull request status dashboard.

@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Apr 23, 2024
@C3POdoo C3POdoo requested review from a team and caburj and removed request for a team April 23, 2024 08:00
@caburj
Copy link
Contributor

caburj commented Apr 23, 2024

robodoo r+

@robodoo robodoo closed this in dcdef39 Apr 23, 2024
willylohws pushed a commit to willylohws/odoo that referenced this pull request May 1, 2024
Prior to this commit, there were scenarios where sync orders did not
contain an order, leading to a failure when reading its state. This
commit introduces a check to ensure the order exists in sync before its
state is read, thereby preventing this error.

opw-3856451

closes odoo#162943

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
@fw-bot fw-bot deleted the 17.0-pos-opw-3856451-pebr branch May 7, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants