-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Migration/l10n br crm #130
Conversation
@renatonlima are you redoing the work of #124 ? |
51dfd1a
to
4b5ce4a
Compare
so once this branch with l10n_br_base #129 is passing tests again, it needs to be merged into this one to enable the installation and testing by Travis. |
So I didn't merge l10n_br base in this branch to avoid possible conflicts when merging globally. Instead here is the test branch where we also have code-metrics: #154 The coverage is lower with the l10n_br_crm module and I think it deserved a dumb lead conversion test before we merge. @mileo. Same as for the l10n_br_base PR. Please if we are missing any good feature you guys did, please cherry pick the commits and rebase them on this branch We will do our best to look at your work before merging anyway. Sorry again for the inconvenience of the double work here, again explained by the very exceptional conditions we had. |
############################################################################### | ||
# # | ||
# Copyright (C) 2011 Renato Lima - Akretion # | ||
# Copyright (C) 2015 Renato Lima - Akretion # |
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.
should be 2011 - TODAY
👍 |
@mileo I see that in your branch you added the rg on a lead (seems legitimate), you also separated the cpf and cnpj fields. Could you elaborate on why (it's not in the commit message I think)? @renatonlima what do you think about this design? https://github.com/odoo-brazil/l10n-brazil/blob/8.0/l10n_br_crm/crm_lead.py#L42 cc @danimaribeiro |
…g to coding in py files
…rm_zip feature branch
634fe38
to
a9df574
Compare
OK, so we are now green on tests and PEP-8. @mileo we found some design changes you did here like separating the cpf and cnpj fields. Could you please argue why you think it's better than what we have now? @renatonlima didn't seem convinced but may be you'll convince us. |
It's better to get the code from odoo-brazil, with @api.model, the lead conversion to opportunity is working nicely, generating both company and contact with the corresponding CNPJ and CPF. It would be nice to have the address fields order according to partner and company, but that I can submit a patch after. |
Merged in #165 |
oups that one had to be closed then |
…fix-flake8 [12.0-l10n_br_nfe-ak-filtered][FIX] flake8
No description provided.