How to clear view cache in OpenERP 7.0
OpenERP 7.0 has been storing forever some of my custom module views. I found this - bizarre - way to update them.
Access the database you're using and run the SQL instruction below.
UPDATE ir_ui_view SET arch = '<?xml version="1.0"?><data></data>' WHERE name LIKE 'MY_CUSTOM_MODULE.%';
Then update your custom module by restarting the server with "-u MYCUSTOMMODULE" or update it via GUI.
p.s. I don't know why you can't just delete this records from the database.
Written by Daniel Hartmann
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#