15 lines
634 B
XML
15 lines
634 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<template id="contactus_form" name="Contact Form (Opportunity)" inherit_id="website.contactus">
|
|
<xpath expr="//t[@t-set='contactus_form_values']" position="after">
|
|
<t t-set="contactus_form_values" t-value="dict(contactus_form_values, **{
|
|
'contact_name': request.params.get('contact_name', ''),
|
|
'partner_name': request.params.get('partner_name', ''),
|
|
'description': request.params.get('description', ''),
|
|
})"/>
|
|
</xpath>
|
|
</template>
|
|
</data>
|
|
</odoo>
|