Technical mailing list archives

technical@mail.odoo.com

Avatar

Changing report's address layout

by
Horst Müller
- 2019年04月08日 03时57分31秒
Hi everyone,
currently I’m trying to add the Street No. to the shipping / invoicing address in the reports of an Odoo 12 Instance.

I found the place where I edit the address fields (contacts —> configuration —> Localization —> Countries)

There I found the Field “Layout in Reports” which has these contents:

%(street)s
%(street2)s
%(zip)s %(city)s
%(country_name)s

When I try to add %(street_no)s I get an error in the Odoo Studio when I try to edit a report:

Uncaught TypeError: reportHTML.replace is not a function
Has anyone of you guys an idea what I’m doing wrong?

Thank you,
Friedemann

Follow-Ups