Skip to Content
Menu
This question has been flagged

Every time my customer adds a new shipping address the odoo creates a child delivery contact.

I have many customers who placed more than 100 orders with different delivery addresses. What I am looking for is; Does odoo v15 or v16 have any configuration that allows me to set only one contact with a limited number of shipping addresses will be saved?

If yes, then guide me to where is it.
If not, then what should be the best way and how to customize it?

Thank you in advance for your time.

Avatar
Discard
Best Answer

If your team is creating the Sales Orders via the backend, there is a solution that may work.

Via CONTEXT, you can set the "Active" field on the newly created Contact to be FALSE, so that it is archived by default.

Do this on the partner_shipping_id field so that newly created addresses (created inline while the Sales Order is being created) are not visible without explicitly filtering for archived records. 



Avatar
Discard
Best Answer

Nope, this is how Odoo works. When you add a new address Odoo forces you to add a new contact record to the original contact record, of type Delivery. FOr what it's worth, most general eComme/ERP systems do this. Some look a little different and the UI makes it look nicer. but they're doing the same thing, creating multiple sub-records to the main record.

Avatar
Discard
Related Posts Replies Views Activity
4
May 22
8871
1
Oct 24
665
2
Sep 24
848
2
Mar 23
1825
0
Nov 24
580