summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
authorThibault Francois <tfr@openerp.com>2020-07-29 11:55:03 +0000
committerDamien Bouvy <dbo@odoo.com>2020-08-21 15:33:06 +0000
commit458c26ae18e411fbf638e1df5f9a91a271e85177 (patch)
treec9a14a5462f1970048f37d130adcf439e6a1d11d /doc/reference/javascript_cheatsheet.rst
parent0190b6c4929bd8dee0210f5deb9d17b259b57c64 (diff)
[FIX] website_sale, payment: perf issue when displaying tokens
Problem: the controller rely on record rules to select the payment.token to be displayed on the payment page. This works fine with portal user, but internal user will face client side performance issue as they can see all the token of the database Solution: Don't rely on record.rule in the controller. Use the domain from the portal user rule in the search. To make the search of token working for partners with more than 2 levels of hierachy, use child_of operator closes odoo/odoo#56326 X-original-commit: 3999e249ea9902e009f0366949886e14e3d7fdf4 Related: odoo/enterprise#12579 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions