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

9.0 unittests decorated with postinstall are run even if the module was not updated #9768

Closed
gurneyalex opened this issue Nov 26, 2015 · 0 comments

Comments

@gurneyalex
Copy link
Contributor

case at hand:

I have a module for a customer which changes the ACL for sale.order. It also has some unittests.

if I run odoo.py -i customer_module --stop-after-init && odoo.py -u customer_module --test-enable --stop-after-init the tests of sale which are decorated with postinstall are run too, even if the sale module is not updated. And of course they fail which breaks my CI.

gurneyalex added a commit to gurneyalex/odoo that referenced this issue Dec 9, 2015
gurneyalex added a commit to gurneyalex/odoo that referenced this issue Mar 17, 2016
gurneyalex added a commit to gurneyalex/odoo that referenced this issue Apr 4, 2016
gurneyalex added a commit to gurneyalex/odoo that referenced this issue Apr 4, 2016
gurneyalex added a commit to gurneyalex/odoo that referenced this issue Apr 4, 2016
@KangOl KangOl closed this as completed in cc60504 Apr 5, 2016
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

No branches or pull requests

1 participant