diff options
| author | jerome hanke (jhk) <jhk@odoo.com> | 2020-05-26 13:19:06 +0000 |
|---|---|---|
| committer | jerome hanke (jhk) <jhk@odoo.com> | 2020-05-27 09:25:16 +0000 |
| commit | 69c7303b712e7bcedfb5e4c575883915af8ddc2d (patch) | |
| tree | cd32054b51c67dbebee7d76dad2ee7dd129ff926 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 4e1399dc0d292da3a2e05efc3dc0a53d2f9a030f (diff) | |
[FIX] website_sale: default website team is set trough onchange
Steps to reproduce:
- Install eCommerce
- Check in website setting that the sales team is website
- Logout
- Without being logged, buy a product (all the cart flow, until the end)
- Once the flow is finished, connect with the admin
- Go to website > Orders > Unpaid Orders (since only wired is set when you create the db)
- Go to the tab "Other Info" of the SO you just created when buying the product
Previous behavior:
the sales team set in website settings is overriden during the
"/shop/address" endpoint
Current behavior:
the team set in website settings is used for sale orders coming from website
opw-2231654
closes odoo/odoo#51959
X-original-commit: 919077638bc9e8a5ad1c800b629aa0eaa079f571
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: mightyjol <jhk-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
