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

[16.0][MIG] partner_helper #1412

Closed
wants to merge 26 commits into from

Conversation

florian-dacosta
Copy link
Contributor

standard migraton, works without changes

@bealdav

bealdav and others added 26 commits November 23, 2022 17:45
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
* Migrate to V10
* Tests
* Remove method args not necessary with new api
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: partner-contact-12.0/partner-contact-12.0-partner_helper
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_helper/
Currently translated at 100.0% (1 of 1 strings)

Translation: partner-contact-12.0/partner-contact-12.0-partner_helper
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-partner_helper/hr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: partner-contact-14.0/partner-contact-14.0-partner_helper
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_helper/
Currently translated at 100.0% (1 of 1 strings)

Translation: partner-contact-14.0/partner-contact-14.0-partner_helper
Translate-URL: https://translation.odoo-community.org/projects/partner-contact-14-0/partner-contact-14-0-partner_helper/pt_BR/
Copy link
Member

@bealdav bealdav left a comment

Choose a reason for hiding this comment

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

LGTM code review, it seems no changes in Odoo can break things

@rousseldenis
Copy link
Contributor

/ocabot migration partner_helper

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Dec 15, 2022
@OCA-git-bot OCA-git-bot mentioned this pull request Dec 15, 2022
60 tasks
@rousseldenis
Copy link
Contributor

@florian-dacosta Could you maybe add tests for both uncovered code cases ?

image

@github-actions
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 Apr 16, 2023
@github-actions github-actions bot closed this May 21, 2023
@bealdav
Copy link
Member

bealdav commented May 22, 2023

@rousseldenis might we consider to only add tests request in the roadmap section here for the next migration considering that this piece of code is not so complex, then no so critical, because completely independent of odoo changes (except number of street fields ;-) )

It's also used in production since several years.

It's important that makes things happen with trivial PR and make security barriers proportional to risks, I suppose.

@florian-dacosta are you ok with that ?

@florian-dacosta
Copy link
Contributor Author

florian-dacosta commented May 22, 2023

Adding test on this module is on my todolist but it is not in the top of it, that's why I did not do it yet !

I agree, it is a pity to block the migration in that case but also if we just add it in the roadmap, there are chance we never add tests ...
So I have no strong opinion on this
I'll reopen it though, since I will eventually add the test one day, hopefully before the next 4 months!
@rousseldenis I can't reopen it, is it normal? Should I create a new one ?

@rousseldenis rousseldenis reopened this May 22, 2023
@rousseldenis
Copy link
Contributor

Adding test on this module is on my todolist but it is not in the top of it, that's why I did not do it yet !

I agree, it is a pity to block the migration in that case but also if we just add it in the roadmap, there are chance we never add tests ... So I have no strong opinion on this I'll reopen it though, since I will eventually add the test one day, hopefully before the next 4 months! @rousseldenis I can't reopen it, is it normal? Should I create a new one ?

Done

@rousseldenis
Copy link
Contributor

@florian-dacosta @bealdav I'm wondering why partner_helper ?

As this module implements an adress splitting, it should be renamed by partner_address_split or something like this.
IMHO, this is not a good idea to have modules that have such names as they don't represent what module does in reality. Those 'fourre-tout' modules should be avoided. Moreover, it should help also people finding it

@bealdav
Copy link
Member

bealdav commented May 22, 2023

nice, partner_address_split seems a really good name. in that case, we could add a log warning to inform of the new name here and make a new PR with the new name.

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 28, 2023
@florian-dacosta
Copy link
Contributor Author

Replaced by #1543

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

Successfully merging this pull request may close these issues.