summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-04-02 06:45:54 +0000
committerRaphael Collet <rco@odoo.com>2020-04-03 11:40:28 +0000
commit3ecb6fdcb0efcade41b9a6342718800b3293e4bf (patch)
treeb0a8b291674dfc98629e024f0a1485b598b19d12 /odoo/fields.py
parent892e3df7010729da96278becbec29d7fe1f0985d (diff)
[IMP] core: optimize `model._auto_init()` on a new model
Create the table with all the columns from scratch, with the NOT NULL constraint when required. Also do not call `_check_removed_columns()` on a new table. This saves 0.5% of the total installation time. X-original-commit: 0727cacf5194a143b15ab4cb9893f3035a67be1f
Diffstat (limited to 'odoo/fields.py')
0 files changed, 0 insertions, 0 deletions