diff options
| author | nie <nie@odoo.com> | 2020-12-02 10:08:54 +0000 |
|---|---|---|
| committer | nie <nie@odoo.com> | 2020-12-03 10:49:12 +0000 |
| commit | c1949169b2634b223dcf05d99841e6e2ce972dba (patch) | |
| tree | 786467118671a85e6f88caeb464b4401d5e87093 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 8520a3ef14dd1e79ace1dea70eebeffb4f21f0eb (diff) | |
[FIX] website_sale_delivery: tax not included in delivery options
Steps:
- Install eCommerce and a delivery method (here, UPS)
- Go to Website > Configuration > Settings
- Select Pricing > Product Prices > Tax-Included
- Go to Configuration > eCommerce/Shipping Methods
- Click UPS US and publish it
- Go to the eCommerce
- Add a product to the cart (here, Customizable Desk)
- Click My Cart > Process Checkout
- UPS has a delivery price
- Select UPS
Bug:
The delivery price of the UPS line has changed
Explanation:
When we first arrive to the delivery selection, prices are computed by calling the carrier's API and are shown straight away. However, when a list item is clicked, a "Delivery" sale order line is generated and the price on the list is copied from that sale order line.
Before 13.0, we explicitly asked customers to click on a delivery method to see its price. Now, it's automatically computed. This fix makes sure the taxes are applied to the delivery prices before clicking on them.
opw:2392281
closes odoo/odoo#62801
X-original-commit: bc2615d8ab5135f21c488c5a260c59605b0da498
Signed-off-by: backspac <backspac@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
