diff --git a/addons/project/static/src/js/project_task_kanban_examples.js b/addons/project/static/src/js/project_task_kanban_examples.js index 72f09478df6..1717ae49778 100644 --- a/addons/project/static/src/js/project_task_kanban_examples.js +++ b/addons/project/static/src/js/project_task_kanban_examples.js @@ -39,6 +39,7 @@ function escFormat() { kanbanExamplesRegistry.add('project', { ghostColumns: [_lt('New'), _lt('Assigned'), _lt('In Progress'), _lt('Done')], + applyExamplesText: _lt("Use This For My Project"), examples:[{ name: _lt('Software Development'), columns: [_lt('Backlog'), _lt('Specifications'), _lt('Development'), _lt('Tests'), _lt('Delivered')], diff --git a/addons/utm/data/utm_data.xml b/addons/utm/data/utm_data.xml index 0b9a5fb62d7..cf7bafd7134 100644 --- a/addons/utm/data/utm_data.xml +++ b/addons/utm/data/utm_data.xml @@ -1,22 +1,12 @@ + New 10 - - Schedule - 10 - - - Design - 20 - - - Sent - 30 - diff --git a/addons/utm/data/utm_demo.xml b/addons/utm/data/utm_demo.xml index e4e44578fe0..1acae0f425c 100644 --- a/addons/utm/data/utm_demo.xml +++ b/addons/utm/data/utm_demo.xml @@ -1,26 +1,40 @@ - + - - - - Sale - - - - - Christmas Special - - - - - Email Campaign - Services - - - - - Email Campaign - Products - - - - + + + + Schedule + 10 + + + Design + 20 + + + Sent + 30 + + + + + Sale + + + + + Christmas Special + + + + + Email Campaign - Services + + + + + Email Campaign - Products + + + + diff --git a/addons/utm/static/src/js/utm_campaign_kanban_examples.js b/addons/utm/static/src/js/utm_campaign_kanban_examples.js new file mode 100644 index 00000000000..a1b7ec622d1 --- /dev/null +++ b/addons/utm/static/src/js/utm_campaign_kanban_examples.js @@ -0,0 +1,34 @@ +odoo.define('utm.campaing_kanban_examples', function (require) { +'use strict'; + +var core = require('web.core'); +var kanbanExamplesRegistry = require('web.kanban_examples_registry'); + +var _lt = core._lt; + +kanbanExamplesRegistry.add('utm_campaign', { + ghostColumns: [_lt('Ideas'), _lt('Design'), _lt('Review'), _lt('Send'), _lt('Done')], + applyExamplesText: _lt("Use This For My Campaigns"), + examples: [{ + name: _lt('Creative Flow'), + columns: [_lt('Ideas'), _lt('Design'), _lt('Review'), _lt('Send'), _lt('Done')], + description: _lt("Collect ideas, design creative content and publish it once reviewed."), + }, { + name: _lt('Event-driven Flow'), + columns: [_lt('Later'), _lt('This Month'), _lt('This Week'), _lt('Running'), _lt('Sent')], + description: _lt("Track incoming events (e.g. : Christmas, Black Friday, ...) and publish timely content."), + }, { + name: _lt('Soft-Launch Flow'), + columns: [_lt('Pre-Launch'), _lt('Soft-Launch'), _lt('Deploy'), _lt('Report'), _lt('Done')], + description: _lt("Prepare your Campaign, test it with part of your audience and deploy it fully afterwards."), + }, { + name: _lt('Audience-driven Flow'), + columns: [_lt('New'), _lt('Gather Data'), _lt('List-Building'), _lt('Copywriting'), _lt('Sent')], + description: _lt("Gather data, build a recipient list and write content based on your Marketing target."), + }, { + name: _lt('Approval-based Flow'), + columns: [_lt('New'), _lt('To be Approved'), _lt('Approved'), _lt('Deployed')], + description: _lt("Prepare Campaigns and get them approved before making them go live."), + }], +}); +}); diff --git a/addons/utm/views/assets.xml b/addons/utm/views/assets.xml index 53ab3d95603..0195faae527 100644 --- a/addons/utm/views/assets.xml +++ b/addons/utm/views/assets.xml @@ -1,6 +1,9 @@