summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2020-06-26 12:37:59 +0000
committerDamien Bouvy <dbo@odoo.com>2020-07-14 09:32:57 +0000
commitc547f12efb24273c90661874a1a476202561d3aa (patch)
treecb2443718a4da174a3b4858661e9205006038afe /addons/mail/static/src/models/thread_cache/thread_cache.js
parent12be28755209f024a0a267b73c0a905e5fd32ea9 (diff)
[FIX] sale: set and propagate payment type in payment flow
The payment.transaction type field allows filtering some potential payment methods down the line of a transaction being created; e.g. if a subscription product is present in a quote, the payment's type should be `form_save` to save the payment token for future use on the subscription that will be created at confirmation. The transaction that got created by sale flows did not set the type of the transaction correctly, and this value was not propagated to the rendering values of the acquirer. It now is. This is necessary as part of task 2275051, where we need to know which payment methods to enable in Stripe depending on a need for tokenization or not (since some methods are not tokenizable). closes odoo/odoo#54426 X-original-commit: 09dbbd77d83332c48f62b1c36c3b33ddbfa3a4eb Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions