Fiscal Document Notifications

l10n_br_fiscal_notification
REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/18.0/l10n_br_fiscal_notification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), KMEE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), KMEE
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, CristianoMafraJunior
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-brazil:
    - l10n_br_fiscal
    - l10n_br_base
OCA/product-attribute:
    - uom_alias
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - base_address_extended
    - contacts
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
email-validator
num2words
phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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 button Inherits l10n_br_fiscal.document_form
document_type_form l10n_br_fiscal.document.type notebook Inherits l10n_br_fiscal.document_type_form
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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' string='Company'
  • document_type_id Many2one → l10n_br_fiscal.document.type
    comodel_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_id Many2one → mail.template
    comodel_name='mail.template' domain=[('model', '=', 'l10n_br_fiscal.document')] help='Select the email template that will be sent when this document state change.' required=True string='Fiscal Document E-mail Template'
  • issuer Selection
    default=DOCUMENT_ISSUER_COMPANY required=True selection=DOCUMENT_ISSUER
  • name Char
    compute='_compute_name' copy=False readonly=True store=True
  • state_edoc Selection
    copy=False index=True selection=SITUACAO_EDOC string='Situação e-doc'
Public methods (0)

No public methods.

New fields (1)
  • document_email_ids One2many → l10n_br_fiscal.document.email
    comodel_name='l10n_br_fiscal.document.email' inverse_name='document_type_id' string='Email Template Definition'
Public methods (0)

No public methods.

New fields (1)
  • document_email_ids One2many → l10n_br_fiscal.document.email
    comodel_name='l10n_br_fiscal.document.email' inverse_name='company_id' string='Email Template Definition'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/17.0/l10n_br_fiscal_notification
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalization
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), KMEE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), KMEE
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, CristianoMafraJunior
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-brazil:
    - l10n_br_fiscal
    - l10n_br_base
OCA/product-attribute:
    - uom_alias
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - base_address_extended
    - contacts
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
email-validator
num2words
phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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 tree New
document_form l10n_br_fiscal.document button Inherits l10n_br_fiscal.document_form
document_type_form l10n_br_fiscal.document.type notebook Inherits l10n_br_fiscal.document_type_form
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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' string='Company'
  • document_type_id Many2one → l10n_br_fiscal.document.type
    comodel_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_id Many2one → mail.template
    comodel_name='mail.template' domain=[('model', '=', 'l10n_br_fiscal.document')] help='Select the email template that will be sent when this document state change.' required=True string='Fiscal Document E-mail Template'
  • issuer Selection
    default=DOCUMENT_ISSUER_COMPANY required=True selection=DOCUMENT_ISSUER
  • name Char
    compute='_compute_name' copy=False readonly=True store=True
  • state_edoc Selection
    copy=False index=True selection=SITUACAO_EDOC string='Situação e-doc'
Public methods (0)

No public methods.

New fields (1)
  • document_email_ids One2many → l10n_br_fiscal.document.email
    comodel_name='l10n_br_fiscal.document.email' inverse_name='document_type_id' string='Email Template Definition'
Public methods (0)

No public methods.

New fields (1)
  • document_email_ids One2many → l10n_br_fiscal.document.email
    comodel_name='l10n_br_fiscal.document.email' inverse_name='company_id' string='Email Template Definition'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-brazil
GIT
GIThttps://github.com/OCA/l10n-brazil.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-brazil/tree/16.0/l10n_br_fiscal_notification
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalisation
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), KMEE
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), KMEE
COMMITTERS
COMMITTERSRaphaël Valyi, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-brazil
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-brazil:
    - l10n_br_fiscal
    - l10n_br_base
OCA/product-attribute:
    - uom_alias
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - base_address_extended
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES erpbrasil.base
email-validator
num2words
phonenumbers
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 IDNameModelTypeStatus
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 tree New
document_form l10n_br_fiscal.document button Inherits l10n_br_fiscal.document_form
document_type_form l10n_br_fiscal.document.type notebook Inherits l10n_br_fiscal.document_type_form
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)
  • active Boolean
    default=True
  • company_id Many2one → res.company
    comodel_name='res.company' string='Company'
  • document_type_id Many2one → l10n_br_fiscal.document.type
    comodel_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_id Many2one → mail.template
    comodel_name='mail.template' domain=[('model', '=', 'l10n_br_fiscal.document')] help='Select the email template that will be sent when this document state change.' required=True string='Fiscal Document E-mail Template'
  • issuer Selection
    default=DOCUMENT_ISSUER_COMPANY required=True selection=DOCUMENT_ISSUER
  • name Char
    compute='_compute_name' copy=False readonly=True store=True
  • state_edoc Selection
    copy=False index=True selection=SITUACAO_EDOC string='Situação e-doc'
Public methods (0)

No public methods.

New fields (1)
  • document_email_ids One2many → l10n_br_fiscal.document.email
    comodel_name='l10n_br_fiscal.document.email' inverse_name='document_type_id' string='Email Template Definition'
Public methods (0)

No public methods.

New fields (1)
  • document_email_ids One2many → l10n_br_fiscal.document.email
    comodel_name='l10n_br_fiscal.document.email' inverse_name='company_id' string='Email Template Definition'
Public methods (0)

No public methods.