Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.1.0
Category
Uncategorized
Folder size
0.05 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:42:54
Authors
ACSONE SA/NV, Odoo Community Association (OCA)
Maintainers
ACSONE SA/NV, Odoo Community Association (OCA)
Committers
Simone Orsi, Víctor Martínez, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
Adds a helper function \_get_price() on product.product to compute the
product price based on pricelist, fiscal position, company and date.

The method returns a dict such as:

``` python
{
    "value": 600.0,
    "tax_included": True,
    "discount": 20.0,
    "original_value": 750.0,
}
```

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 (0)

No public methods.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
9 days ago
Last activity
9 days ago
Repository
OCA/product-attribute
Pull request
[19.0][MIG] product_get_price_helper: Migration to 19.0 (#2375)