summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2020-02-20 10:08:57 +0000
committerVictor Feyens <vfe@odoo.com>2020-02-20 14:51:13 +0000
commitd3bbe14c8df4852f7796669c45ad18341ace3916 (patch)
treea5797e27dd3d64d1a9dd9b2d2fe6a8ccb033b0b4 /addons/web/static/src/js/views/basic/basic_controller.js
parent5ccdc1540dace950c024dce0fb7a130cdca4be15 (diff)
[IMP] product: improve creation performance.
The default product category and uom should be fixed on generic undeletable records (in data files). And by caching those default values, we can gain up to 20% time when creating products without providing uom and categories. Also remove the unnecessary defaults on the compute fields, which do the same as the compute (and have no use because it is a non stored field). closes odoo/odoo#45791 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions