odoo/industry#1908

Created by fw-bot
Merged at 1c9ae3417cd23fd2c4ceddedf14f95810c29a016

Statuses:

label
odoo-dev:saas-19.1-19.0-construction_developer-margin-analysis-trcaz-504458-fw
head
c9b78baa8aa9cec31b73e7d2f7b8e5cedb12ea13
merged
2 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: #1796