TIP: You can type at any time to perform a new search.
ITA - Dichiarazione di intento
l10n_it_declaration_of_intent · OCA/l10n-italy
- Repository
- OCA/l10n-italy · module folder · Try on Runboat
- Module version
- 1.1.2
- Category
- Uncategorized
- Folder size
- 0.15 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-italy
- Last tracking update
- 2026-08-07 08:09:16
- Authors
- Odoo Community Association (OCA), Sergio Corato, Francesco Apruzzese, Glauco Prina, Lara Baggio
- Maintainers
- Odoo Community Association (OCA), Sergio Corato, Francesco Apruzzese, Glauco Prina, Lara Baggio
- Committers
- Sergio Zanchetta, tafaRU, Simone Rubino, Weblate, OCA-git-bot, oca-ci, Stefano Consolaro, matteo.tognini, Marco Colombo, odooNextev, michelerusti, Borruso
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_it_fatturapa_out_di
- Description
**Italiano** Questo modulo consente di gestire le dichiarazioni d'intento. **English** This module allows you to manage declarations of intent.
Code Analysis ⓘ
Views touched (8)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
declaration_of_intent_account_position_form |
Add declaration of intent fields | account.fiscal.position | form | Inherits account.view_account_position_form |
declaration_of_intent_form |
Form view for declaration of intent | l10n_it_declaration_of_intent.declaration | form | New |
declaration_of_intent_invoice_form |
Add declaration of intent fields to invoice form | account.move | form | Inherits account.view_move_form |
declaration_of_intent_invoice_line_form |
Add declaration of intent fields to invoice line form | account.move.line | form | Inherits account.view_move_line_form |
declaration_of_intent_search |
Search view for declaration_of_intent | l10n_it_declaration_of_intent.declaration | search | New |
declaration_of_intent_tree |
Tree view for declaration_of_intent | l10n_it_declaration_of_intent.declaration | tree | New |
declaration_of_intent_view_company_form |
Add declaration of intent fields | res.company | form | Inherits base.view_company_form |
select_manually_declarations_wizard |
Select Manually Declarations | l10n_it_declaration_of_intent.select_declarations | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (9)
New fields (1)
-
valid_for_declaration_of_intentBooleanargs: 'Valid for declaration of intent'
No public methods.
New fields (1)
-
declaration_of_intent_idsMany2many → l10n_it_declaration_of_intent.declarationcomodel_name='l10n_it_declaration_of_intent.declaration'string='Declarations of intent'
-
button_cancel(self) -
check_declarations_amounts(self, declarations)Compare this invoice's tax amounts and `declarations` plafond. An exception is raised if the plafond of the declarations is not sufficient for this invoice's taxes. -
get_declaration_residual_amounts(self, declarations)Get residual amount for every `declarations`. -
get_declarations(self)Get declarations linked directly or indirectly to this invoice. -
get_declarations_used_amounts(self, declarations)Get used amount by declarations for this invoice. -
get_move_lines_by_declaration(self, lines)@api.modelGet account move lines grouped by the declaration forced in each line. -
get_type_short(self)Get in/out value from the invoice. This will then be matched with field l10n_it_declaration_of_intent.declaration.type. For instance: an invoice of type `in_refund` returns `in`, an invoice of type `out_refund` returns `out`, an invoice of type `entry` returns ``. -
select_manually_declarations(self) -
update_declarations(self, declarations_used_amounts, grouped_lines)Update the declarations adding a new line representing this invoice. Also add a comment in this invoice stating which declaration is into.
New fields (1)
-
force_declaration_of_intent_idMany2one → l10n_it_declaration_of_intent.declarationcomodel_name='l10n_it_declaration_of_intent.declaration'string='Force Declaration of Intent'
No public methods.
New fields (19)
-
available_amountMonetarycompute='_compute_amounts'store=True -
company_idMany2one → res.companydefault=<expr>string='Company' args: 'res.company' -
currency_idMany2one → res.currencydefault=_default_currencystring='Currency' args: 'res.currency' -
dateDaterequired=Truestring='Telematic Protocol Date' -
date_endDaterequired=True -
date_startDaterequired=True -
fiscal_position_idMany2one → account.fiscal.positiondomain=[('valid_for_declaration_of_intent', '=', True)]required=Truestring='Fiscal Position' args: 'account.fiscal.position' -
force_closeBoolean -
limit_amountMonetaryrequired=True -
line_idsOne2many → l10n_it_declaration_of_intent.declaration_linecomodel_name='l10n_it_declaration_of_intent.declaration_line'inverse_name='declaration_id'string='Lines' -
numberCharcopy=False -
partner_document_dateDatehelp="Date of partner's document"string='Document Date' -
partner_document_numberCharhelp="Number of partner's document"string='Document Number' -
partner_idMany2one → res.partnerrequired=Truestring='Partner' args: 'res.partner' -
stateSelectioncompute='_compute_state'store=True args: [('valid', 'Valid'), ('expired', 'Expired'), ('close', 'Closed')] -
taxes_idsMany2many → account.taxrequired=Truestring='Taxes' args: 'account.tax' -
telematic_protocolCharrequired=True -
typeSelectiondefault='in'required=True args: [('in', 'Issued from company'), ('out', 'Received from customers')] -
used_amountMonetarycompute='_compute_amounts'store=True
-
change_force_close(self) -
create(self, vals_list)@api.model_create_multi -
get_all_for_partner(self, type_d=None, partner_id=False, ignore_state=False) -
get_valid(self, type_d=None, partner_id=False, date=False) -
name_get(self) -
onchange_fiscal_position_id(self)@api.onchange('fiscal_position_id', 'type') -
unlink(self)
New fields (9)
-
amountMonetary -
base_amountMonetary -
company_idMany2one → res.companyrelated='declaration_id.company_id'string='Company' args: 'res.company' -
currency_idMany2one → res.currencystring='Currency' args: 'res.currency' -
date_invoiceDaterelated='invoice_id.invoice_date'string='Date Invoice' -
declaration_idMany2one → l10n_it_declaration_of_intent.declarationcomodel_name='l10n_it_declaration_of_intent.declaration'string='Declaration' -
invoice_idMany2one → account.moveondelete='cascade'string='Invoice' args: 'account.move' -
move_line_idsMany2many → account.move.linecomodel_name='account.move.line'ondelete='cascade'relation='move_line_declaration_line_rel'string='Move Lines' -
taxes_idsMany2many → account.taxstring='Taxes' args: 'account.tax'
No public methods.
New fields (1)
-
declaration_idsMany2many → l10n_it_declaration_of_intent.declarationcomodel_name='l10n_it_declaration_of_intent.declaration'default=_default_declarationrelation='declaration_select_manually_rel'string='Declarations of Intent'
-
confirm(self)
New fields (4)
-
company_idMany2one → res.companystring='Company' args: 'res.company' -
limit_amountFloat -
used_amountFloatcompute='_compute_used_amount' -
yearCharrequired=True
No public methods.
New fields (1)
-
declaration_yearly_limit_idsOne2many → l10n_it_declaration_of_intent.yearly_limitcomodel_name='l10n_it_declaration_of_intent.yearly_limit'inverse_name='company_id'string='Declaration yearly limit'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
onchange_date_order(self)@api.onchange('date_order')
Loading…