[IMP] payment_payumoney, payment_stripe: set private fields accessible to employees only
In 8.0 private fields have been recently set as visible only to employees at commit b2265108. However between v9 and v10 two new payment acquirers have been implemented payumoney and stripe. Those addons now have their credential set as private. Methods using the acquirers have been sudoed accordingly to avoid access issues when rendering the buttons. Other payment modules will be updated when the forward port from 8 to 9 and pre-10-master will be done.
Showing
- addons/payment_payumoney/models/payment.py 2 additions, 2 deletionsaddons/payment_payumoney/models/payment.py
- addons/payment_stripe/models/payment.py 3 additions, 3 deletionsaddons/payment_stripe/models/payment.py
- addons/website_payment/controllers/main.py 1 addition, 1 deletionaddons/website_payment/controllers/main.py
Please register or sign in to comment