OdooWiki OCA HUB

Pos Partner Vat Valid

pos_partner_vat_valid folder_open OCA/pos open_in_new
Point Of Sale License: AGPL-3

This module validate vat field on POS partner view.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

When a cashier creates or edits a customer in the Point of Sale, the Tax ID (VAT) is checked against the selected country before the customer is saved. If the number does not match, an error popup appears and the change is not saved.

This module adds a validation step to the customer form inside the Point of Sale. When a cashier fills in a Tax ID and a country for a customer and presses save, Odoo first verifies that the Tax ID is valid for that country.

  • The check runs on the res.partner model through a new vat_check method, which uses the country code and the standard VAT validation logic from the base_vat module.
  • The Point of Sale customer editor screen is extended so that saving is intercepted: if both a Tax ID and a country are present, the check is called before the record is written.
  • If the Tax ID is not valid, an error popup titled "Tax ID Verification Failed" with the message "The Tax ID is not valid" is shown, and the customer is not saved.
  • If the Tax ID is valid, or if no Tax ID or no country was entered, saving continues as usual.

The module depends on point_of_sale and base_vat, and it only affects the Point of Sale customer screen and the res.partner model. No new menus, reports or scheduled actions are added.

Depends on

point_of_salebase_vat
Models and fields (1)
  • res.partner · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.