TIP: You can type at any time to perform a new search.
Account Fiscal Position Vies Warning
account_fiscal_position_vies_warning · OCA/account-fiscal-rule
- Repository
- OCA/account-fiscal-rule · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Accounting
- Folder size
- 0.06 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/account-fiscal-rule
- Last tracking update
- 2026-08-07 09:06:36
- Authors
- Odoo Community Association (OCA), Moduon
- Maintainers
- Odoo Community Association (OCA), Moduon
- Committers
- Jairo Llopis, Emilio Pascual, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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).
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_account_position_form_inherit_vies_warning |
account.fiscal.position.form | account.fiscal.position | form | Inherits account.view_account_position_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (2)
-
is_show_vies_warningBooleanhelp='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_warningBooleancompute='_compute_visible_vies_warning' args: 'Visible Show Vies Warning'
-
raise_vies_warning(self, partner_name)
New fields (0)
No new fields.
Public methods (1)-
action_post(self)
New fields (0)
No new fields.
Public methods (1)-
check_fiscal_position_and_vies_valid(self)@api.constrains('property_account_position_id')
Loading…