Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][FIX] mrp: write with multiple workorders in self #101750

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Sep 30, 2022

This PR #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)

Forward-Port-Of: #101706
Forward-Port-Of: #101580

This PR odoo#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)

X-original-commit: 26cb902
@robodoo robodoo added the forwardport This PR was created by @fw-bot label Sep 30, 2022
@robodoo
Copy link
Contributor

robodoo commented Sep 30, 2022

Pull request status dashboard

@fw-bot
Copy link
Contributor Author

fw-bot commented Sep 30, 2022

This PR targets saas-15.3 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@C3POdoo C3POdoo added the RD research & development, internal work label Sep 30, 2022
robodoo pushed a commit that referenced this pull request Sep 30, 2022
This PR #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 #101750

X-original-commit: 26cb902
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Guillaume Merlin (megu) <megu@odoo.com>
@robodoo robodoo temporarily deployed to merge September 30, 2022 15:32 Inactive
@robodoo robodoo closed this Sep 30, 2022
@fw-bot fw-bot deleted the saas-15.3-13.0-fix_workorder_ensure_one-megu-9O__-fw branch October 14, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants