This question has been flagged
2 Replies
5401 Views

When I select a Customer with more than one Shipping Address in a Sales Order, Odoo decides which Shipping address by default.

Can you tell me the logic that is being used to decide which one to show?


Avatar
Discard
Author

How about being able to select the default by checking boolean on one of these addresses? Alphabetical order won't be a preference usually.

Author Best Answer

It is the alphabetically first Shipping address that is found on the Contacts & Addresses tab, or the address of the Customer if none can be found. 

CONTACT NAME is used to alphabetize - so if you have two shipping addresses with the CONTACT NAME on each set to "Shipping & Receiving Dock" or "Attn: Mark", then in that case, "Attn: Mark" would be chosen before "Shipping & Receiving Dock".

You can add numbers to the start of the CONTACT NAME field, or just enter a number in that field. 

If CONTACT NAME starts with or is equal to 1, it will be chosen before CONTACT NAME starting with or equal to 2, etc.

Avatar
Discard
Best Answer

This trick doesn't work in V16

Avatar
Discard