[FIX] orm._auto_init: fallback to copy method when altering in-place varchar columns...
authorChristophe Simonis <chs@openerp.com>
Mon, 17 Feb 2014 18:20:45 +0000 (19:20 +0100)
committerChristophe Simonis <chs@openerp.com>
Mon, 17 Feb 2014 18:20:45 +0000 (19:20 +0100)
commitd60cf404ca5f7b3cf776fa04a14f362bcebf89a9
tree0c6302af7aa9c34b203a36108d2ac16e7c9aaccd
parenta5b51c2be7f94b7d818fc4b52f95c5573fcf6507
[FIX] orm._auto_init: fallback to copy method when altering in-place varchar columns failed.

When a varchar column has a dependence on a view, we cannot change the size in-place,
we need to manually re-create the column with the correct type.

bzr revid: chs@openerp.com-20140217182045-qor70r3gb0fch2ki
openerp/osv/orm.py
openerp/sql_db.py