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

[12.0][l10n_br_base][BACKPORT] add partner pix #2189

Closed
wants to merge 3 commits into from

Conversation

rvalyi
Copy link
Member

@rvalyi rvalyi commented Oct 23, 2022

backport de #2123

pode ser interessante manter ainda a consistência com esse PR das chaves PIX para depois poder fazer algum backport de pagamentos PIX ou CNAB de pagamento na 12.0.

@OCA-git-bot
Copy link
Contributor

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

@rvalyi rvalyi changed the title [12.0][BAKCPORT] add partner pix [12.0][l10n_br_base][BACKPORT] add partner pix Oct 23, 2022
@@ -0,0 +1,150 @@
import phonenumbers
from email_validator import EmailSyntaxError, validate_email
Copy link
Member

Choose a reason for hiding this comment

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

Aproveitando que você esta alterando esse trecho de código se tiver tempo poderia utilizar o módulo:

https://github.com/odoo/odoo/blob/16.0/addons/mail/tools/mail_validation.py#L16-L21

É um trecho do Odoo que mantem a compatibilidade caso o módulo email_validator não esteja instalado, se vc procurar tem vários exemplos no código.

Copy link
Contributor

@antoniospneto antoniospneto Oct 24, 2022

Choose a reason for hiding this comment

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

Opa Mileo, eu não vi como é na v16 mas na v14 esse módulo limitava as funcionalidade do email_validator. Agora não lembro bem o motivo, mas eu tinha olhado essa opção.

Copy link
Member

@marcelsavegnago marcelsavegnago left a comment

Choose a reason for hiding this comment

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

Lgtm

@rvalyi
Copy link
Member Author

rvalyi commented Oct 26, 2022

pessoal o Travis não esta passando por conta de um problema com o Travis já faz uma semana eu sugiro de mudar pro Github Actions com essa PR antes: #2130

@mileo
Copy link
Member

mileo commented Oct 27, 2022

@rvalyi Poderia fazer um rebase?

Copy link
Member

@renatonlima renatonlima left a comment

Choose a reason for hiding this comment

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

@rvalyi,

Parece que tem dois problemas no travis

Na criação de um res.partner.bank esta exigindo que o res.bank tenha o codigo do banco central (code_bc)
https://github.com/OCA/l10n-brazil/actions/runs/3370226034/jobs/5590860128#step:8:147

Não achou a lib vcrpy
https://github.com/OCA/l10n-brazil/actions/runs/3370226034/jobs/5590860128#step:8:889

Acho que seria bom incluir esse commit via cherry-pick
8845fc4

Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 26, 2023
@rvalyi rvalyi closed this Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants