diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-06-06 11:59:49 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-06-06 14:23:28 +0000 |
| commit | 6b93738299a858286a35fd53a31b0ab5dfb5794d (patch) | |
| tree | 7c9b2d5bd3be228de5e6cc08f8d74d8de07a2eb1 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | bafe82309a8a7de8264f426ecdf98abc7fe44cd0 (diff) | |
[FIX] test_assetsbundle: Properly unpatch ir.attachment
`_patch_method` and `_revert_method` do not work properly.
This commit fixes a test which patches `create` and `unlink`
of `ir.attachment`.
The methods are not correctly unpatched.
One consequence:
if a module is installed after this test is executed and
the new module overrides `create` and `unlink`, the overritten
methods are never called.
closes odoo/odoo#33952
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
