You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Impacted versions:
14.0
Steps to reproduce:
Delete the column purchase_order.picking_count in a database with 20k plus purchase orders
Current behavior:
New field is created and compute is called on each PO. The method iterates over each line item in a PO, selects all of the moves, then groups them by picking id
Expected behavior:
Suggestion: Wouldn't it be immensely easier/more efficient to just have a column purchase_id on stock.picking? Looping through all po lines and associated move lines is a very bad solution to calculate a parent field value.
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered:
Impacted versions:
14.0
Steps to reproduce:
Delete the column purchase_order.picking_count in a database with 20k plus purchase orders
Current behavior:
New field is created and compute is called on each PO. The method iterates over each line item in a PO, selects all of the moves, then groups them by picking id
Expected behavior:
Suggestion: Wouldn't it be immensely easier/more efficient to just have a column purchase_id on stock.picking? Looping through all po lines and associated move lines is a very bad solution to calculate a parent field value.
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
The text was updated successfully, but these errors were encountered: