Account Fiscal Position Vies Warning
account_fiscal_position_vies_warning · OCA/account-fiscal-rule
Health
67/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
3 models
1 view
0 HTTP endpoints
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).
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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…
Loading…