Cedric Collins
24721b0bd4
[IMP] website_sale_payment_terms: keep default terms on order
...
1. Keep default payment terms on order at checkout
2. Do not set terms on order until user agrees to conditions
3. Make date context-aware for terms amount calculation
2022-03-04 18:56:51 -06:00
Cedric Collins
89ad4aa4e3
[IMP] website_sale_payment_terms: only show order term selected and calculate amount due based on threshold
2022-02-15 15:26:10 -06:00
Cedric Collins
e4b3631565
[MIG] website_sale_payment_terms: migrate to 15.0
...
1. Use new web assets management
2. Set company currency in unit tests
3. Refactor payment transaction creation
2022-01-27 17:57:17 -06:00
Cedric Collins
862914cd69
[MIG] website_sale_payment_terms: migrated to 14.0
...
H5924
2022-01-27 18:05:22 +00:00
Cedric Collins
b94b27e33f
[FIX] website_sale_payment_terms: use amount_due_today to validate confirm without payment
...
H5924
2022-01-27 18:05:22 +00:00
Cedric Collins
b79f9487b9
[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
2022-01-27 18:05:22 +00:00
Cedric Collins
7d758539c0
[IMP] website_sale_payment_terms: remember term choice and restore Return to Cart button
...
H5924
2022-01-27 18:05:22 +00:00
Cedric Collins
2372eeff83
[FIX] website_sale_payment_terms: calculate amounts based on term lines
...
add unit tests
refactor JS widget
H5924
2022-01-27 18:05:22 +00:00
Cedric Collins
4320de51e9
[IMP] website_sale_payment_terms: leave payment button disabled if other modules set disabled reasons
2022-01-27 18:05:21 +00:00
Cedric Collins
14c61df176
[IMP] website_sale_payment_terms: refactor js into widget to facilitate inheritance
2022-01-27 18:05:21 +00:00
Cedric Collins
99f8871ba4
[FIX] website_sale_payment_terms: give public user read access to payment terms
2022-01-27 18:05:21 +00:00
Cedric Collins
cb0c6361cc
[ADD] website_sale_payment_terms: allow ecommerce customers to choose payment terms
...
H4799
2022-01-27 18:05:21 +00:00