Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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. 



Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
maj 22
9396
1
paź 24
1195
2
wrz 24
1527
2
mar 23
2402
0
lis 24
1022