Repository
OCA/margin-analysis · module folder · Try on Runboat
Module version
1.0.0
Category
Sales
Folder size
0.03 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/margin-analysis
Last tracking update
2026-08-07 08:42:57
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Carlos Lopez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Recompute sale margin when related stock move cost price is changed.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (3)
  • create(self, vals_list)
    @api.model_create_multi
    Update purchase price from sale line linked to svl record
  • sale_margin_sync(self)
    Only synchronize outgoing moves
  • write(self, vals)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
545 days ago
Last activity
0 days ago
Repository
OCA/margin-analysis
Pull request
[17.0][MIG] sale_margin_sync: Migration to 17.0 (#241)
Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
2 days ago
Last activity
2 days ago
Repository
OCA/margin-analysis
Pull request
[19.0][MIG] sale_margin_sync: Migration to 19.0 (#279)