diff options
| author | Thibault Francois <tfr@openerp.com> | 2020-01-30 14:17:13 +0000 |
|---|---|---|
| committer | Thibault Francois <tfr@openerp.com> | 2020-01-30 17:02:07 +0000 |
| commit | c70de411a5e3bc0bc461ced806c888dc779d29fb (patch) | |
| tree | d733d89aa6cbfb7c734a7177a5a46a68f0101ee8 /doc/python3.rst | |
| parent | 9fb2dad97cfbd412bee3cb5d1358a9835e721f60 (diff) | |
[FIX] payment: don't show unwanted payment token
The access right on payment_token is based on the partner_id
linked with the user
If there is token link with the public user,
they are shown for every request were the partner_id is not defined
If you are logged with an internal user with sales access right,
you'll see all the payment_token linked with the acquirer
We should avoid both situation and show only the payment_token
from the legit partner_id
the one of the current user or the one given as parameter
closes odoo/odoo#44346
X-original-commit: 9edad5d9018ae357e955a5e21e9366e56caa8e31
Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Co-authored-by: Damien Bouvy <dbo@odoo.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
