Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][RFC] l10n_br_nfe: refactor nfce qrcode methods #3522

Draft
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

marcelsavegnago
Copy link
Member

depends #3508

@OCA-git-bot
Copy link
Contributor

Hi @renatonlima, @rvalyi,
some modules you are maintaining are being modified, check this out!

@antoniospneto
Copy link
Contributor

cc @mileo

@rvalyi
Copy link
Member

rvalyi commented Dec 5, 2024

@marcelsavegnago pode dar rebase?

@marcelsavegnago marcelsavegnago force-pushed the 14.0-l10n_br_nfe-add-document_qrcode-and-refactor branch from 57b90f0 to cbd2e6f Compare December 5, 2024 17:36
@marcelsavegnago
Copy link
Member Author

marcelsavegnago commented Dec 5, 2024

@marcelsavegnago pode dar rebase?

@rvalyi Done

for record in self.filtered(lambda d: d.document_type == MODELO_FISCAL_NFCE):
record.nfe40_infNFeSupl = self.env[
"l10n_br_fiscal.document.supplement"
].create(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ao reconfirmar o documento isso não será gerado em duplicidade?

Copy link
Member Author

@marcelsavegnago marcelsavegnago Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Estava pensando nisso esses dias tbm.. nao tem nenhuma checagem se ja existe algum registro, pelo que vi, simplesmente eh criado outro registro.. ou seja, provavelmente tem registro perdido nesta tabela.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mileo se teu time puder entrar no assunto, pode matar esta PR e criar outra.. ou manda os commits pra mim e eu mesclo.. criei ela apenas para nao deixar este assunto perdido.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants