odoo/industry#1796

Created by Tristan Cazier (trcaz)
Merged at 6b99e492849cfc5005e178c35888d5983c39473f

Statuses:

label
odoo-dev:19.0-construction_developer-margin-analysis-trcaz
head
20149676547ce9e268e8a07b235fcdfb80876de8
merged
4 days ago by Industry, Vallaeys Valentin (vava)
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