Skip to content

[16.0][OU-FIX] purchase_requisition: Proper order group creation (and global) + no delete#5312

Merged
pedrobaeza merged 1 commit intoOCA:16.0from
Tecnativa:16.0-ou_fix-purchase_requisition
Aug 15, 2025
Merged

[16.0][OU-FIX] purchase_requisition: Proper order group creation (and global) + no delete#5312
pedrobaeza merged 1 commit intoOCA:16.0from
Tecnativa:16.0-ou_fix-purchase_requisition

Conversation

@pedrobaeza
Copy link
Copy Markdown
Member

The PO groups weren't created properly before, so the new query is doing the correct job, and doing it for all the requisitions, not only those of one type.

The previous code was also deleting all the requisitions of a deleted type, but doing that, apart from being partial, it's counter-productive, requiring a lot of work with no benefit, so let's keep them.

@Tecnativa

…l) + no delete

The PO groups weren't created properly before, so the new query is
doing the correct job, and doing it for all the requisitions, not only
those of one type.

The previous code was also deleting all the requisitions of a deleted
type, but doing that, apart from being partial, it's counter-productive,
requiring a lot of work with no benefit, so let's keep them.
@pedrobaeza pedrobaeza added this to the 16.0 milestone Aug 14, 2025
@pedrobaeza
Copy link
Copy Markdown
Member Author

Tested and working.

@pedrobaeza pedrobaeza merged commit 4af8572 into OCA:16.0 Aug 15, 2025
2 checks passed
@pedrobaeza pedrobaeza deleted the 16.0-ou_fix-purchase_requisition branch August 15, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant