[FIX] openerp: don't ignore active field on new views when updating a module
authorDavid Monjoie <dmo@odoo.com>
Thu, 27 Nov 2014 08:52:17 +0000 (09:52 +0100)
committerDavid Monjoie <dmo@odoo.com>
Thu, 27 Nov 2014 08:52:17 +0000 (09:52 +0100)
commitf1c70d4cc943ac4eb81a85a9dc005de34cd2060a
treed5640b060f1765d46562b9efd75f5c9b0d88b6d5
parent9bc712b07582f8eccc1c8311c87ee4dad996d01f
[FIX] openerp: don't ignore active field on new views when updating a module

Without this fix, if you have a new view in a module with active=False, the active tag will be ignore when upgrading the module because of 'update' mode, and the view will be activated by default !
openerp/tools/convert.py