Toggle navigation

Product - Cost Price Tax Included

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

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

Usage

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 to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • GRAP

Contributors

Maintainers

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:

legalsylvain

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.