-
Notifications
You must be signed in to change notification settings - Fork 245
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
[FIX] fieldservice_agreement: FSM Location Agreement Bug #237
Conversation
@osi-scampbell I tried testing this, after creating the service location i go to sub locations and create a sub location, once i save i get this error: Please use the copy button to report the error to your support service. Odoo Server Error During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
@patrickrwilson just made an update, change self.serviceprofile_ids = ids on line 26 to loc.serviceprofile_ids = ids in fieldservice_agreement/models/fsm_location.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with the latest change and looks to be working correctly now.
This PR makes a small change to FSM Agreement to ensure that even if multiple records are passed into the method it can handle them appropriately.