Zum Inhalt springen
Odoo Menü
  • Anmelden
  • Jetzt gratis testen
  • Apps
    Finanzen
    • Buchhaltung
    • Rechnungsstellung
    • Spesenabrechnung
    • Tabellenkalkulation (BI)
    • Dokumente
    • E-Signatur
    Vertrieb
    • CRM
    • Vertrieb
    • Kassensystem – Shop
    • Kassensystem – Restaurant
    • Abonnements
    • Vermietung
    Websites
    • Website-Builder
    • E-Commerce
    • Blog
    • Forum
    • Livechat
    • E-Learning
    Lieferkette
    • Lager
    • Fertigung
    • PLM
    • Einkauf
    • Wartung
    • Qualität
    Personalwesen
    • Mitarbeiter
    • Personalbeschaffung
    • Abwesenheiten
    • Mitarbeiterbeurteilung
    • Personalempfehlungen
    • Fuhrpark
    Marketing
    • Social Marketing
    • E-Mail-Marketing
    • SMS-Marketing
    • Veranstaltungen
    • Marketing-Automatisierung
    • Umfragen
    Dienstleistungen
    • Projekte
    • Zeiterfassung
    • Außendienst
    • Kundendienst
    • Planung
    • Termine
    Produktivität
    • Dialog
    • Genehmigungen
    • IoT
    • VoIP
    • Wissensdatenbank
    • WhatsApp
    Apps von Drittanbietern Odoo Studio Odoo Cloud-Plattform
  • Branchen
    Einzelhandel
    • Buchladen
    • Kleidergeschäft
    • Möbelhaus
    • Lebensmittelgeschäft
    • Baumarkt
    • Spielwarengeschäft
    Essen & Gastgewerbe
    • Bar und Kneipe
    • Restaurant
    • Fast Food
    • Gästehaus
    • Getränkehändler
    • Hotel
    Immobilien
    • Immobilienagentur
    • Architekturbüro
    • Baugewerbe
    • Immobilienverwaltung
    • Gartenarbeit
    • Eigentümervereinigung
    Beratung
    • Buchhaltungsfirma
    • Odoo-Partner
    • Marketingagentur
    • Anwaltskanzlei
    • Talentakquise
    • Prüfung & Zertifizierung
    Fertigung
    • Textil
    • Metall
    • Möbel
    • Speisen
    • Brauerei
    • Firmengeschenke
    Gesundheit & Fitness
    • Sportklub
    • Brillengeschäft
    • Fitnessstudio
    • Therapeut
    • Apotheke
    • Friseursalon
    Handel
    • Handyman
    • IT-Hardware & -Support
    • Solarenergiesysteme
    • Schuster
    • Reinigungsdienstleistungen
    • HLK-Dienstleistungen
    Sonstiges
    • Gemeinnützige Organisation
    • Umweltschutzagentur
    • Plakatwandvermietung
    • Fotostudio
    • Fahrrad-Leasing
    • Software-Händler
    Alle Branchen ansehen
  • Community
    Lernen
    • Tutorials
    • Dokumentation
    • Zertifizierungen
    • Schulung
    • Blog
    • Podcast
    Bildung fördern
    • Bildungsprogramm
    • Scale-Up! Planspiel
    • Odoo besuchen
    Software anfragen
    • Herunterladen
    • Editionen vergleichen
    • Releases
    Zusammenarbeiten
    • Github
    • Forum
    • Veranstaltungen
    • Übersetzungen
    • Partner werden
    • Dienstleistungen für Partner
    • Buchhaltungsfirma registrieren
    Services anfragen
    • Partner finden
    • Buchhalter finden
    • Einen Experten treffen
    • Implementierungsservices
    • Kundenreferenzen
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Eine Demo erhalten
  • Preiskalkulation
  • Hilfe

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

  • CRM
  • e-Commerce
  • Buchhaltung
  • Lager
  • PoS
  • Projekte
  • MRP
All apps
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Sie müssen registriert sein, um mit der Community zu interagieren.
Alle Beiträge Personen Abzeichen
Stichwörter (Alle anzeigen)
odoo accounting v14 pos v15
Über dieses Forum
Hilfe

Is it possible to display delivery address on project task?

Abonnieren

Erhalten Sie eine Benachrichtigung, wenn es eine Aktivität zu diesem Beitrag gibt

Diese Frage wurde gekennzeichnet
projectv7taskshipping
1 Antworten
6203 Ansichten
Avatar
Rebel

Is it possible to display the delivery address in the project task form? I want to use this field on the printed report. Or can I use this field in the report editor without adding the field in the form?

I want to display partner_shipping_id.name from the sale.order table. The default partner_shipping_id from res.partner is not always correct. The project_task table does not have a sale_order_id, but does have a sale_line_id. This sale_line_id is linked to the id field of the tabel sale_order_line, but this table does not contain the partner_shipping_id.

How can I add the partner_shipping_id to the sale_order_line table, or what is the best solution to display the partner_shipping_id field (from sale.order) in the project.task table/form/print? (either is fine, as I can then use it in the report designer)

0
Avatar
Verwerfen
Avatar
Davide Corio
Beste Antwort

Since the sale order line is linked to its sale order via the order_id field, you can do:

o.sale_line_id.order_id.partner_shipping_id
1
Avatar
Verwerfen
Rebel
Autor

That sounds logical but when I use [[ o.sale_line_id.order_id.partner_shipping_id ]] or [[ o.sale_line_id.order_id.partner_shipping_id.name ]] it just shows up blank. I am using this in a custom report, I edited the .sxw file overwrote the .rml file and deinstalled the module. Updated module list and reinstalled, and the places where I added these fields it shows nothing.

Rebel
Autor

[[ o.sale_line_id.order_id.partner_shipping_id.street ]] [[ o.sale_line_id.order_id.partner_shipping_id.city]] and [[ o.sale_line_id.order_id.partner_shipping_id.zip]] don't work either sadly

Rebel
Autor

Do I need to import sale.order or res.parter in the __init__.py of my module? Right now it's just importing the report.

Davide Corio

of course, partner_shipping_id refers to an object. you'll need to specify the correct field you want to display. on v7 i think there's a field that sum up all the address infos at once, but i cannot remember the field name.

Rebel
Autor

How do I specify the correct field if not like: [[ o.sale_line_id.order_id.partner_shipping_id.street ]] ? What do I add after the partner_shipping_id to refer to street, city or zip? I don't mind them being in three separate fields, I can just add the code after each other to display it on one line. Unless I can not specify these single fields?

Davide Corio

that should work. i suggest to inspect and check the address via pdb

Rebel
Autor

Oddly only [[ display_address(o.sale_line_id.order_id.partner_shipping_id) ]] seemed to work, but thanks for your feedback and pushing me in the right direction. Couldn't have done it without you, appreciate you taking the time. :)

Davide Corio

display_address is what i couldn't remember :) nice you made it

Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!

Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!

Registrieren
Verknüpfte Beiträge Antworten Ansichten Aktivität
How can we block the editing of planned hours in a task
project v7 task
Avatar
Avatar
Avatar
3
Juli 18
6634
How to export tasks (from project management)
project management v7 task
Avatar
2
Aug. 20
10016
Report Designer: field date showing time w/o timezone (wrong hour)
project timezone v7 task
Avatar
1
März 15
6687
Problem with adding a timesheet line in a task
project v7 timesheet task
Avatar
0
März 15
7516
[meta] Why isn't the OpenERP project driven on OpenERP ?
project v7 task issue
Avatar
Avatar
1
März 15
5281
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Herunterladen
  • Github
  • Runbot
  • Übersetzungen
Dienstleistungen
  • Odoo.sh-Hosting
  • Support
  • Upgrade
  • Individuelle Entwicklungen
  • Ausbildung
  • Buchhalter finden
  • Partner finden
  • Partner werden
Über uns
  • Unsere Firma
  • Markenwerte
  • Kontakt
  • Karriere
  • Veranstaltungen
  • Podcast
  • Blog
  • Kunden
  • Rechtliches • Datenschutz
  • Sicherheit
الْعَرَبيّة 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 ist eine Suite von Open-Source-Betriebsanwendungen, die alle Bedürfnisse Ihres Unternehmens abdecken: CRM, E-Commerce, Buchhaltung, Lager, Kassensystem, Projektmanagement etc.

Das einzigartige Wertversprechen von Odoo ist, dass es gleichzeitig sehr einfach zu bedienen und voll integriert ist.

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