diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-05-15 11:54:27 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-05-15 11:54:27 +0000 |
| commit | 89683994ac4a9becc982fc3e37c8b9644a3c1362 (patch) | |
| tree | 5ab1ffc336da6e309cb9405b38f19c5a98b16819 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 43295c2a3741fb98f9c5d1a506652442efed0a82 (diff) | |
[FIX] website_sale_delivery: delivery amount
- Go to the website settings and activate the option 'Tax-Included' for
the pricing in the website.
- Go to Sales > Configuration > Delivery methods and create a new method
based on rules. For example:
Price is 10.0 when the weight <= 100
Attach a product (with taxes) to it.
- Publish on website
- Buy a product on the eCommerce
- Checkout, go up to payment step and choose the delivery method created
The 'Delivery:' field on the left shows the delivery price with taxes
excluded although they are included. Funny thing: going back to the
'Address' step show the correct price.
This is because the `delivery_price` field does not take into account
the tax configuration.
We can use the `amount_delivery` field (hum hum) which does it
correctly.
opw-1981808
closes odoo/odoo#33394
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
