Skip to content

[19.0][MIG] edi_account_core_oca#239

Open
JasminSForgeFlow wants to merge 5 commits intoOCA:19.0from
ForgeFlow:19.0-mig-edi_account_core_oca
Open

[19.0][MIG] edi_account_core_oca#239
JasminSForgeFlow wants to merge 5 commits intoOCA:19.0from
ForgeFlow:19.0-mig-edi_account_core_oca

Conversation

@JasminSForgeFlow
Copy link
Copy Markdown
Contributor

Standard Migration

@ForgeFlow

Copy link
Copy Markdown

@Reyes4711-S73 Reyes4711-S73 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown

@Segui-S73 Segui-S73 left a comment

Choose a reason for hiding this comment

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

LGTM

@OCA-git-bot
Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@JordiMForgeFlow
Copy link
Copy Markdown
Contributor

@simahawk @etobella could this one get merged? thanks!

Copy link
Copy Markdown
Member

@etobella etobella left a comment

Choose a reason for hiding this comment

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

@JordiMForgeFlow as we are on a new migration, I think we should rename this module as edi_account_oca, the original one is not required anymore.

Can you handle the merge on openupgrade?

@@ -0,0 +1,10 @@
def pre_init_hook(env):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not required anymore.

@JordiMForgeFlow
Copy link
Copy Markdown
Contributor

@etobella then I assume we also have to merge the listeners added in #265 to this one right?

@JasminSForgeFlow could you attend the changes when possible?

@etobella
Copy link
Copy Markdown
Member

Wait! I assumed that the other one had no code inside, if it has, we should not merge them, as this module should never require listeners, components or queue. maybe the right new should be "edi_account_listener_oca" and "edi_account_oca", however, I think it doesn't make sense to do it now.

@JordiMForgeFlow
Copy link
Copy Markdown
Contributor

Exactly, the edi_account_oca is depending on component to add the listeners, just like edi_stock_oca or edi_purchase_oca. For me it is fine to keep it as it is then.

@etobella
Copy link
Copy Markdown
Member

For me the names could be improved to avoid mistakes....

@JordiMForgeFlow
Copy link
Copy Markdown
Contributor

@etobella so just to clarify, you would rename this one to "edi_account_oca" and #265 to "edi_account_listener_oca"? Then we should also align the other modules to use the same structure (edi_stock_oca, edi_purchase_oca,...)

@simahawk
Copy link
Copy Markdown
Contributor

Hmm do we really need 2 modules?
It's probably time to align over a call on what we want to do once for all.
IMO we should finish #232 first and agree on a common way to handle events w/o components otherwise we will always have an half backed solution in the core and 2 ways to things everywhere.

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.

8 participants