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.

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.

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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page