odoo/industry#1914

Created by fw-bot
Merged at 9d90989884ef160ee45329bc4e754af1edf9cc90

Statuses:

label
odoo-dev:saas-19.2-19.0-construction_developer-margin-analysis-trcaz-512028-fw
head
f2d85a70b078091a8fd5b426c8b6498296ffe62e
merged
3 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

Forward-Port-Of: #1908
Forward-Port-Of: #1796