-
-
Notifications
You must be signed in to change notification settings - Fork 255
[16.0][IMP] Adicionado cadastro de Natureza Jurídica #3786
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
[16.0][IMP] Adicionado cadastro de Natureza Jurídica #3786
Conversation
Hi @rvalyi, |
57314cb
to
abdb0cb
Compare
eec90b0
to
aa734c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
só não entendi a mudança de versão do spec ai no meio.
@@ -1,6 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8" ?> | |||
<odoo> | |||
<record model="ir.ui.view" id="crm_lead_cnpj_search_form_view"> | |||
<record model="ir.ui.view" id="crm_idad_cnpj_search_form_view"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Esta certo alterar o ID da view?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@renatonlima faltou arrumar aqui tbm
l10n_br_fiscal/models/res_partner.py
Outdated
column1="company_id", | ||
column2="cnae_id", | ||
domain="[('internal_type', '=', 'normal'), ('id', '!=', cnae_main_id)]", | ||
string="Secondary CNAE", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string="Secondary CNAE", | |
string="Secondary CNAEs", |
por ser um many2many acho que pode ser no plural aqui
aa734c2
to
f57216a
Compare
Eu fiz o rebase da branch agora só tem os commits no PR |
@@ -1,6 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8" ?> | |||
<odoo> | |||
<record model="ir.ui.view" id="crm_lead_cnpj_search_form_view"> | |||
<record model="ir.ui.view" id="crm_idad_cnpj_search_form_view"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@renatonlima faltou arrumar aqui tbm
f57216a
to
c089ed4
Compare
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 13979dd. Thanks a lot for contributing to OCA. ❤️ |
Esse PR implementa do cadastro de natureza jurídica e também faz algumas mudanças na visão da empresa e adapta o módulo l10n_br_crm_cnpj_search substituindo o campo legal_nature pelo campo relacional legal_nature_id
No cadastro de empresa eu coloquei o grupo do CNAE e a natureza jurídica acima, pois essas seriam informações que deveriam ser preenchida antes dos campos de regime tributário e impostos pois futuramente podemos deduzir ou filtrar o preenchimento de outros campos, como no simples nacional.