odoo/industry#1920

Created by fw-bot

Blocked

label
odoo-dev:master-19.0-construction_developer-margin-analysis-trcaz-512537-fw
head
ee89926be223d6200dc2a7087a694339421c9e70
odoo/industry
19.0 #1796
saas-19.1 #1908
saas-19.2 #1914
master #1920 missing statuses missing r+

[IMP] construction{_developer}: add Sale Order margin analysis

This commit adds a new view to compute the margin of products/work items/sale order lines on projects and sale orders using an SQL view through a server action.
This commit also heavily reworks the demo data by creating the SOLs from the template instead of copying every single line, which automatically links the SO and the project together.

task-5194350

Forward-Port-Of: #1914
Forward-Port-Of: #1796