Account Fiscal Position VAT Check

account_fiscal_position_vat_check
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/19.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Ryan Tran
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
With this module, when a user tries to validate a customer invoice or
refund with a fiscal position that requires VAT, Odoo blocks the
validation of the invoice if the customer doesn't have a VAT number in
Odoo.

![Block on invoice validation if partner's VAT is missing](static/description/vat_check_invoice_validation.png)

In the European Union (EU), when an EU company sends an invoice to
another EU company in another country, it can invoice without VAT (most
of the time) but the VAT number of the customer must be displayed on the
invoice.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
view_partner_property_form res.partner div Inherits account.view_partner_property_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • show_warning_vat_required Boolean
    compute='_compute_show_warning_vat_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/18.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:07
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
With this module, when a user tries to validate a customer invoice or
refund with a fiscal position that requires VAT, Odoo blocks the
validation of the invoice if the customer doesn't have a VAT number in
Odoo.

![Block on invoice validation if partner's VAT is missing](static/description/vat_check_invoice_validation.png)

In the European Union (EU), when an EU company sends an invoice to
another EU company in another country, it can invoice without VAT (most
of the time) but the VAT number of the customer must be displayed on the
invoice.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
view_partner_property_form res.partner div Inherits account.view_partner_property_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • show_warning_vat_required Boolean
    compute='_compute_show_warning_vat_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/16.0/account_fiscal_position_vat_check
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci, syera bonneaux
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
view_partner_property_form res.partner div Inherits account.view_partner_property_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • show_warning_vat_required Boolean
    compute='_compute_show_warning_vat_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/15.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Eduardo De Miguel
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:34
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
view_partner_property_form res.partner div Inherits account.view_partner_property_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • show_warning_vat_required Boolean
    compute='_compute_show_warning_vat_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/14.0/account_fiscal_position_vat_check
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
view_partner_property_form res.partner div Inherits account.view_partner_property_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • show_warning_vat_required Boolean
    compute='_compute_show_warning_vat_required'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/12.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-financial-tools
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:18
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_move_create(self)
    @api.multi
    Check that the customer has VAT set if required by the fiscal position

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self)
    @api.onchange('property_account_position_id')
    Warning if the fiscal position requires a VAT number and the partner doesn't have one yet
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/11.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Raf Ven
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_move_create(self)
    @api.multi
    Check that the customer has VAT set if required by the fiscal position

New fields (0)

No new fields.

Public methods (1)
  • onchange_fiscal_position(self)
    @api.onchange('property_account_position_id')
    Warning if the fiscal position requires a VAT number and the partner doesn't have one yet
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/10.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • action_move_create(self)
    @api.multi
    Check that the customer has VAT set if required by the fiscal position

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self)
    @api.onchange('property_account_position_id')
    Warning if the fiscal position requires a VAT number and the partner doesn't have one yet
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/9.0/account_fiscal_position_vat_check
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSPedro M. Baeza, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
Models touched (3)

New fields (1)
  • customer_must_have_vat Boolean
    help='If enabled, Odoo will check that the customer has a VAT number when the user validates a customer invoice/refund.' string='Customer Must Have VAT number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_move_create(self)
    @api.multi
    Check that the customer has VAT set if required by the fiscal position

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self)
    @api.onchange('property_account_position_id')
    Warning if the fiscal position requires a VAT number and the partner doesn't have one yet
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/8.0/account_fiscal_position_vat_check
VERSION
VERSION 0.1.2
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Yannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Leonardo Pistone, Pedro M. Baeza, Nicolas Bessi, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
Models touched (3)

New fields (1)
  • customer_must_have_vat Boolean
    help='If enabled, Odoo will check that the customer has a VAT number when the user validates a customer invoice/refund.' string='Customer Must Have VAT number'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_move_create(self)
    @api.multi
    Check that the customer has VAT set if required by the fiscal position

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self)
    @api.onchange('property_account_position')
    Warning if the fiscal position requires a VAT number and the partner doesn't have one yet
REPOSITORY
REPOSITORYOCA/account-financial-tools
GIT
GIThttps://github.com/OCA/account-financial-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-financial-tools/tree/7.0/account_fiscal_position_vat_check
VERSION
VERSION 0.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexandre Fayolle, Raphaël Valyi, Nicolas Bessi, Launchpad Translations on behalf of account-core-editors, OCA Transbot, Rudolf Schnapka
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Check that the Customer has a VAT number on invoice validation
==============================================================

This module adds an option **Customer must have VAT** on fiscal positions.
When a user tries to validate a customer invoice or refund
with a fiscal position
that have this option, OpenERP will check that the customer has a VAT number.

If it doesn't, OpenERP will block the validation of the invoice
and display an error message.

In the European Union (EU), when an EU company sends an invoice to
another EU company in another country,

it can invoice without VAT (most of the time) but the VAT number of the
customer must be displayed on the invoice.

This module also displays a warning when a user sets
a fiscal position with the option

**Customer must have VAT**

 on a customer and this customer doesn't have a VAT number in OpenERP yet.

Please contact Alexis de Lattre from Akretion <alexis.delattre@akretion.com>
 for any help or question about this module.
    

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_account_position_form customer.must.have.vat.fiscal_position_form account.fiscal.position field Inherits account.view_account_position_form
view_account_position_tree customer.must.have.vat.fiscal_position_tree account.fiscal.position field Inherits account.view_account_position_tree
view_partner_property_form customer.must.have.vat.fiscal_position_form res.partner field Inherits account.view_partner_property_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_move_create(self, cr, uid, ids, context=None)
    Check that the customer has VAT set if required by the fiscal position

New fields (0)

No new fields.

Public methods (1)
  • fiscal_position_change(self, cr, uid, ids, account_position, vat, customer)
    Warning is the fiscal position requires a vat number and the partner doesn't have one yet