diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-09-07 08:26:37 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-09-10 14:24:03 +0000 |
| commit | c05aac9f2580b4377302fc10824730ef35ead40a (patch) | |
| tree | 1b16996cf24bb00ffe1e1d9dddb79070060dfc58 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f1f48cdaab3dd7847e8546ad9887f24a9e2ed4c1 (diff) | |
[FIX] delivery: No option of delivery packaging when "Based on Rules"
Issue
- Ensure that the provider of "The Poste" delivery method is "Based on Rules".
- Create a quotation with "The Poste" as shipping method.
- Confirm, then click on "Delivery" stat button.
- Click on "Put in Pack" and create a "Delivery Packaging".
- Save, go back to quotation and duplicate it.
- Confirm, then click on "Delivery" stat button.
- Click on "Put in Pack".
The "Delivery Packaging" created previously is not available.
Solution
If 'current_package_carrier_type' is equal to 'fixed' or 'base_on_rule',
replace it by 'none' since there are the equivalents in
'package_carrier_type' for 'delivery_type'.
Related fix : https://github.com/odoo/odoo/pull/37427
opw-2310258
closes odoo/odoo#57435
X-original-commit: 5898d31025eacad3e8c37f7a105e20c81831ed17
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
