odoo/industry#1796

Created by Tristan Cazier (trcaz)

Blocked

label
odoo-dev:19.0-construction_developer-margin-analysis-trcaz
head
dba17128683b1d1b15aa636dd17ea82e24e02bd6
odoo/industry
19.0 #1796 missing statuses missing r+
saas-19.1
saas-19.2
master

[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