summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/controllers
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2018-07-09 14:56:28 +0200
committerLucas Perais (lpe) <lpe@odoo.com>2018-07-10 11:51:00 +0200
commit7384401e6365b9b00080154491cbbcc321d9719e (patch)
tree0f8c8472b68aded4a96a4d75cd42304c8063c215 /addons/auth_oauth/controllers
parent24e01664d414313e6298f007efb1ed7cba126c20 (diff)
[FIX] website_sale_delivery: we shouldn't be able to pay if there is no delivery method
Have some delivery method that do not apply to the country of the customer Before this commit, the customer could access the Pay now button and confirm the sale In v10.0 this was impossible as the retrieval of errors in python wiped out the variables that would make the xml element of the payment not to render In v11.0 this has changed in a more modular manner After this commit, we hide the element in html. OPW 1864744 Two use cases are dealt with: Should hide payment AND display errors when order contains deliverable product Should show payment AND not display errors when order contains only services (event tickets) Linked v10.0 PR #25692 closes #25679
Diffstat (limited to 'addons/auth_oauth/controllers')
0 files changed, 0 insertions, 0 deletions