diff options
| author | Thomas Groutars <tgr@odoo.com> | 2015-03-24 13:39:20 +0100 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2015-06-15 12:19:52 +0200 |
| commit | 5c0bfaafd10303a9df6e7b857f92a5dc3cf71f7c (patch) | |
| tree | 873e094c72d3bf471d03696951de56140ccd647d /openerp/addons/base/base.sql | |
| parent | b8527edcd245cb87e47e51994f8930a9174965d0 (diff) | |
[IMP] ir_model: enable the creation of transient custom models
Rename the field 'osv_memory' on 'ir.model' into 'transient', and make it a
regular field instead of a computed one. When instantiating a custom model,
use its value to make transient models.
This commit alone will make your server crash on an existing database. A small
database migration is needed: simply add a boolean column `transient` (with
default value false) in table `ir_model`.
Diffstat (limited to 'openerp/addons/base/base.sql')
| -rw-r--r-- | openerp/addons/base/base.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openerp/addons/base/base.sql b/openerp/addons/base/base.sql index 2547a7309e1..7084148885b 100644 --- a/openerp/addons/base/base.sql +++ b/openerp/addons/base/base.sql @@ -19,6 +19,7 @@ CREATE TABLE ir_model ( name varchar, state varchar, info text, + transient boolean, primary key(id) ); |
