summaryrefslogtreecommitdiff
path: root/addons/mail_bot
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-23[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-20[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-13[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-06[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-27[FIX] *: rephrase, correct typosMartin Trigaux
Courtesy of Transifex's translators for reporting bad/unclear sentences. closes odoo/odoo#62539 Related: odoo/enterprise#15032 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-01[IMP] mail_bot: auto install the module againSébastien Theys
Its most glaring issues have been fixed. task-2291904 closes odoo/odoo#56907 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-28[FIX] mail, *: fix opens and redirects, adapt messaging menu closeSébastien Theys
task-2244279 task-2262862 task-2274993 task-2277537 task-2282238 closes odoo/odoo#56745 X-original-commit: 109f202 Related: odoo/enterprise#12761 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-08-26[IMP] mail, mail_bot: move notif request and OdooBot name into mailDidier (did)
task-2282334 closes odoo/odoo#56584 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-08-14[IMP] *: wrong any() usageVictor Feyens
Replace wrong usages of any(list|recordset), by any(generator) to speed up computations, avoiding list creations and/or looping twice on a recordset for nothing. any([generator]) => any(generator) any(filtered) => any(generator) closes odoo/odoo#55768 Related: odoo/enterprise#12360 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-08-13[IMP] web, *: improve mock server and replace most mail mockRPCSébastien Theys
Improve mock server: - add support for mocked `fetch` - add support for `active_test` - add support for x2m `in` in domains - add support for default values computed from a function - implement a more natural "next id" compute - allow initial data without ids - ensure write and x2m commands integrity - improve bad data/bad commands error messages - always warn for failing RPC, not only in debug mode - fix all existing tests that had inconsistency data Other changes done in mail (or dependents) that are not just related to tests: - remove `direct_partner` from formatter result ->`correspondent` can be computed from other keys, especially `members` - fix `livechat_visitor` convertData -> only process if there is value - add `current_partner` and `current_user_id` as `init_messaging` result -> easier to mock than session - remove usage of `need_moderation` -> that was just a search indirection to `moderation_status` - adapt `partner_id` -> `res_partner_id` key in `_notification_format` -> to be consistent with field name - add name in result of `mail_partner_format` -> sometimes display_name is not the same - remove usage of `is_moderator` -> that was just an indirection to `moderation_channel_ids` Enterprise counterpart: https://github.com/odoo/enterprise/pull/11523 task-2287171 closes odoo/odoo#55854 X-original-commit: 7ba3fecb3377a720d1eb70e7515a0c45da73836d Related: odoo/enterprise#12391 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-07-28[IMP] iap, mail_bot, snailmail: introduce tests_assetsSébastien Theys
Necessary to merge in saas-13.4: https://github.com/odoo/odoo/pull/53826 closes odoo/odoo#55056 Related: odoo/enterprise#12074 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-06-25[FIX] mail_bot: fix OdooBot not startingSébastien Theys
- fix initializer start override (typo in method name) - properly wrap async code in models - disable OdooBot for System user - use existing python method to create chat task-2284584 closes odoo/odoo#53669 X-original-commit: 47bbfeab9e238ab542d16bf4ed17d60ad6aea50d Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
2020-06-15[REF] mail, *: refactor messaging with OWLSébastien Theys
This commit is a significant rewriting of client-side discuss, chatter, chat window, and messaging menu using OWL. The behavior should be broadly the same, with some slight functional changes here and there. From a technical standpoint, the code of messaging is mainly organized in 2 main groups of modules: - models, which are logical entities that depict the client-side state of messaging as a whole. - components, which are in charge of displaying information from models. This refactoring also introduces new JS guidelines regarding folder structure (/static) and naming rules for JS modules. Community PR: https://github.com/odoo/odoo/pull/39023 Enterprise PR: https://github.com/odoo/enterprise/pull/6249 Task-1914207 This PR is a collaborative work by Alexandre, Julien, Sébastien and Xavier, with the precious help of Lucas to speed it up towards the end. closes odoo/odoo#39023 Related: odoo/enterprise#6249 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com> Co-authored-by: Alexandre Kühn <aku@odoo.com> Co-authored-by: Julien Giannone <jgi@odoo.com> Co-authored-by: Lucas Perais <lpe@odoo.com> Co-authored-by: Sébastien Theys <seb@odoo.com> Co-authored-by: Xavier Dubuc <xdu@odoo.com>
2020-05-27[IMP] mail_bot: remove required on odoobot_stateThibault Delavallée
Purpose is to avoid having strong requirements on fields where it is not really necessary. In this commit we consider now that a void odoobot_state is the same as ``not_initialized`` key. It allows to remove both the default and required parameters on the field. Task ID 2233014 PR #49661
2020-05-27[IMP] mail_bot: improve OdooBot workflowdmonzonis
This commit attempts to improve the workflow of the OdooBot onboarding tutorial, as well as the answer given by the bot while idle. These changes come from watching how users interact with OdooBot. To improve the user's experience, the following changes have been made: 1. Move the attachment to the end of the tour, as it is where most people just close the bot. 2. Remove the quotation marks around commands that OdooBot tells the user to type, like "/" or ":)", as some users try to actually type the quotation marks too. Instead, use a light grey background around the command that the user should type. 3. Some users ask OdooBot questions, but the responses they get are useless. To solve this, use a message linking to the documentation or the videos when: - The user gives wrong answers twice for the same stage of the tour - The user talks again when the tour is completed - There's a question mark in the answer To achieve this a "failed" state field is added on user model, allowing to distinguish state in the bot workflow from state of answers (failed / not failed). Task ID: 2233014 PR #49661
2020-05-26[IMP] mail_bot : do not auto install moduleLavish Chhatwani
Before this commit, mail_bot was an auto install module. However it is quite disruptive during the onboarding. Moreover it is not doing what is expected from users. We therefore set it as not auto install, to avoid having it installed by default in too many onboarding. Task ID 2252752 PR #51300 closes odoo/odoo#51897 X-original-commit: ed8cbae3485b6409603e91294d7f6535f3a5e45d Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-04-10[IMP] mail_bot: Remove OdooBot ping answersdmonzonis
Many users have complained about the automated OdooBot answers like "Pong" when the bot is pinged, that fill the chatter when the user has the mail_bot module installed, and add no real value.
2020-04-17[REM] mail: remove leftover mail alias fields from res.usersryv-odoo
A mail alias is still linked with the res.users model with 2 fields, alias_id and alias_contact (related). It is not used anymore. We can therefore remove those fields. Aliases were added at 052f2ace57e20f06980bc8fadf37b32be1921420 . Purpose was to be able to discuss with users directly using Odoo as a mailbox. However it was not usable and was quickly deactivated. Aliases on res.users was removed at 029d1baf359eabb7ed531287f3cb2b3b8d586d39 . It was decided at that time to not support alias on users anymore as it was creating more issues than adding communication facility. This commit finally removes the unused fields. If necessary in some custom flow they can always be added through studio. LINKS Task ID 1919277 Community PR odoo/odoo#41160 Enterprise PR odoo/enterprise#6983 Upgrade PR odoo/upgrade#872 Co-Authored-By: Rémy Voet <ryv@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
2020-04-07[IMP] *: adapt qunit suite bundle inheritanceJulien Mougenot
Since the test assets bundle name has been changed and its structure is different, the inheriting assets need to be updated. Task 2002399
2020-03-13[REF] *: Adapt all module tests to the new control panelJulien Mougenot
Use of the new control panel helpers to increase consistency and change the assertions according to the new DOM/behaviour (e.g. components removed instead of turning invisible). Part of task 2196029 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-03-11[FIX] mail_bot: revert of notification request changeSébastien Theys
Commit [1] does not work as it is supposed to, because there has been a confusion between the "notification request" and the "chat with OdooBot". `_showOdoobotTimeout` is for the chat, and it is unrelated to the notification request. We don't want to initiate multiple chats with OdooBot so that has to be reverted. As for the original goal of the PR about the notification request, it wasn't met either because it is the browser controlling it: - on Firefox there simply isn't a "close" button, and closing it by any other means (escape key) is considered as a denied. - on Chrome, when closing it for the first time, it will appear again automatically after the next page reload, so no additional code is required. However, if it is closed too many times (around 3) it will become automatically denied too, at the browser level. The only thing to do at that point is to better notify the user that it was blocked, without being intrusive, which is the focus of task-2188584. [1] b7254ecaeee7f8fa564ca2059f119f5d12404af6 opw-2186299 closes odoo/odoo#47395 X-original-commit: 50155e808c44121086cc7436cec0e7f166cd4268 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-03[FIX] mail_bot: odoobot waits 1 week between notification requestsjerome hanke (jhk)
Steps to reproduce: - install mail_bot - wait for odoobot to ask you if you want to receive notifications - do not select "grant" or "deny", click the closing cross Previous behavior: Odoobot would consider that you denied the request Current behavior: Odoobot waits 1 week and will ask you again opw-2186299 closes odoo/odoo#46697 X-original-commit: b7254ecaeee7f8fa564ca2059f119f5d12404af6 Signed-off-by: mightyjol <jhk-odoo@users.noreply.github.com>