Prorrata de IVA
l10n_es_vat_prorate · OCA/l10n-spain
Health
90/100
good
-
Security25/25No findings
-
Activity25/25Human commit this month
-
Required by15/251 module depends on it
-
Maturity25/25In 6 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
0 migration notes
7 models
6 views
0 HTTP endpoints
Description
El módulo nos divide los IVA según la prorrata de la compañía.
Dependencies
- Odoo dependencies
- Python dependencies
- unidecode
- System dependencies
- None
- Required by
- l10n_es_aeat_mod303_vat_prorate
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view |
account.move.form (in l10n_es_vat_prorate) | account.move | form | Inherits account.view_move_form |
account_tax_form_view |
account.tax.form (in l10n_es_vat_prorate) | account.tax | form | Inherits account.view_tax_form |
account_update_vat_prorate_form_view |
account.update.vat_prorate.form | account.update.vat_prorate | form | New |
res_company_form_view |
res.company.form (in l10n_es_vat_prorate) | res.company | form | Inherits base.view_company_form |
res_company_vat_prorate_form_view |
res.company.vat.prorate.form (in l10n_es_vat_prorate) | res.company.vat.prorate | form | New |
res_company_vat_prorate_list_view |
res.company.vat.prorate.list (in l10n_es_vat_prorate) | res.company.vat.prorate | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (2)
-
prorate_idMany2one → res.company.vat.proratecompute='_compute_prorate_id'copy=Falsestore=True args: 'res.company.vat.prorate' -
with_special_vat_prorateBooleancompute='_compute_prorate_id'copy=Falsestore=True
-
button_draft(self) -
create(self, vals_list)@api.model_create_multi -
write(self, vals)
New fields (3)
-
prorate_line_idsMany2many → account.move.linecolumn1='account_move_line_id'column2='prorate_move_line_id'copy=Falserelation='account_move_line_prorate_move_line_rel' args: 'account.move.line' -
vat_prorateBooleancopy=Falsehelp='The line is a vat prorate'string='Is vat prorate' -
with_vat_prorateBooleancompute='_compute_with_vat_prorate'copy=Falsereadonly=Falsestore=True
No public methods.
New fields (3)
-
company_with_vat_prorateBooleanrelated='company_id.with_vat_prorate'string='Company with VAT prorate' -
prorate_account_idsMany2many → account.accountcompute='_compute_with_vat_prorate'help='Accounts to apply the recompute'readonly=Truestore=True args: 'account.account' -
with_vat_prorateBooleancompute='_compute_with_vat_prorate'readonly=Falsestore=Truestring='With VAT Prorate'
No public methods.
New fields (3)
-
company_idMany2one → res.companycomodel_name='res.company'default=<expr>required=True -
vat_prorate_idsOne2many → res.company.vat.prorate.wizardinverse_name='wizard_id' args: 'res.company.vat.prorate.wizard' -
with_vat_prorateBooleanhelp='If this option is enabled, all invoice lines with VAT will be prorated'string='With VAT Prorate'
-
default_get(self, field_list)@api.model -
execute(self)
New fields (2)
-
vat_prorate_idsOne2many → res.company.vat.prorateinverse_name='company_id' args: 'res.company.vat.prorate' -
with_vat_prorateBooleanhelp='If this option is enabled, all invoice lines with VAT will be prorated'string='With VAT Prorate'
-
get_prorate(self, date)
New fields (6)
-
account_idMany2one → account.accountcheck_company=Truecomodel_name='account.account'domain="[('active', '=', True), ('account_type', 'not in', ['asset_receivable', 'liability_payable'])]"help='Specify which account will be used to post the prorate entries. If no account is assigned, the process will follow the standard flow.' -
company_idMany2one → res.companyrequired=True args: 'res.company' -
dateDatedefault=fields.Date.context_todayrequired=True -
special_vat_prorate_defaultBooleanhelp='If the Special VAT Prorate is enabled, this value indicates whether all the invoice lines will be prorated by default. On the other hand, all the invoice lines will be not prorated by default.'string='Special VAT Prorate Default' -
typeSelectiondefault='general'help='If the general prorate is enabled, all invoice lines will be prorated. If the special prorate is enabled, you will be able to select which invoice lines will be prorated.'required=Trueselection=[('general', 'General'), ('special', 'Special')] -
vat_prorateFloat
No public methods.
New fields (2)
-
origin_vat_prorate_idMany2one → res.company.vat.proratecomodel_name='res.company.vat.prorate' -
wizard_idMany2one → account.update.vat_proratecomodel_name='account.update.vat_prorate'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…