İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2612 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
May 22
9400
1
Eki 24
1206
2
Eyl 24
1537
2
Mar 23
2410
0
Kas 24
1024