summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/models/__init__.py
AgeCommit message (Collapse)Author
2020-05-20[REF] {website_}mass_mailing: display social links in mass mailing templatesSiddarth Gajjar
PURPOSE Using Email Marketing or Marketing Automation without website installed will not populate the links for your social media accounts. SPECIFICATIONS Move social_links template directly into mass_mailing and use company information available through social_media module as default values, then overridden by website information. TaskID 2036094 PR #51025 Enterprise PR odoo/enterprise#10497 Related: odoo/upgrade#1212 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-03-24[MOV] mail: move rendering code to mail render mixinThibault Delavallée
We also have to update code calling directly the rendering itself. Indeed some code bits does some rendering directly on jinja-enabled input and not through templates. Those calls have to be updated accordingly. LINKS Task ID 1963529 Community PR odoo/odoo#32397
2020-01-21[IMP] mass_mailing_(sms): split systray activitiesTiffany Chang (tic)
Due to 'mass_mailing_sms' inheriting mailing.mailing from 'mass_mailing', activities for these two modules would show up as one "Mass Mailing" line in the systray. This commit adds additional logic to remove this "Mass Mailing" line and replace it with 2 lines: "Email Marketing" and "SMS Marketing" with their appropriately matching module icon. For consistency, when only the 'mass_mailing' module is installed, it will still display "Email Marketing". Task: 2169498
2019-08-02[REF] utm,mass_mailing: replace mass mailing campaign by utm campaignqmo-odoo
PURPOSE This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. We will also add relevant statistics on utm campaign model in order to use it in various applications. SPECIFICATIONS This commit removes the mass_mailing.campaign model. Instead of having a fully fledged model, we will simply inherit utm.campaign. This change implies that mass_mailing.tag and mass_mailing.stage have to move to the utm model along their associated views/data. These changes were made so that campaigns could be used in the future by social, mass_mailing and mass_sms and available in the same view This commit also removes the source_id and the medium_id fields on the campaign. This commit also moves the unique_ab_testing field from the mass_mailing_campaign to the mass_mailing model Task ID: 2002029 PR: #34015
2019-07-17[REF] mass_mailing: rename mail.mass_mailing modelThibault Delavallée
PURPOSE Mass mailing is currently a bit messy. As SMS will be added as a way to notify people in mass through SMS let us take this opportunity to somehow clean this application: organization, light code cleaning, model renaming. SPECIFICATIONS Rename mail.mass_mailing model to mailing.mailing. Rationale : * mailing is now a prefix for mass mailing models; * mailing.mailing is easier to read / find / understand; Note that mail.mass_mailing.campaign is not updated as it is likely to be removed soon and replaced by simple utm.campaign model. MIGRATION mail.mass_mailing model -> mailing.mailing mail_mass_mailing table -> mailing_mailing LINKS Task ID 2037906 Preparing task ID 1997464 (SMS addition in mass mailing) PR #34938
2019-07-17[REF] mass_mailing: rename mail.mass_mailing.{.contact{_rel}, list{.merge}} ↵Thibault Delavallée
models PURPOSE Mass mailing is currently a bit messy. As SMS will be added as a way to notify people in mass through SMS let us take this opportunity to somehow clean this application: organization, light code cleaning, model renaming. SPECIFICATIONS Rename mail.mass_mailing.list and mail.mass_mailing.list to mailing.list and mailing.list.merge. Rename mail.mass_mailing.contact to mailing.contact. Rename mail.mailing_list.list_contact_rel to mailing.contact.subscription. Rationale : * those new names are easier to understand: mailing.list and mailing.contact are less mail-related, especially taking into account that SMS will allow to be less mail-oriented; * those names are easier to read / find / understand; * align wizard and sub-models naming with the main naming; * have a mailing as first part of namespacing; MIGRATION mail.mass_mailing.list model -> mailing.list mail.mass_mailing.list.merge model -> mailing.list.merge mail.mass_mailing.contact model -> mailing.contact mail.mass_mailing.list_contact_rel model -> mailing.contact.subscription mail_mass_mailing_contact_list_rel table -> mailing_contact_list_rel (specific case of a decorated m2m) fields updated (no column change) * mailing.list: subscription_contact_ids -> subscription_ids LINKS Task ID 2037906 Preparing task ID 1997464 (SMS addition in mass mailing) PR #34938
2019-07-17[REF] mass_mailing: rename mail.mail.statistics and reporting modelThibault Delavallée
PURPOSE Mass mailing is currently a bit messy. As SMS will be added as a way to notify people in mass through SMS let us take this opportunity to somehow clean this application: organization, light code cleaning, model renaming. SPECIFICATIONS Rename mail.mail.statistics to mailing.trace and mail.statistics.report to mail.trace.report. Rationale : * mail.mail.statistics is linked to mail.mail model. Soon this model will hold data related to SMS sending. It makes sense to be broader in the naming; * mailing.trace is more inlined with marketing.trace model that is the marketing automation model using it in marketing automation (enterprise application); * mailing.trace is shorter to write; * mail.statistics.report model should sense to be updated at the same time; MIGRATION mail.mail.statistics model -> mailing.trace mail_mail_statistics table -> mailing_trace mail.statistics.report model -> mail.trace.report fields updated (w column change) * link.tracker.click: mail_stat_id -> mailing_trace_id fields updated (no column change) * mail.mail: statistics_ids -> mailing_trace_ids * mail.mass_mailing: statistics_ids -> mailing_trace_ids LINKS Task ID 2037906 Preparing task ID 1997464 (SMS addition in mass mailing) PR #34938
2019-07-17[MOV] mass_mailing: reorganize module according to guidelinesThibault Delavallée
PURPOSE Mass mailing is currently a bit messy. As SMS will be added as a way to notify people in mass through SMS let us take this opportunity to somehow clean this application: organization, light code cleaning, model renaming. SPECIFICATIONS Guidelines: re-organize model files and split them according to main models. Also reorganize views. Done in this commit * split big python file by main models; * split views according to python files; * move statistics report to /report; * merge some exploded view files (assets, snippets, application menus); LINKS Task ID 2037906 Preparing task ID 1997464 (SMS addition in mass mailing) PR #34938
2019-01-29[MERGE] forward port branch saas-11.3 up to cd5c8a02f95Christophe Simonis
2019-01-29[MERGE] forward port branch 11.0 up to 36d96e01503Christophe Simonis
2018-11-28[FIX] mass_mailing: don't short url before renderingJeremy Kersten
Before this commit, if you generate the href with jinja/mako syntax, the un-rendered url will be shortened. So: href="https://www.odoo.com?id=${object.id}" will become: href="https://www.odoo.com/r/asw" where https://www.odoo.com/r/asw redirect to https://www.odoo.com?id=${object.id} instead of https://www.odoo.com?id=1 Adaptation of #28540 for 11.0 version. opw-1903803 closes #29083
2018-09-10Revert "[IMP] *: Define groups on res.users models"Yannick Tivisse
This reverts commit 99f497b390e680629dce3a7e2e282ada74ee9884.
2018-06-11[FIX] *: cleanup (un|re)installation hacksAdrian Torres
Replace hacks introduced in V11 by the proper solution.
2018-04-26[IMP] *: Define groups on res.users modelsYannick Tivisse
The reified view on the res users will be dropped in the following commit. The previous commit adds support to define each group as a computed field on the res users. This commit defines: - A boolean field for each 'isolated' res.group, i.e. a group in the hidden category. - A selection field for each 'Application' res.group, i.e. a group in a application category. Example: - The group to manage pricelist in sales becomes a boolean field - The groups project user/manager become a selection field
2018-01-03[MERGE] forward port branch saas-11.1 up to 726b91b9fbcChristophe Simonis
2017-12-12[ADD] social_media: new module for social mediaAdrian Torres
This technical dependency module adds settings to res_company for the company's social media pages. It is introduced to fix duplicated fields for res_company in website and mass_mailing, these two modules now require social_media as a dependency
2017-12-11[FIX] website, mass_mailing: same field defined twice (#21503)Adrian Torres
The ORM does not currently, an probably won't support two fields with the same name in different modules that do not depend on each other. This is obviously a nasty hack, but it's the best one can do for a stable branch. THIS IS WHY WE HAVE DEPENDENCY MODULES, PEOPLE.
2017-09-06[IMP] website: Clean and simplify res_config viewMahendra barad
Purpose ======= - Settings are too complex: too long + too many options that shouldn't be suggested with checkboxes e.g. twitter roller is now suggested as a new snippet to install from website editor google maps, slides, forum, etc. should show up in the apps store - When saving the page I expect to stay in the settings -> no redirection to homepage anymore! Specification ============= See task 33620
2017-09-01[IMP] res_config: Update file names, xmlids, class names according to guidelinesYannick Tivisse
Now that we only have one model (res.config.settings). Uniformize everything according to the guidelines.
2017-06-19[MOV] *: Reorganize configuration files according to guidelinesYannick Tivisse
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2016-06-17[MIG] mass_mailing: code migration to new apiKeyur Gajjar
NB: A controller in website_mass_mailing has been migrated too. It's not a real issue as this module will also be migrated in the days to come
2015-07-10[IMP] mass_mailing: remove depends to website. Create a website_mass_mailing ↵Christophe Matthieu
bridge to add subscribe snippet into website builder. Split website_links to have link_tracker to create short and trackable URLs, and website_links to have a website layout for link_tracker and add button to share page.
2015-02-12[ADD] Clicks statistics in mass_mailingsJulien De Coster
2014-12-17[ADD] Add the website_links module.Julien De Coster
This module tracks clicks in mass mailing mails and allow the generation of trackable links in a website interface. Modules modifications --------------------- Refractoring of the crm_tracking_* classes in a new module. * Extract the crm_tracking_* from the crm module into a new module "utm" * Remove the crm_mass_mailing bridge module * New dependencies of mass_mailing and website_links to utm.
2014-08-26[IMP] Cleaning of reporting (group_by, filters), adding new favourites and ↵qdc
default views, some renaming (py and xml files)
2014-04-15[REM] mass_mailing: removed report, a graph view on statistics will be ↵Thibault Delavallée
sufficient bzr revid: tde@openerp.com-20140415095817-rx7bokd6qc5rkrhq
2014-04-13[IMP] Removing featuerFabien Pinckaers
bzr revid: fp@tinyerp.com-20140413203309-digp60hsobgv3i57
2014-04-12[WIP] started to reduce codeFabien Pinckaers
bzr revid: fp@tinyerp.com-20140412153339-rr3b1r4cmdeigp0v
2014-03-28[ADD] mass_mailing: added base for mass mailing analysis. Currently void ↵Thibault Delavallée
analysis. - added marketing menu in report, menu added by marketing - adde dskeleton for mass mailing report + skeleton for graph veiws bzr revid: tde@openerp.com-20140328102601-pzrtkuble3icdj1g
2014-03-17[ADD] mass_mailing: added forgotten init fileThibault Delavallée
bzr revid: tde@openerp.com-20140317165418-28c33lzbfjnzerel