Skip to main content

Brings a Cost Price Field Tax Included on Product Model

Project description

Beta License: AGPL-3 OCA/product-attribute Translate me on Weblate Try me on Runbot

this module extend Odoo Sale module to handle correctly the possibility to create and use pricelist based on the cost Price, if you are in a B2C configuration (VAT set with ‘Price Tax inlude’).

If you have don’t use VAT price tax Included, this module is useless.

Typical Use Case

You have a product : - Cost : 10€ (Vat Excl) - Sale Price (Vat incl) : 20€ - VAT : 20% (Price with Tax included)

You have a marginless pricelist based on the cost

Without this module, if you create a sale order, the price will be bad, and you will sale under your cost price.

With this module installed, the price will be good and you will not loose the vat amount, when you realize this sale:

Technical information

This module fixes the problem,

  • adding a new computed field ‘Cost Price Tax Included’ (standard_price_tax_included) on Product Product model, based on Cost Price Field and Sale Taxes Setting.

  • adding a new key standard_price_tax_included on the field base of the model product.pricelist.item.

Table of contents


User can now set Price List based on this field:

The new field is displayed on the product variant form:

In this exemple, if cost is 10€ (Vat Excl), when we’ll use in a sale order this product, with the pricelist based on cost (vat incl), the computation of the price will be good.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • GRAP



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:


This module is part of the OCA/product-attribute project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page