erp5_catalog: Compile PythonScript methods after migrating them
Showing
-
I'm surprised explicit compilation makes a difference. If it does, then I believe this can be pushed to master without waiting for the merge request.
-
Maintainer
Yes, it does make a difference in this case, as when we use
changeObjectClass
it creates a new object with different class(which is not what it implies with its name) and thus we need to compile the new python script. Better would be to add this point in commit. Also, as this concerns only after the migration, I don't think its good to push it before merge request. -
Ah, I just noticed this whole
if catalog.meta_type == 'ERP5 Catalog':
is added in 1bcc6825. Then it's better to squash this commit in that one: less questions about why this new statement is needed :) .
Please register or sign in to comment