Skip to content
Snippets Groups Projects
Commit a21a81e9 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] event: print registrations without name


Before this commit, trying to print a registration without a name
specified (not required), was failing

Fixes odoo/odoo#38564

Replace and closes odoo/odoo#38582
Courtesy of Swapnesh Shah

closes odoo/odoo#38767

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent fbb7d5d5
No related branches found
No related tags found
Loading
......@@ -25,7 +25,7 @@
name="event.event_registration_report_template_badge"
file="event.event_registration_report_template_badge"
paperformat="event.paperformat_euro_lowmargin"
print_report_name="'Registration Event - %s' % (object.name).replace('/','')"
print_report_name="'Registration Event - %s' % (object.name or 'Attendee').replace('/','')"
/>
<report
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment