-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from Trust-Code/10.0-CCe
10.0 Carta de Correção Eletronica
- Loading branch information
Showing
15 changed files
with
540 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# © 2016 Alessandro Fernandes Martini <alessandrofmartini@gmail.com>, Trustcode | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo import fields, models | ||
|
||
|
||
class CartaCorrecaoEletronicaEvento(models.Model): | ||
_name = 'carta.correcao.eletronica.evento' | ||
|
||
eletronic_doc_id = fields.Many2one( | ||
'invoice.eletronic', string="Documento Eletrônico") | ||
|
||
# Fields CCe | ||
id_cce = fields.Char(string="ID", size=60) | ||
datahora_evento = fields.Datetime(string="Data do Evento") | ||
tipo_evento = fields.Char(string="Código do Evento") | ||
sequencial_evento = fields.Integer(string="Sequencial do Evento") | ||
correcao = fields.Text(string="Correção", max_length=1000) | ||
message = fields.Char(string="Mensagem", size=300) | ||
protocolo = fields.Char(string="Protocolo", size=30) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
|
||
|
||
from . import test_nfe | ||
from . import test_carta_correcao |
Oops, something went wrong.