19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:27 +01:00
parent d1963a3c3a
commit 2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions

View file

@ -1,39 +1,30 @@
odoo.define('utm.campaing_kanban_examples', function (require) {
'use strict';
var core = require('web.core');
var kanbanExamplesRegistry = require('web.kanban_examples_registry');
const { registry } = require("@web/core/registry");
var _lt = core._lt;
import { _t } from "@web/core/l10n/translation";
import { registry } from "@web/core/registry";
const exampleData = {
ghostColumns: [_lt('Ideas'), _lt('Design'), _lt('Review'), _lt('Send'), _lt('Done')],
applyExamplesText: _lt("Use This For My Campaigns"),
applyExamplesText: _t("Use This For My Campaigns"),
allowedGroupBys: ['stage_id'],
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: _t('Creative Flow'),
columns: [_t('Ideas'), _t('Design'), _t('Review'), _t('Send'), _t('Done')],
description: _t("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: _t('Event-driven Flow'),
columns: [_t('Later'), _t('This Month'), _t('This Week'), _t('Running'), _t('Sent')],
description: _t("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: _t('Soft-Launch Flow'),
columns: [_t('Pre-Launch'), _t('Soft-Launch'), _t('Deploy'), _t('Report'), _t('Done')],
description: _t("Prepare your Campaign, test it with part of your audience and deploy it fully afterwards."),
}, {
name: _lt('Audience-driven Flow'),
columns: [_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: _t('Audience-driven Flow'),
columns: [_t('Gather Data'), _t('List-Building'), _t('Copywriting'), _t('Sent')],
description: _t("Gather data, build a recipient list and write content based on your Marketing target."),
}, {
name: _lt('Approval-based Flow'),
columns: [_lt('To be Approved'), _lt('Approved'), _lt('Deployed')],
description: _lt("Prepare Campaigns and get them approved before making them go live."),
name: _t('Approval-based Flow'),
columns: [_t('To be Approved'), _t('Approved'), _t('Deployed')],
description: _t("Prepare Campaigns and get them approved before making them go live."),
}],
};
kanbanExamplesRegistry.add('utm_campaign', exampleData);
registry.category("kanban_examples").add("utm_campaign", exampleData);
});

View file

@ -1,4 +1,4 @@
.o_kanban_renderer.o_utm_kanban {
.o_utm_kanban .o_kanban_renderer {
--KanbanRecord-width: #{380px - 2 * ($grid-gutter-width * .25)};
--KanbanGroup-padding-h: #{$grid-gutter-width * .25};
--KanbanGroup-padding-bottom: #{$grid-gutter-width};