Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

Choosing an existing contact as default invoice or delivery address

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
addressinvoicecontactdelivery
2 Odpowiedzi
3849 Widoki
Awatar
Valentin Lazar

Hello,

I'm trying to implement the Sales module now. When I make an order to a company (Company X), I'd like the invoice and delivery addresses to include the name of a specific contact (Cool Dude). However, if I already have a contact for Cool Dude, I don't want to see two other contacts with the same name just for the purposes of invoice address and delivery address. 

Is there a way to set an existing contact as the default address for delivery and invoicing? 

I know there is the feature to select a specific invoice and delivery address on each order, but I don't want to have to select Cool Dude every time I create an order for this customer. 

What options do I have?


We are using Odoo Online, so please, only solutions that use Odoo Studio.

0
Awatar
Odrzuć
John Neighbors

Ping! I'd like to see an answer to your question as well.

Awatar
Cybrosys Techno Solutions Pvt.Ltd
Najlepsza odpowiedź

Hi,

In Odoo, you can set default delivery and invoice addresses for a company by configuring them in the Contacts & Addresses tab within the main contact (company) form. To do this, open the parent company’s contact record, go to the Contacts & Addresses tab, and ensure the related contacts (e.g., "Cool Dude") are listed as child contacts with the appropriate Address Type set—either “Invoice” or “Delivery.” When these address types are properly assigned, Odoo will automatically use those contacts as the default invoice and delivery addresses when you create a sales order, purchase order, or invoice for that company.


Hope it helps

0
Awatar
Odrzuć
Awatar
Gracious Joseph
Najlepsza odpowiedź

To set an existing contact as the default invoice or delivery address for a company in Odoo Online (using Odoo Studio), follow these steps:

1. Understand Address Fields in Odoo

  • Odoo’s Sales module allows you to associate specific invoice and delivery addresses with a customer.
  • These addresses are typically linked to the Parent Company and stored as child contacts (e.g., type='invoice' or type='delivery').

2. Use Odoo Studio to Set Defaults

Since you are using Odoo Online, Odoo Studio can help configure these defaults.

Steps:

  1. Activate Odoo Studio:
    • Go to your Sales > Customers menu.
    • Open Odoo Studio by clicking the Studio icon in the top-right corner.
  2. Open the Customer Form View:
    • In Studio, navigate to the form view of the customer.
    • Ensure the Contact & Addresses section is visible.
  3. Add Fields for Default Invoice and Delivery Contacts:
    • Drag and drop Many2one fields onto the form.
    • Configure these fields:
      • Field for Default Invoice Contact:
        • Related Model: res.partner.
        • Field Name: x_default_invoice_contact.
        • Label: "Default Invoice Contact".
      • Field for Default Delivery Contact:
        • Related Model: res.partner.
        • Field Name: x_default_delivery_contact.
        • Label: "Default Delivery Contact".
  4. Set Default Values:
    • Once the fields are added, edit the customer record for Company X.
    • Select the existing contact (e.g., Cool Dude) as the default invoice and delivery contact.

3. Automatically Populate Sales Orders

You need to use Studio's automation features to automatically populate the invoice and delivery address fields on Sales Orders.

Steps:

  1. Add an Automated Action in Studio:
    • In Studio, create an Automated Action for the Sales Order model (sale.order).
    • Configure the action:
      • Trigger Condition: "On Creation".
      • Python Code:
        if record.partner_id.x_default_invoice_contact:
            record.partner_invoice_id = record.partner_id.x_default_invoice_contact
        if record.partner_id.x_default_delivery_contact:
            record.partner_shipping_id = record.partner_id.x_default_delivery_contact
        
  2. Save and Test:
    • Save the action.
    • Create a new Sales Order for Company X, and verify that the default invoice and delivery addresses are automatically populated.

4. Optional: Adjust the Customer Form View

To avoid confusion when managing customer records, you can hide or disable the system-generated "Invoice Address" and "Delivery Address" fields in the form view. Use Studio to ensure your custom fields are prominent.

5. Benefits of This Approach

  • Reuses Existing Contacts: Avoids creating duplicate contacts for the same person.
  • Saves Time: Automatically sets invoice and delivery addresses without manual selection for each Sales Order.
  • Uses Studio: Fully compliant with Odoo Online’s no-code/low-code approach.

6. Troubleshooting

  • If the automation doesn’t work as expected:
    • Verify that the x_default_invoice_contact and x_default_delivery_contact fields are properly populated in the customer record.
    • Check for errors in the automated action configuration.

By implementing these changes, you can efficiently manage default addresses for your customers in Odoo Online without creating redundant contact records. Let me know if you need further assistance!

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How can I display the Delivery Address on the invoice? Rozwiązane
address invoice v7 delivery
Awatar
Awatar
Awatar
Awatar
Awatar
5
mar 15
22316
Display Contact in the delivery address as printed on delivery slip
address delivery
Awatar
0
paź 22
2811
Show only selected customer's associated addresses in invoice/shipping address fields
address invoice
Awatar
Awatar
Awatar
Awatar
Awatar
4
sie 22
8739
How to show address in invoice? please help Rozwiązane
address invoice customer
Awatar
Awatar
1
lut 23
4195
How can I transfer a custom field from the customer record to the Invoice PDF report?
address invoice report
Awatar
Awatar
Awatar
3
gru 22
4300
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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