Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Done by RHT on the 10/01/2024
- # Reviewed by KHBA on the 05/02/2024
- # 911 task: https://www.odoo.com/web#id=3644910&cids=1&model=project.task&view_type=form
- # Review:
- # Business need: have a concatenate of all information about point A
- # Video: #N/A
- for circuit in self:
- text = ""
- if circuit.x_studio_point_a_mh:
- text += "Point A: " + circuit.x_studio_point_a_mh + "\n"
- if circuit.x_studio_point_a_full_name:
- text += "Point A - full name: " + str(circuit.x_studio_point_a_full_name) + "\n"
- if circuit.x_studio_point_a_gps_coordinates:
- text += "Point A - GPS coordinates: " + str(circuit.x_studio_point_a_gps_coordinates) + "\n"
- if circuit.x_studio_point_a_termination_type:
- text += "Point A - termination type: " + str(circuit.x_studio_point_a_termination_type)
- circuit['x_studio_point_a'] = text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement