Skip to content

Conversation

AungKoKoLin1997
Copy link
Contributor

Forward port of #2312.

@qrtl

Previously, when there were hundreds of quants assigned to a stock move, it
would take a very long time for assign_quants() to complete, as the system
would try to reassign all selected quants.

This commit mitigates the issue by identifying only the necessary changes —
specifically, the move lines to be unlinked and the quant lines to be
assigned — so that updates are made only to those records.

Co-Authored-By: Yoshi Tashiro <[email protected]>
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