summaryrefslogtreecommitdiff
path: root/addons/website_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>
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-06-25[IMP] website_mass_mailing, *: improve newsletter snippetsKishan Gajjar
* website, mass_mailing, web_editor This commit adds various improvements in newsletter snippets as follow: - Improves UI for newsletter popup. - We only had one popup for all websites. Now, we can have a different popup for each website. - The popup was not appearing on mobile/tablet devices. Now, in mobile/tablet devices, the popup appears automatically after 5secs. - Added the ability to customize the whole editor popup like any editable area (background colors, etc). - User needed to enable popup snippet from the settings. We removed that setting so now popup snippet will always be available. - Added new snippet "Newsletter block". - Display notification after successful subscription the same way for all newsletter snippets. Closes https://github.com/odoo/odoo/pull/29353 task-1903256 closes odoo/odoo#29353 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Co-authored-by: qsm-odoo <qsm@odoo.com>
2018-09-10Revert "[IMP] *: Define groups on res.users models"Yannick Tivisse
This reverts commit 99f497b390e680629dce3a7e2e282ada74ee9884.
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
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
2016-08-26[FIX] mass_mailing, website_mass_mailing: "group_website_popup_on_exit" groupSimon Lejeune
This group was defined in the mass_mailing module but is only working when you install website_mass_mailing. What this group does is allowing to insert a newsletter snippet in the page, thus it has nothing to do in the mass_mailing module which doesn't depend on website. Also, the snippet itself was already defined in website_mass_mailing. Moved all the things to website_mass_mailing.