Skip to main content

Product - Cost Price Tax Included

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.

https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form_without_module.png

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

https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/sale_order_form.png

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:

https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_pricelist_item_form.png

The new field is displayed on the product variant form:

https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_standard_price_tax_included/static/description/product_product_form.png

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.

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.

Metadata

Release files for odoo12-addon-product-standard-price-tax-included 12.0.1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo12-addon-product-standard-price-tax-included 12.0.1.0.2
File Interpreter ABI Platform
odoo12_addon_product_standard_price_tax_included-12.0.1.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo12_addon_product_standard_price_tax_included-12.0.1.0.2-py3-none-any.whl

Download URL odoo12_addon_product_standard_price_tax_included-12.0.1.0.2-py3-none-any.whl
Size 250.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
372a32697cf1725e02afa9d874e719dd23cc2bd53f0a9b2b163d7819968defc8
BLAKE2b-256 checksum
How to use checksums
f3162af584f093f254b4aae25bdb56086fbf481da9c32da0de5863404b831841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page