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
- # Review:
- # 911 task: https://www.odoo.com/web#id=3644910&cids=1&model=project.task&view_type=form
- # Business need: have a cocnatenate of all information about point B
- # Video: #N/A
- for circuit in self:
- text = ""
- if circuit.x_studio_point_b_mh:
- text += "Point B: " + circuit.x_studio_point_b_mh + "\n"
- if circuit.x_studio_point_b_full_name:
- text += "Point B - full name: " + circuit.x_studio_point_b_full_name + "\n"
- if circuit.x_studio_point_b_gps_coordinates:
- text +="Point B - GPS coordinates:" + circuit.x_studio_point_b_gps_coordinates + "\n"
- if circuit.x_studio_point_b_termination_type:
- text += "Point B - termination type: " + circuit.x_studio_point_b_termination_type
- circuit['x_studio_point_b'] = text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement