Skip to content

Conversation

@yajo
Copy link
Member

@yajo yajo commented Mar 11, 2016

Fixes OCA/product-attribute#135 (comment). (when merged).

Although this is a breaking change, it current submodules don't use hooks (the only breaking part). The current implementation was useless anyway.

@rafaelbn @carlos-incaser

@pedrobaeza
Copy link
Member

Why it has to be done in pre instead of post?

@yajo
Copy link
Member Author

yajo commented Mar 11, 2016

Because on post images are already gone.

@pedrobaeza
Copy link
Member

OK, I understand. What about the signature change?

@yajo
Copy link
Member Author

yajo commented Mar 11, 2016

Signature?

@pedrobaeza
Copy link
Member

The signature is the number and the name of the arguments of a method

@yajo
Copy link
Member Author

yajo commented Mar 11, 2016

ah sorry, pre_init_hooks lack the registry argument.

@pedrobaeza
Copy link
Member

OK, thanks for the explanation. I didn't remember that.

👍

I'm going to fast-track to avoid people that starts using this module uses this wrong hook.

pedrobaeza added a commit that referenced this pull request Mar 11, 2016
Fix bug that made previous images to disappear.
@pedrobaeza pedrobaeza merged commit 4b2f56a into OCA:8.0 Mar 11, 2016
@yajo
Copy link
Member Author

yajo commented Mar 11, 2016

Thank you 😉

@yajo yajo deleted the multi_image branch March 11, 2016 17:19
StefanRijnhart pushed a commit to StefanRijnhart/server-tools that referenced this pull request Feb 26, 2017
…page_onclose

[ADD] run onclose handler if we got one
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (11.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants