Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[IMP] Provide useful tracebacks on exceptions while validating #28612
Before this patch, any exception on a constraint that were not a
After this patch, the exception itself will still lack that information, but at least Odoo logs will print the good traceback.
pushed a commit
this pull request
Feb 20, 2019
This update breaks our CI for some hacky code
In short, the code is trying to create a view, that works only in enterprise but not in community or vice-versa.
Not sure what I can do, but I agree with the problem that this update fixes.
This has been reverted in 11.0+, but for v10 it still remains as it can be useful. As Oliver said, it's a good reminder for not doing this kind of things in stable. For avoiding the problem in 10.0 branches, you have to use this technique: https://github.com/OCA/bank-payment/pull/562/files#diff-c9e509eca85943bc8205a780bb737a66R16