Commit Graph

5 Commits

Author SHA1 Message Date
Cedric Collins
a2a62b780f [FIX] website_sale_payment_terms: use amount_due_today to validate confirm without payment
H5924
2021-10-26 11:09:38 -05:00
Cedric Collins
b41e2c5783 [FIX] website_sale_payment_terms: fix errors in the payment process
* clear order terms if user rejects agreement
* set payment transaction amount to amount_due_today
* fix bad view inheritance spec
* fix default selected term when partner_term is not in website_terms
* do not render payment bypass form if amount_total is 0

H5924
2021-10-25 13:41:51 -05:00
Cedric Collins
2ed501ce2f [IMP] website_sale_payment_terms: remember term choice and restore Return to Cart button
H5924
2021-10-23 15:49:24 -05:00
Cedric Collins
94bbc7c8e9 [FIX] website_sale_payment_terms: calculate amounts based on term lines
add unit tests
refactor JS widget
H5924
2021-10-22 20:14:00 -05:00
Cedric Collins
0fa4922c5f [ADD] website_sale_payment_terms: allow ecommerce customers to choose payment terms
H4799
2021-01-22 14:16:21 -06:00