Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Delivery address Sales Order issue

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
salesAdress
3 Răspunsuri
1925 Vizualizări
Imagine profil
J.C.J.M. Oomen

When I make an order and have to select a delivery address I get every address from my contacts in the dropdown menu, also the ones which have nothing to do with this specific customer.


Could someone explain to me if it is possible in Odoo Online (v18) to adjust with Studio the delivery address field in a sales order so that only the delivery addresses from the selected customer are being shown instead of all the addresses which I currently have in my database?


Thank you in advance!


0
Imagine profil
Abandonează
Alexander Karg

i have the same problem! :-(

J.C.J.M. Oomen
Autor

Dear Abhay,

Thank you very much for your response.

When I try to add the domain in the domain field I get a pop-up where I can set a domain using a rule, I can not just add the code in the domain field.

I also tried pasting the code in the code editor field, unfortunaly this also does not work.

Am I missing something?

Thank you in advance!


Imagine profil
D Enterprise
Cel mai bun răspuns

Hii,

Open Odoo Studio 

Open the Sales Order form view.

Click on the "Delivery Address" field (partner_shipping_id).

In the right-side panel, scroll to "Domain" or "Filter domain" (depends on the version).

Add the following domain filter:

[('type', '=', 'delivery'), ('parent_id', '=', partner_id)]

type = delivery ensures only delivery addresses.

parent_id = partner_id ensures the contact belongs to the selected customer.

Save the changes and exit Studio.
i hope it is use full

0
Imagine profil
Abandonează
Imagine profil
Abhay Singh
Cel mai bun răspuns

Yes, in Odoo Online (v18) using Odoo Studio, you can limit the Delivery Address field in a Sales Order so it only shows addresses related to the selected customer (partner). Here's how you can add a domain filter using Odoo Studio:

  • Go to Sales > Orders > Sales Orders.
  • Open any Sales Order or create a new one.
  • Click the Studio (wrench icon) in the top-right corner.
  • Click on the "Delivery Address" field (it's a Many2one to res.partner).
  • In the right panel, scroll to the "Domain" section.
  • Add the domain: [('parent_id','=',partner_id)]
  • Close Studio.


Thanks,
Abhay

2
Imagine profil
Abandonează
Imagine profil
Robert Beviss-Challinor
Cel mai bun răspuns

Hi! This doesn't work for me. I get a domain error:

"Domain is invalid. Please correct it."

I copied exactly what you said in the domain code editor:

[('parent_id','=',partner_id)]

I also don't understand why this doesn't work. It makes sense. I'm trying to filter the list where contacts have a parent set against them that is the main contact selected for the sales order / quotaiton.

Help!

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Is there a way to sell the same product both as a recurring subscription and as a one-time purchase?
sales
Imagine profil
Imagine profil
1
nov. 25
276
How to allow quotation requests (RFQ) from the eCommerce instead of direct sales
sales
Imagine profil
Imagine profil
Imagine profil
2
nov. 25
1091
Cannot make Sales Quotation to one Customer
sales
Imagine profil
Imagine profil
2
nov. 25
470
Products Image
sales
Imagine profil
Imagine profil
2
oct. 25
521
Edit the Sign & accept quotation button
sales
Imagine profil
0
oct. 25
1481
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now