summaryrefslogtreecommitdiff
path: root/addons/stock/static/src/js/inventory_validate_button_controller.js
diff options
context:
space:
mode:
authorRobot Odoo <xmo+roboto@odoo.com>2019-05-29 23:27:53 +0200
committerGitHub <noreply@github.com>2019-05-29 23:27:53 +0200
commitbe2795513644f09f6b443f462bb67cc5a0762e8d (patch)
tree3c24844df7072ba840d93fb1f2b141ad7a507fa3 /addons/stock/static/src/js/inventory_validate_button_controller.js
parent49ac956b34df7fbe4b2c51fd981787c9967f28a0 (diff)
parentde7c119e666d108564b3889d1c08e5bf2e4da082 (diff)
[MERGE] mail, various: improve post and notification API and performances
Purpose of this merge is to clean and improve performances of post and notification mechanism contained in mail application. In this merge we provide * centralization of notification code inside mail.thread instead of being dispatched in mail.thread, mail.message and res.partner; * simplification of call chain, removal of unnecessary methods; * better propagation of messages value through the various calls in order to use given value and avoid browse and cache miss adding queries; * optimization of attachments management in post; * cleaning of message_post now limited to records and simplified in its management of parameter; * cleaning and simplification of recipients grouping for email notification; * cleaning of message_notify; * various code cleaning and tweaking in order to reduce query count; Performance tests indicate number of queries did fall, especially in use cases involving management of followers and attachments. See sub commits for more details. This merge is linked to task ID 1943901. closes odoo/odoo#32404 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/stock/static/src/js/inventory_validate_button_controller.js')
0 files changed, 0 insertions, 0 deletions