[ADD] survey_crm_generation

This commit is contained in:
clementthomas
2023-09-19 16:27:36 +02:00
parent 8b7f9c211a
commit 9ead22c1c7
23 changed files with 1041 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="survey_question_form" model="ir.ui.view">
<field name="model">survey.question</field>
<field name="inherit_id" ref="survey.survey_question_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='comments_allowed']/.." position="after">
<group name="crm" string="CRM">
<field
name="show_in_lead_description"
attrs="{'invisible': [('question_type', 'in', ['matrix', 'simple_choice', 'multiple_choice'])]}"
/>
</group>
</xpath>
</field>
</record>
</odoo>