Skip to content
Snippets Groups Projects
Commit 682ae1cc authored by David's avatar David Committed by Jeremy Kersten
Browse files

[FIX] website_form: set meta field

Before this commit, if you enable website_form_enable_metadata, that
will crash with a "KeyError: 'meta'"

This commit closes #24848
parent 45e2ee0a
Branches
Tags
No related merge requests found
......@@ -111,6 +111,7 @@ class WebsiteForm(http.Controller):
'record': {}, # Values to create record
'attachments': [], # Attached files
'custom': '', # Custom fields values
'meta': '', # Add metadata if enabled
}
authorized_fields = model.sudo()._get_form_writable_fields()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment