summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2020-01-30 15:41:21 +0000
committerSimon Lejeune <sle@openerp.com>2020-02-01 09:49:33 +0000
commitaca23d578e7404fa03d0ef5ddc26ad09997d77bc (patch)
treea1beeed1e36c08aa53c793e0466918db732bc891 /addons/web/static/src/js/views/basic/basic_controller.js
parent86771472fdbfc8db5dc798f768b807da9d440c2a (diff)
[REF] stock, stock_account: indices for fast move unlink
Stock moves records can be unlinked in some cases, for example when confirming a move containing a kit, the original move is unlinked and replaced by the moves of the components of the kit. This commit adds two indices to accelerate the unlink of stock move records. The fields were the indices are added are foreign key on stock move, and postgres checks the foreign keys of the rows before deleting them. closes odoo/odoo#44426 X-original-commit: e34a176dd438fe0f4f1a384889bfdc196f2c4b4f Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions