Skip to Content
Menu
This question has been flagged
2 Replies
906 Views

I do not want the phone numbers of clients to show up in the adress section of any documents (quotations, sales orders, invoices).

I  managed to get rid of the phone number in the section "Invoice & Shipping adress" via Studio.

However in the whole code of the sources I cant find the part where it pulls the phone number from for the first adress field.

Any help is welcome

Avatar
Discard

1up for that

We send many invoices by mail. None of my customers wants their phone number displayed in the address field for everyone to see.

According to DIN 5008, it simply doesn't belong there, and the Odoo team should urgently remove it from the template.

Author Best Answer

plonk

Avatar
Discard
Best Answer

Thank you for your quick reply.


Deleting the customer's phone number is not an option, as it is linked to many other places in the database and is urgently needed there (e.g., field service, WhatsApp, VoIP, etc.).


In our case, the solution specifically applies to Odoo Online (v18, including Studio) and the "DIN 5008" template:


(In a test database!)

1. Switch to developer mode.

2. Settings - Technical - Views

3. Search for "5008"

4. Open the entry with "deliveryslip" at the end.

5. Search for "phone" with "Ctrl+F" and delete both search results (including the associated programming characters).


💡

I will learn how to enter the update-safe entry into our live database using a custom module today and will update this answer accordingly.

P.S.: I had already found the general answer from the AI ​​myself. Unfortunately, this is only partially effective. If it delivered precise results, it could do the programming for me (which will hopefully be possible soon, making overpriced programmers obsolete!).


P.P.S.: AI-generated answers should also be marked as such. I personally find it "unsportsmanlike" to try to collect karma points for this.



Vielen Dank für Ihre schnelle Antwort.


Die Telefonnummer des Kunden zu löschen ist keine Option, da diese an sehr vielen anderen Stellen in der Datenbank verlinkt ist und dort dringend benötigt wird (z.B.: Außendienst, WhatsApp, VoIP, etc.)


In unserem Fall bezieht sich die Lösung speziell auf Odoo Online (v18, inkl. Studio) und die Vorlage "DIN 5008":


(In einer Testdatenbank!)

1. In den Entwicklermodus wechseln.

2. Einstellungen - Technisch - Ansichten

3. Suche nach "5008"

4. Den Eintrag mit "deliveryslip" am Ende öffnen

5. Mit "Strg+F" nach "phone" suchen und beide Suchergebnisse (inkl. der zugehörigen Programmierzeichen) löschen.


💡

Die update-sichere Eintragung in unsere Live-Datenbank über ein custom-modul werde ich heute lernen und diese Antwort daraufhin aktualisieren.


P.S.: die allgemeine Antwort der KI hatte ich bereits selbst gefunden. Leider ist diese nur bedingt zielführend, würde sie exakte Ergebnisse liefern, könnte sie ja gleich die Programmierung  für mich übernehmen (was hoffentlich bald möglich ist und überteuerte Programmierer überflüssig macht!).


P.P.S.: KI-generierte Antworten sollten auch als solche gekennzeichnet werden. Dafür die Karma-Punkte kassieren zu wollen finde ich persönlich "unsportlich".

Avatar
Discard
Related Posts Replies Views Activity
0
Jun 22
1889
1
Jan 22
2689
2
Feb 24
2092
3
Aug 23
4233
1
Feb 23
2880