Commit Graph

9 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
5d2749772e Merge branch 'imp/13.0/website_sale_payment_terms__refactor_js' into '13.0'
imp/13.0/website_sale_payment_terms__refactor_js into 13.0

See merge request hibou-io/hibou-odoo/suite!1069
2021-10-22 18:45:27 +00:00
Cedric Collins
24d1b05931 [IMP] website_sale_payment_terms: leave payment button disabled if other modules set disabled reasons 2021-09-28 14:36:02 -05:00
Cedric Collins
7c6c933f96 [IMP] website_sale_payment_terms: refactor js into widget to facilitate inheritance 2021-09-27 21:21:29 -05:00
Cedric Collins
1f69eaf1ad [FIX] website_sale_payment_terms: give public user read access to payment terms 2021-09-27 11:11:19 -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