-
Notifications
You must be signed in to change notification settings - Fork 246
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
Scampbell notes #118
Scampbell notes #118
Conversation
fieldservice/models/fsm_order.py
Outdated
|
||
@api.onchange('template_id') | ||
def _onchange_template_id(self): | ||
if self.template_id: | ||
self.category_ids = self.template_id.category_ids | ||
self.scheduled_duration = self.template_id.hours | ||
self.description = self.template_id.instructions | ||
self.description += (self.template_id.instructions + '\n') |
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.
@osi-scampbell Instructions from the template should be copied in the todo
field of the order.
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.
...and the description should be a text field not a html field.
Copy notes from FSM Location and FSM Equipment when they are selected on a Service Order