| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/19.0/account_fiscal_position_vies_warning |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Moduon |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Moduon |
| COMMITTERS | |
| COMMITTERS | Jairo Llopis, Weblate, OCA-git-bot, oca-ci, Emilio Pascual |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-fiscal-rule |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:40:46 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - contacts - base - base_setup - web - bus - web_tour - html_editor - base_vat - account - onboarding - product - uom - analytic - portal - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds a verification on `res.partner` and `account.move` models ensuring that Fiscal positions with check Show Vies Warning can only be assigned to partners who have successfully passed VIES validation (vies_valid = True). |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_position_form_inherit_vies_warning |
account.fiscal.position.form | account.fiscal.position | field | Inherits account.view_account_position_form |
is_show_vies_warning
Boolean
help='If this field is checked and the partner does not pass VIES validation, the partner record cannot be saved, and any invoices for this partner cannot be confirmed if this fiscal position is selected in the Partner form or on an Invoice'
args: 'Show Vies Warning'
is_visible_show_vies_warning
Boolean
compute='_compute_visible_vies_warning'
args: 'Visible Show Vies Warning'
raise_vies_warning(self, partner_name)
No new fields.
Public methods (1)action_post(self)
No new fields.
Public methods (1)check_fiscal_position_and_vies_valid(self)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-fiscal-rule |
| GIT | |
| GIT | https://github.com/OCA/account-fiscal-rule.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-fiscal-rule/tree/18.0/account_fiscal_position_vies_warning |
| VERSION | |
| VERSION | 1.0.2 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | LGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Moduon |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Moduon |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, Sabrina Martín, Andrii Kompaniiets |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-fiscal-rule |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:05 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - contacts - base - base_setup - web - bus - web_tour - html_editor - base_vat - account - onboarding - product - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module adds a verification on `res.partner` and `account.move` models ensuring that Fiscal positions with check Show Vies Warning can only be assigned to partners who have successfully passed VIES validation (vies_valid = True). |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_position_form_inherit_vies_warning |
account.fiscal.position.form | account.fiscal.position | field | Inherits account.view_account_position_form |
is_show_vies_warning
Boolean
help='If this field is checked and the partner does not pass VIES validation, the partner record cannot be saved, and any invoices for this partner cannot be confirmed if this fiscal position is selected in the Partner form or on an Invoice'
args: 'Show Vies Warning'
is_visible_show_vies_warning
Boolean
compute='_compute_visible_vies_warning'
args: 'Visible Show Vies Warning'
raise_vies_warning(self, partner_name)
No new fields.
Public methods (1)action_post(self)
No new fields.
Public methods (1)check_fiscal_position_and_vies_valid(self)