first commit
This commit is contained in:
42
modules/marketing_automation/view/activity_form.xml
Normal file
42
modules/marketing_automation/view/activity_form.xml
Normal file
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="parent"/>
|
||||
<field name="parent"/>
|
||||
|
||||
<label name="action"/>
|
||||
<field name="action"/>
|
||||
<newline/>
|
||||
|
||||
<label name="on" string="On"/>
|
||||
<field name="on"/>
|
||||
<label name="delay" string="After"/>
|
||||
<field name="delay"/>
|
||||
|
||||
<label name="condition" string="If"/>
|
||||
<field name="condition" colspan="3" widget="pyson"/>
|
||||
|
||||
<notebook colspan="4">
|
||||
<page name="action" col="1">
|
||||
<group id="email" yexpand="1" yfill="1">
|
||||
<label name="email_from"/>
|
||||
<field name="email_from" colspan="3"/>
|
||||
|
||||
<label name="email_title" string="Title:"/>
|
||||
<field name="email_title" colspan="3"/>
|
||||
|
||||
<label name="email_template" string="Template:" yfill="1" yalign="0"/>
|
||||
<group col="-1" id="email_template" colspan="3" yexpand="1">
|
||||
<field name="email_template"/>
|
||||
<field name="email_template" string="Edit" widget="html" xexpand="0"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
<page name="children">
|
||||
<field name="children" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
21
modules/marketing_automation/view/activity_tree.xml
Normal file
21
modules/marketing_automation/view/activity_tree.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="on"/>
|
||||
<field name="delay"/>
|
||||
<field name="action"/>
|
||||
<field name="email_open_rate" factor="100">
|
||||
<suffix string="%" name="email_open_rate"/>
|
||||
</field>
|
||||
<field name="email_open_rate_trend" expand="1"/>
|
||||
<field name="email_click_rate" factor="100">
|
||||
<suffix string="%" name="email_click_rate"/>
|
||||
</field>
|
||||
<field name="email_open_rate_trend" expand="1"/>
|
||||
<field name="email_click_through_rate" factor="100">
|
||||
<suffix string="%" name="email_click_through_rate"/>
|
||||
</field>
|
||||
<field name="email_click_through_rate_trend" expand="1"/>
|
||||
</tree>
|
||||
11
modules/marketing_automation/view/ir_email_form.xml
Normal file
11
modules/marketing_automation/view/ir_email_form.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='subject']" position="after">
|
||||
<label name="marketing_automation_activity"/>
|
||||
<field name="marketing_automation_activity"/>
|
||||
<label name="marketing_automation_record"/>
|
||||
<field name="marketing_automation_record"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/marketing_automation/view/party_form.xml
Normal file
10
modules/marketing_automation/view/party_form.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page string="Marketing Automation" id="marketing_automation">
|
||||
<field name="marketing_scenario_unsubscribed" widget="multiselection"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
17
modules/marketing_automation/view/record_activity_form.xml
Normal file
17
modules/marketing_automation/view/record_activity_form.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="record"/>
|
||||
<field name="record"/>
|
||||
<label name="activity"/>
|
||||
<field name="activity"/>
|
||||
<label name="at"/>
|
||||
<field name="at"/>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="4" id="buttons">
|
||||
<button name="on_email_opened"/>
|
||||
<button name="on_email_clicked"/>
|
||||
</group>
|
||||
</form>
|
||||
12
modules/marketing_automation/view/record_activity_list.xml
Normal file
12
modules/marketing_automation/view/record_activity_list.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="record" expand="1"/>
|
||||
<field name="activity" expand="1"/>
|
||||
<field name="at" widget="date"/>
|
||||
<field name="at" string="Time" widget="time"/>
|
||||
<field name="email_opened"/>
|
||||
<field name="email_clicked"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
13
modules/marketing_automation/view/record_form.xml
Normal file
13
modules/marketing_automation/view/record_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="record"/>
|
||||
<field name="record"/>
|
||||
<label name="scenario"/>
|
||||
<field name="scenario"/>
|
||||
|
||||
<label name="blocked"/>
|
||||
<field name="blocked"/>
|
||||
<button name="block" colspan="2"/>
|
||||
</form>
|
||||
9
modules/marketing_automation/view/record_list.xml
Normal file
9
modules/marketing_automation/view/record_list.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="scenario" expand="1"/>
|
||||
<field name="record" expand="1"/>
|
||||
<field name="blocked"/>
|
||||
<button name="block" tree_invisible="1"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="record_count"/>
|
||||
<field name="email_opened"/>
|
||||
<field name="email_clicked"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<graph type="line">
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="email_open_rate" empty="0"/>
|
||||
<field name="email_click_rate" empty="0"/>
|
||||
<field name="email_click_through_rate" empty="0"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="date"/>
|
||||
<field name="activity" expand="2"/>
|
||||
<field name="record_count" sum="1"/>
|
||||
<field name="email_opened" sum="1"/>
|
||||
<field name="email_clicked" sum="1"/>
|
||||
<field name="email_open_rate" factor="100">
|
||||
<suffix string="%" name="email_open_rate"/>
|
||||
</field>
|
||||
<field name="email_click_rate" factor="100">
|
||||
<suffix string="%" name="email_click_rate"/>
|
||||
</field>
|
||||
<field name="email_click_through_rate" factor="100">
|
||||
<suffix string="%" name="email_click_through_rate"/>
|
||||
</field>
|
||||
</tree>
|
||||
11
modules/marketing_automation/view/reporting_context_form.xml
Normal file
11
modules/marketing_automation/view/reporting_context_form.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="6">
|
||||
<label name="from_date"/>
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
</form>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<graph>
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="record_count"/>
|
||||
<field name="record_count_blocked"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<graph type="line">
|
||||
<x>
|
||||
<field name="date"/>
|
||||
</x>
|
||||
<y>
|
||||
<field name="block_rate" empty="0"/>
|
||||
</y>
|
||||
</graph>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="date"/>
|
||||
<field name="scenario" expand="2"/>
|
||||
<field name="record_count" sum="1"/>
|
||||
<field name="record_count_blocked" sum="1"/>
|
||||
<field name="block_rate" factor="100">
|
||||
<suffix string="%" name="block_rate"/>
|
||||
</field>
|
||||
</tree>
|
||||
25
modules/marketing_automation/view/scenario_form.xml
Normal file
25
modules/marketing_automation/view/scenario_form.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name" colspan="3"/>
|
||||
|
||||
<label name="model"/>
|
||||
<field name="model"/>
|
||||
<label name="unsubscribable"/>
|
||||
<field name="unsubscribable"/>
|
||||
|
||||
<label name="domain"/>
|
||||
<field name="domain" widget="pyson" colspan="3"/>
|
||||
|
||||
<field name="activities" colspan="4" view_ids="marketing_automation.activity_view_list"/>
|
||||
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group id="buttons" col="-1" colspan="2">
|
||||
<button name="draft" icon="tryton-undo"/>
|
||||
<button name="run" icon="tryton-forward"/>
|
||||
<button name="stop" icon="tryton-cancel"/>
|
||||
</group>
|
||||
</form>
|
||||
13
modules/marketing_automation/view/scenario_list.xml
Normal file
13
modules/marketing_automation/view/scenario_list.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree keyword_open="1">
|
||||
<field name="name" expand="2"/>
|
||||
<field name="model" expand="1"/>
|
||||
<field name="unsubscribable" optional="0"/>
|
||||
<field name="block_rate" factor="100">
|
||||
<suffix string="%" name="block_rate"/>
|
||||
</field>
|
||||
<field name="block_rate_trend" expand="1"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user