first commit
This commit is contained in:
17
modules/marketing_campaign/view/campaign_mixin_form.xml
Normal file
17
modules/marketing_campaign/view/campaign_mixin_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. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page string="Marketing Campaign" id="marketing_campaign" col="2">
|
||||
<label name="marketing_campaign" string="Campaign"/>
|
||||
<field name="marketing_campaign"/>
|
||||
|
||||
<label name="marketing_medium" string="Medium"/>
|
||||
<field name="marketing_medium"/>
|
||||
|
||||
<label name="marketing_source" string="Source"/>
|
||||
<field name="marketing_source"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/marketing_campaign/view/parameter_form.xml
Normal file
9
modules/marketing_campaign/view/parameter_form.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. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
</form>
|
||||
6
modules/marketing_campaign/view/parameter_list.xml
Normal file
6
modules/marketing_campaign/view/parameter_list.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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="rec_name" expand="1"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?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" position="inside">
|
||||
<group string="Marketing Campaign" id="marketing_campaign" expandable="0" col="-1" colspan="6">
|
||||
<label name="marketing_campaign"/>
|
||||
<field name="marketing_campaign"/>
|
||||
<label name="marketing_medium"/>
|
||||
<field name="marketing_medium"/>
|
||||
<label name="marketing_source"/>
|
||||
<field name="marketing_source"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="from_date"/>
|
||||
<group id="dates" col="-1">
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
</group>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
|
||||
<label string="Group by:" id="group_by"/>
|
||||
<group colspan="3" col="-1" id="group_by">
|
||||
<label name="group_by_marketing_campaign"/>
|
||||
<field name="group_by_marketing_campaign" xexpand="0" width="25"/>
|
||||
<label name="group_by_marketing_medium"/>
|
||||
<field name="group_by_marketing_medium" xexpand="0" width="25"/>
|
||||
<label name="group_by_marketing_source"/>
|
||||
<field name="group_by_marketing_source" xexpand="0" width="25"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -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='number']" position="before">
|
||||
<field name="marketing_campaign" expand="1"/>
|
||||
<field name="marketing_medium" expand="1"/>
|
||||
<field name="marketing_source" expand="1"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[contains(@name, 'trend')]" position="replace"></xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?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" position="inside">
|
||||
<group string="Marketing Campaign" id="marketing_campaign" expandable="0" col="-1" colspan="6">
|
||||
<label name="marketing_campaign"/>
|
||||
<field name="marketing_campaign"/>
|
||||
<label name="marketing_medium"/>
|
||||
<field name="marketing_medium"/>
|
||||
<label name="marketing_source"/>
|
||||
<field name="marketing_source"/>
|
||||
</group>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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="from_date"/>
|
||||
<group id="dates" col="-1">
|
||||
<field name="from_date"/>
|
||||
<label name="to_date"/>
|
||||
<field name="to_date"/>
|
||||
</group>
|
||||
<label name="period"/>
|
||||
<field name="period"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="warehouse"/>
|
||||
<field name="warehouse"/>
|
||||
|
||||
<label string="Group by:" id="group_by"/>
|
||||
<group colspan="3" col="-1" id="group_by">
|
||||
<label name="group_by_marketing_campaign"/>
|
||||
<field name="group_by_marketing_campaign" xexpand="0" width="25"/>
|
||||
<label name="group_by_marketing_medium"/>
|
||||
<field name="group_by_marketing_medium" xexpand="0" width="25"/>
|
||||
<label name="group_by_marketing_source"/>
|
||||
<field name="group_by_marketing_source" xexpand="0" width="25"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -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='number']" position="before">
|
||||
<field name="marketing_campaign" expand="1"/>
|
||||
<field name="marketing_medium" expand="1"/>
|
||||
<field name="marketing_source" expand="1"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='revenue_trend']" position="replace"></xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user