-
- Downloads
[IMP] delivery, sale: improvements in recomputing of shipping cost
The "Recompute shipping cost" button will now reopen the wizard to be able to change carrier. When adding to the order, it will replace the current shipping cost. Relabelled the "Recompute shipping cost" to “Update Shipping Cost” and moved it to the right. Shipping method field will have radio widget and cost will be editable in the wizard. Also, it was not allowed to delete a delivery line when the order was confirmed ('sale' state). So here, as we want to allow user to change the carrier even after the order is confirmed, we have allowed delivery line to be deleted so that new line is added in place of that. task-2033229
Showing
- addons/delivery/models/sale_order.py 22 additions, 19 deletionsaddons/delivery/models/sale_order.py
- addons/delivery/views/delivery_view.xml 6 additions, 4 deletionsaddons/delivery/views/delivery_view.xml
- addons/delivery/wizard/choose_delivery_carrier.py 31 additions, 16 deletionsaddons/delivery/wizard/choose_delivery_carrier.py
- addons/delivery/wizard/choose_delivery_carrier_views.xml 16 additions, 11 deletionsaddons/delivery/wizard/choose_delivery_carrier_views.xml
- addons/sale/models/sale.py 12 additions, 7 deletionsaddons/sale/models/sale.py
Loading
Please register or sign in to comment