File: chatbot_script_answer_views.xml

package info (click to toggle)
odoo 18.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 878,716 kB
  • sloc: javascript: 927,937; python: 685,670; xml: 388,524; sh: 1,033; sql: 415; makefile: 26
file content (32 lines) | stat: -rw-r--r-- 1,125 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<odoo><data>

    <record id="chatbot_script_answer_view_form" model="ir.ui.view">
        <field name="name">chatbot.script.answer.view.form</field>
        <field name="model">chatbot.script.answer</field>
        <field name="arch" type="xml">
            <form>
                <sheet>
                    <group>
                        <field name="name"/>
                        <field name="script_step_id" invisible="1"/>
                    </group>
                </sheet>
            </form>
        </field>
    </record>

    <record id="chatbot_script_answer_view_tree" model="ir.ui.view">
        <field name="name">chatbot.script.answer.view.list</field>
        <field name="model">chatbot.script.answer</field>
        <field name="arch" type="xml">
            <list editable="bottom">
                <field name="sequence" widget="handle"/>
                <field name="script_step_id"/>
                <field name="name"/>
                <field name="redirect_link" string="Optional Link"/>
            </list>
        </field>
    </record>

</data></odoo>