TIP: You can type at any time to perform a new search.
Fiscal Document Notifications
l10n_br_fiscal_notification · OCA/l10n-brazil
- Repository
- OCA/l10n-brazil · module folder · Try on Runboat
- Module version
- Category
- Localization
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-brazil
- Last tracking update
- 2026-08-14 17:23:24
- Authors
- Odoo Community Association (OCA), KMEE
- Maintainers
- Odoo Community Association (OCA), KMEE
- Committers
- Raphaël Valyi, OCA-git-bot, oca-ci, CristianoMafraJunior
- Odoo dependencies
- Python dependencies
- erpbrasil.base, email-validator, num2words, phonenumbers
- System dependencies
- None
- Required by
- None
- Description
Este módulo permite o envio automático de e-mails de notificação sempre que o status de um documento fiscal é alterado. Ele inclui dois modelos de e-mail pré-configurados: - Um modelo específico para NFSe - Um modelo genérico para os demais documentos fiscais Observação: É importante destacar que funcionalidades semelhantes de notificação podem ser implementadas de forma mais genérica utilizando o módulo automation_oca (disponível no repositório OCA/automation).
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
document_email_form |
l10n_br_fiscal.document.email.form | l10n_br_fiscal.document.email | form | New |
document_email_tree |
l10n_br_fiscal.document.email.tree | l10n_br_fiscal.document.email | list | New |
document_form |
l10n_br_fiscal.document | form | Inherits l10n_br_fiscal.document_form | |
document_type_form |
l10n_br_fiscal.document.type | form | Inherits l10n_br_fiscal.document_type_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (2)-
action_send_email(self)Open a window to compose an email, with the fiscal document_type template message loaded by default -
send_email(self, state)
New fields (7)
-
activeBooleandefault=True -
company_idMany2one → res.companycomodel_name='res.company'string='Company' -
document_type_idMany2one → l10n_br_fiscal.document.typecomodel_name='l10n_br_fiscal.document.type'help='Select the type of document that will be applied to the email templates definitions.'string='Fiscal Document Type' -
email_template_idMany2one → mail.templatecomodel_name='mail.template'domain=[('model', '=', 'l10n_br_fiscal.document')]help='Select the email template that will be sent when this document state change.'required=Truestring='Fiscal Document E-mail Template' -
issuerSelectiondefault=DOCUMENT_ISSUER_COMPANYrequired=Trueselection=DOCUMENT_ISSUER -
nameCharcompute='_compute_name'copy=Falsereadonly=Truestore=True -
state_edocSelectioncopy=Falseindex=Trueselection=SITUACAO_EDOCstring='Situação e-doc'
No public methods.
New fields (1)
-
document_email_idsOne2many → l10n_br_fiscal.document.emailcomodel_name='l10n_br_fiscal.document.email'inverse_name='document_type_id'string='Email Template Definition'
No public methods.
New fields (1)
-
document_email_idsOne2many → l10n_br_fiscal.document.emailcomodel_name='l10n_br_fiscal.document.email'inverse_name='company_id'string='Email Template Definition'
No public methods.
Loading…
Loading…