Tax Display Toggle - Incl./Excl. VAT
by Modvanta https://modvantaapps.tech/odoo-apps/tax-display-toggle/$ 4.99

Let shoppers switch prices between inc. VAT and ex. VAT
One click above the product grid switches every storefront price - shop grid, product page and cart - between tax-inclusive and tax-exclusive. Business buyers see net prices, consumers see gross prices, on the same shop.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Odoo eCommerce shows prices either with tax or without tax, for every visitor of a website. Shops that sell to both consumers and businesses in the UK and the EU have to pick one, and half of their customers do the maths themselves.
This module adds an Incl. VAT / Excl. VAT switch above the product grid. The choice applies to the shop grid, the product page and the cart lines. Guests keep their choice for their visit; signed-in customers keep it on their account.
You choose the default a first-time visitor sees, the labels of the two buttons, and whether shoppers may switch at all - turn the toggle off to fix the display to the default. When installed, the shop's existing tax display setting is kept as the default.
Who it is for
B2B and B2C shops Businesses compare net prices, consumers want the price they pay. | UK and EU stores Inc. VAT and ex. VAT display as customers expect it. | Wholesalers with a public shop Net prices for trade buyers without a separate website. |
Key features
All screenshots were taken on Odoo 19 with this module on a clean demo database with the default website theme (company Northwind Trading Co, a guest shopper on the Benelux pricelist, products with a 15% sales tax).
Feature 1
Settings per website
Website -> Configuration -> Settings -> Tax Display Toggle: switch it on, allow shoppers to toggle, the default display, and the two button labels.

Feature 2
Prices including VAT
With Incl. VAT selected, the grid showed the Customizable Desk at 776.25.

Feature 3
One click to excluding VAT
After clicking Excl. VAT the same grid showed 675.00, the price before the 15% tax.

Feature 4
The product page follows
The choice is remembered: the product page of the Cabinet with Doors showed 126.00 excluding VAT.

Feature 5
The cart follows too
Cart lines showed 126.00 and 99.45 excluding VAT.

Feature 6
Back to including VAT
Switching back to Incl. VAT showed the same cart lines at 144.90 and 114.37.

How it works, step by step
| 1 | Install the module It depends on Odoo eCommerce only. |
| 2 | Set the default and labels Website -> Configuration -> Settings -> Tax Display Toggle. |
| 3 | Shoppers choose Incl. VAT or Excl. VAT above the product grid. |
| 4 | Prices follow everywhere Grid, product page and cart show the chosen display. |
Settings
Settings are per website.
| Enable Tax Display Toggle | Show the inc./ex. VAT switch on the shop. |
| Allow Shopper Toggle | Let visitors switch; turn off to fix the display to the default. |
| Default Tax Display | What a first-time visitor sees: Tax Included or Tax Excluded. |
| Tax Included Label / Tax Excluded Label | The button texts, for example Incl. VAT and Excl. VAT, translatable. |
Frequently asked questions
Does it change the price the customer pays?
No. Only how prices are displayed changes; taxes are calculated as before.
Is the choice remembered?
Yes. Guests keep it for their session; signed-in customers keep it on their account across devices.
Where does the switch appear?
Above the product grid of the shop.
What happens to my current setting when I install it?
The shop's existing tax display setting is kept as the default.
Compatibility
Odoo 19 Community and Enterprise | Depends on eCommerce | Tested 8 automated tests |
Show every customer the price they think in
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 297 |
| Technical Name |
mdv_tax_display_toggle |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/tax-display-toggle/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module