[FIX] website: contact us page, don't cache page if prefilled
Before this commit, the page can be set in cache with some data pre-filled. Now we don't cache anymore the contactus page if you have GET params. closes odoo/odoo#65608 X-original-commit: 4ce59c3ab26a441ad8b7f2fd038b690cf897231d Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -204,6 +204,7 @@
|
||||
<field name="url">/contactus</field>
|
||||
<field name="is_published">True</field>
|
||||
<field name="view_id" ref="contactus"/>
|
||||
<field name="cache_key_expr">('cached' if not request.params else None,)</field>
|
||||
<field name="track">True</field>
|
||||
</record>
|
||||
<!-- Default Menu to store module menus for new website -->
|
||||
|
||||
Reference in New Issue
Block a user