Skip to content
Snippets Groups Projects
Commit f6a66d7a authored by MerlinGuillaume's avatar MerlinGuillaume
Browse files

[FIX] mrp: write with multiple workorders in self

This PR https://github.com/odoo/odoo/pull/97805

 wrongly assumed that
self contained a single workorder. This would raise an error if there
were multiple records in self.

Solution:
Modify calls on `self` to `workorder` (as we already iterate through
them)

closes odoo/odoo#101580

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent 2f1d8d6d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment