Skip to content

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

Open
fw-bot wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-19.0-construction_developer-margin-analysis-trcaz-512537-fw
Open

[IMP] construction{_developer}: add Sale Order margin analysis#1920
fw-bot wants to merge 1 commit intoodoo:masterfrom
odoo-dev:master-19.0-construction_developer-margin-analysis-trcaz-512537-fw

Conversation

@fw-bot
Copy link
Copy Markdown

@fw-bot fw-bot commented Mar 27, 2026

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

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Mar 27, 2026

Pull request status dashboard

@fw-bot
Copy link
Copy Markdown
Author

fw-bot commented Mar 27, 2026

@trcazier @vava-odoo cherrypicking of pull request #1796 failed.

stdout:

Auto-merging construction/data/product_product.xml
CONFLICT (content): Merge conflict in construction/data/product_product.xml
Auto-merging construction/demo/sale_order_spreadsheet.xml
CONFLICT (content): Merge conflict in construction/demo/sale_order_spreadsheet.xml

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

⚠️ after resolving this conflict, you will need to merge it via @robodoo.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

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

X-original-commit: 9d90989
@vava-odoo vava-odoo force-pushed the master-19.0-construction_developer-margin-analysis-trcaz-512537-fw branch from 15ab358 to ee89926 Compare March 27, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants