Skip to content

[16.0][IMP] stock_location_orderpoint: Cancel fulfilled replenishment moves - #91

Open
lmignon wants to merge 2 commits into
OCA:16.0from
acsone:16.0-stock_location_orderpoint-auto_cancel-lmi
Open

[16.0][IMP] stock_location_orderpoint: Cancel fulfilled replenishment moves#91
lmignon wants to merge 2 commits into
OCA:16.0from
acsone:16.0-stock_location_orderpoint-auto_cancel-lmi

Conversation

@lmignon

@lmignon lmignon commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

when demand becomes zero, and re-run replenishment for the impacted products.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @mt-software-de,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added mod:stock_location_orderpoint Module stock_location_orderpoint series:16.0 labels Jul 23, 2026
@lmignon
lmignon force-pushed the 16.0-stock_location_orderpoint-auto_cancel-lmi branch 2 times, most recently from 23d55d3 to 06fd965 Compare July 23, 2026 10:05
Comment on lines +851 to +856
return [
("location_orderpoint_id", "=", self.id),
("product_id", "in", products.ids),
("picking_id.printed", "=", False),
("state", "not in", ("done", "cancel")),
]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jbaudoux To be discussed.... could be

 [
            ("location_orderpoint_id", "=", self.id),
            ("product_id", "in", products.ids),
            ("state", "not in", ("assigned", "done", "cancel")),
        ]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🤔

@OCA-git-bot OCA-git-bot added the mod:stock_location_orderpoint_cleanup Module stock_location_orderpoint_cleanup label Jul 23, 2026
@lmignon
lmignon force-pushed the 16.0-stock_location_orderpoint-auto_cancel-lmi branch from f08e1b5 to 7642cae Compare July 23, 2026 14:58
@lmignon
lmignon marked this pull request as draft July 24, 2026 06:16
@lmignon
lmignon force-pushed the 16.0-stock_location_orderpoint-auto_cancel-lmi branch 2 times, most recently from 9f4fbea to 2c0ec58 Compare July 24, 2026 11:24
@lmignon
lmignon marked this pull request as ready for review July 24, 2026 12:08
lmignon added 2 commits July 27, 2026 08:54
when demand becomes zero, and re-run replenishment for the impacted products.
@lmignon
lmignon force-pushed the 16.0-stock_location_orderpoint-auto_cancel-lmi branch from 2c0ec58 to 5060940 Compare July 27, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:stock_location_orderpoint_cleanup Module stock_location_orderpoint_cleanup mod:stock_location_orderpoint Module stock_location_orderpoint series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants