Commit Graph

9 Commits

Author SHA1 Message Date
Cedric Collins
6195415371 [MIG] website_sale_payment_terms: migrated to 14.0
H5924
2021-11-01 15:35:03 -05:00
Cedric Collins
14622b9127 [FIX] website_sale_payment_terms: use amount_due_today to validate confirm without payment
H5924
2021-11-01 20:12:06 +00:00
Cedric Collins
ae43ea3674 [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-11-01 20:12:05 +00:00
Cedric Collins
a6e292bcbe [IMP] website_sale_payment_terms: remember term choice and restore Return to Cart button
H5924
2021-11-01 20:12:05 +00:00
Cedric Collins
6eefda5d82 [FIX] website_sale_payment_terms: calculate amounts based on term lines
add unit tests
refactor JS widget
H5924
2021-11-01 20:12:05 +00:00
Cedric Collins
83e6e1355b [IMP] website_sale_payment_terms: leave payment button disabled if other modules set disabled reasons 2021-11-01 20:12:05 +00:00
Cedric Collins
cd02420f14 [IMP] website_sale_payment_terms: refactor js into widget to facilitate inheritance 2021-11-01 20:12:05 +00:00
Cedric Collins
802ea5fcb8 [FIX] website_sale_payment_terms: give public user read access to payment terms 2021-11-01 20:12:05 +00:00
Cedric Collins
4b7c394aef [ADD] website_sale_payment_terms: allow ecommerce customers to choose payment terms
H4799
2021-11-01 20:12:05 +00:00