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

[14.0][FIX] delivery_send_to_shipper_at_operation: Keep delivery_notification_sent set on backorder #782

Conversation

mt-software-de
Copy link
Contributor

@mt-software-de mt-software-de commented Mar 14, 2024

If a backorder is created out of a transfer which is marked as delivery_notification_sent = True.
The backorder should also be marked as delivery_notification_sent.

@jbaudoux @TDu

Depends on:
Fixing tests
#786

Copy link
Contributor

@jbaudoux jbaudoux left a comment

Choose a reason for hiding this comment

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

Why can't we simply revert this #720 ?

@mt-software-de
Copy link
Contributor Author

Why can't we simply revert this #720 ?

No it is fine to not copy the value, because move_dest_ids/move_orig_ids will also not copied from a move.
In a backorder case the move_orig_ids will be the same as in the new backorder

@jbaudoux
Copy link
Contributor

@mt-software-de I should have added a unittest for my fix #720. If you do a partial pack, then you don't want to keep delivery_notification_sent on the pack backorder.
So, it's a bit more complex...

@mt-software-de
Copy link
Contributor Author

@mt-software-de I should have added a unittest for my fix #720. If you do a partial pack, then you don't want to keep delivery_notification_sent on the pack backorder. So, it's a bit more complex...

For the pack operation backorder it is fine, to not set the delivery_notification_sent
therefore we need to remove

@mt-software-de mt-software-de force-pushed the 14-fix-delivery_send_to_shipper_at_operation-backorder branch 3 times, most recently from 57f8c4b to fdb7424 Compare March 18, 2024 23:51
@rousseldenis rousseldenis added this to the 14.0 milestone Mar 19, 2024
@mt-software-de mt-software-de force-pushed the 14-fix-delivery_send_to_shipper_at_operation-backorder branch 2 times, most recently from 78b5e82 to 116a601 Compare March 20, 2024 08:17
@mt-software-de mt-software-de force-pushed the 14-fix-delivery_send_to_shipper_at_operation-backorder branch from 116a601 to 7352e84 Compare April 10, 2024 15:03
@mt-software-de mt-software-de changed the title [FIX] delivery_send_to_shipper_at_operation: Keep delivery_notification_sent set on backorder [14.0][FIX] delivery_send_to_shipper_at_operation: Keep delivery_notification_sent set on backorder Apr 15, 2024
@mt-software-de mt-software-de force-pushed the 14-fix-delivery_send_to_shipper_at_operation-backorder branch 5 times, most recently from ef147b5 to 88e2ca4 Compare April 18, 2024 08:44
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 18, 2024
@github-actions github-actions bot closed this Sep 22, 2024
@jbaudoux jbaudoux reopened this Sep 22, 2024
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Sep 29, 2024
Copy link

github-actions bot commented Feb 2, 2025

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 2, 2025
@mt-software-de
Copy link
Contributor Author

@jbaudoux could you please add the label "no stale". This is waiting for #786 or #854.

@jbaudoux jbaudoux added no stale Use this label to prevent the automated stale action from closing this PR/Issue. and removed stale PR/Issue without recent activity, it'll be soon closed automatically. labels Feb 2, 2025
@mt-software-de mt-software-de force-pushed the 14-fix-delivery_send_to_shipper_at_operation-backorder branch from 0da4e3f to 77b5cae Compare February 5, 2025 13:13
Keep delivery_notification_sent set on backorder
@mt-software-de mt-software-de force-pushed the 14-fix-delivery_send_to_shipper_at_operation-backorder branch from 77b5cae to bc8193b Compare February 5, 2025 13:17
@mt-software-de
Copy link
Contributor Author

@jbaudoux could you please add the label "no stale". This is waiting for #786 or #854.

Since there is no real progress, i added the context value set_default_package from base_delivery_carrier_label, this ensures the tests are working. This could be undone when the mentioned PR's are done.

@jbaudoux @i-vyshnevska

@jbaudoux
Copy link
Contributor

jbaudoux commented Feb 5, 2025

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 14.0-ocabot-merge-pr-782-by-jbaudoux-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 77dd71e into OCA:14.0 Feb 5, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at aaee65a. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement merged 🎉 needs review no stale Use this label to prevent the automated stale action from closing this PR/Issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants