Skip to Content
Menu
This question has been flagged
2 Replies
2198 Views

Hi,

i am looking for some help to set the carrier on delivery orders based on some rules. For example when i have a delivery order for Germany, i would like to set automatically the Shipping Carrier to "Germany post".


Is there any possibility to create some rules that are applied on the Sales order and are applies when i create an delivery order.


Thanks,
Dan

Avatar
Discard
Best Answer

You could create automated actions .. from your example 

Model - Transfer
Trigger - On Creation & Update
Before Update Domain - Contact > Country Code = "DE"

Data to Write
Field - Carrier (stock.picking)
Evaluation Type - Reference
Record - "Germany Post"

Avatar
Discard
Author

Dear Jaideep,
many thanks for your reply. That is exactly what i was looking for.

Can you please guide from where i can create the automated action. I checked in the Settings -> Technical -> Action.

But i did not find the automated actions. I found Window and Server Actions. None of both allow me to Trigger 'On Creation & Update'.

You might need to install the module Automated Action Rules from Apps. Post that you would be able to create from Settings > Technical > Automated action

Best Answer

In Odoo, carriers are used to manage the shipping process of a delivery order. The system allows you to set up rules for carriers, which define how the delivery cost is calculated and which carrier is used for a specific delivery order.

Here are a few examples of rules that can be set up for carriers in a delivery order:

  1. Delivery cost based on weight: The cost of the delivery is calculated based on the weight of the products in the order.

  2. Delivery cost based on delivery address: The cost of the delivery is calculated based on the delivery address of the order.

  3. Delivery cost based on order total: The cost of the delivery is calculated based on the total value of the order.

  4. Delivery cost based on specific product: The cost of the delivery is calculated based on a specific product or category of products in the order.

  5. Delivery cost based on carrier: The cost of the delivery is calculated based on the carrier used for the delivery.

  6. Free delivery: Orders that meet certain criteria, such as a minimum order value, may qualify for free delivery.

  7. Delivery times: You can set delivery times for specific carriers, so that customers can choose a delivery time that suits them.

  8. Delivery zones: You can set up delivery zones for specific carriers, so that customers can only choose a carrier that delivers to their area.

These are examples of the rules that you can create for carriers in delivery order in Odoo but depending on the specific needs of your business, you may have different rules.

You can also use the "delivery" module in odoo which gives you more flexibility in setting the rules for the carrier and also it calculates the cost of delivery based on different criteria such as weight, volume, price, quantity and more.

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 24
127
4
Jan 23
2252
1
Dec 22
1106
1
Oct 20
8013
0
Oct 19
2914