Daily updates from Odoo
Wednesday, February 8, 2017
1 change · master
Enhancements to existing features
Post-install tests can now run more like real customer transactions, including changes that reload Odoo's internal setup. This helps Odoo Studio and similar tools be tested more accurately when creating custom models and fields.
Original PR description
Move the post-install tests execution outside `Registry.new`, and add a flag on class `HttpCase` to enable/disable the registry "test mode". This allows a test to run actual transactions that will reload the registry, which may be used to test the creation of `ir.model` instances, etc. This is needed for testing Odoo Studio, which creates custom models and fields.