summaryrefslogtreecommitdiff
path: root/addons/base_setup
AgeCommit message (Collapse)Author
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-19[FIX] *: update document linksSwapnesh Shah
Before this commit, links to the documentation were referenced the previous version, 13.0, instead of the current one, 14.0. Eventhough there is a redirection done by NGINX of a "versionless" URL to the latest one (e.g. /documentation/user/general/auth/google.html -> /documentation/user/14.0/general/auth/google.html as of today), the goal is to keep links owrking for users that will still be using the 14.0 in three years (and should not endup on the 17.0 doc). closes odoo/odoo#59554 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-01[FIX] base_setup, website, tests: remove Gengo referencesNicolas Martinelli
The Gengo modules were removed with: https://github.com/odoo/odoo/commit/b38b72e456a https://github.com/odoo/odoo/commit/9b1f0962baa But there are still references to it. opw-2349904 closes odoo/odoo#58931 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-09-29[I18N] *: export 14.0 source termsMartin Trigaux
Including demo data this time closes odoo/odoo#58821 Related: odoo/enterprise#13682 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-16[FIX] microsoft_calendar: Badge when sync is activejbm-odoo
Add a cron to sync events in Microsoft calendar In Google and Microsoft calendar: remove 'sync with ...' button when the synchronization is already activated, and replace it by a badge. closes odoo/odoo#57076 Taskid: 2329313 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-09-01[IMP] base: Document layout preview improvementsSimon Genin (ges)
The document layout preview is a complete defferent simplified template with its own css that replicates at best the different styles. It does not have the external layout features and lack of fidelity. The new preview actually use the real documents templates and put the result in an iframe. It now has a high fidelity, though not perfect. The goal is for a better onboarding, where clients see easely how documents will look if they had an app to generate them. Of course, the data on the document is a false invoice. Refactor all this from base to web. Task ID 2304177 closes odoo/odoo#56415 Signed-off-by: Lucas Perais (lpe) <lpe@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-17[FIX] *: adapt action content retrievalMartin Trigaux
Use _for_xml_id to replace all the self.env.ref().read()[0] This has the advantage of having a single point of control and to add the fields filtering and model verification. Add sudo for other operations on ir.actions.*
2020-08-14[ADD] base: API keys supportXavier Morel
* ability for a user to request / create keys associated to their user * overrides can block RPC solely through API keys, by overriding `_rpc_api_keys_only()` (to require API auth even in situations where the user has not requested it themselves) * hash keys just in case as we can do so and might as well, add a cleartext index (first 4 bytes of 20) to avoid blowing up the DB if a user decides to create millions of keys for some daft reason * users can delete their own keys, admins can delete (invalidate) anyone's keys * `scope` on API keys can be used to restrict usage to certain kind of applications, so API keys can be used for other things than global authentication. New keys manually created by users have no scope by default so they are valid everywhere (global keys). RPC auth (stateless XML-RPC/JSON-RPC) requires global keys Co-authored-by: Florimond Husquinet <fhu@odoo.com> Co-authored-by: Olivier Dony <odo@odoo.com>
2020-08-05[ADD] calendar_microsoft: Synchronize Microsoft calendar with Odoojbm-odoo
TaskID 2223219 closes odoo/odoo#54936 Related: odoo/upgrade#1557 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-07-17[IMP] base,base_setup: Improve general languages settingsshs-odoo
Purpose of the task is, We saw that users encounter difficulties while installing languages so improve the user onboarding experience when user wants to install a new language. So in this commit, - Change the load langauge wizard title as 'Add Language' and rename the button as 'Add' - Removed documentation link as it is not up to date - Added the 'Add language' button to general settings and it will open the wizard to load the languages. and move the 'manage language' button to the debug mode. - After install added button 'switch to (lang) & close' to switch to newly added language. closes odoo/odoo#53581 Taskid: 2281393 Closes: #53581 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Co-authored-by: Nisha Patel <nit@odoo.com>
2020-06-12[IMP] *: update notifications to optional titleJulien Mougenot
closes odoo/odoo#52826 Related: odoo/enterprise#11084 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-06-05[IMP] google_recaptcha, *: integrate recaptchaV3fja-odoo
* = base_setup, website_form, website_sale, website_crm, crm_iap_lead_website, website_hr_recruitment, website_mass_mailing Integrate reCaptchaV3 on website_form submit and website_mass_mailing subscription. You can now use ReCaptchaV3 to add reCaptcha verification in any module using google_recaptcha. Also added a better error management on the form with custom messages. task-2217980 closes odoo/odoo#48466 Related: odoo/enterprise#9649 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-05-06[IMP] base_setup: some changes in settings displaySébastien Mottet (oms)
- Hide statistics section when empty - Change order of two options in Integrations section - Change label users to permissions to avoid duplicated label Task ID: 2214425 closes odoo/odoo#48362 Related: odoo/enterprise#9491 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-04-23[I18N] *: export saas-13.3 translationsMartin Trigaux
closes odoo/odoo#50031 X-original-commit: 15a7a9f9d71a0b9c46d7caf2f4fbf09a5a4c63fe Related: odoo/enterprise#10140 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-03-27[IMP] res_settings: Change icon for documentation linkjbm-odoo
Change icon for documentation link to fa-question-circle in green. Task ID 2226026 closes odoo/odoo#48469 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-25[FIX] base_setup: Add DOM id to license linkLucas Lefèvre
With Odoo Enterprise Edition, the license is still GNU LGPL. A DOM id is added here to allow targeting the license link in `web_enterprise` Task 2198484 closes odoo/odoo#46263 Related: odoo/enterprise#8776 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-18[IMP] various: update of documentation links in res.configRémy Baranx (bar)
Purpose ======= - Change the font-awesome icon from fa-book to fa-question. - Change the icon color to text-secondary (the same than the multi-company icon). - Adjust the icon size to the uppercase text size. closes odoo/odoo#47210 Taskid: 2209062 Related: odoo/enterprise#9116 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-12[FIX] base_setup: fix image parsing error on savejvm-odoo
Issue - Have 2 languages installed - Install Invoicing & Website - Go in Settings - Search "logo" (image) - Upload a logo for your website - Save - Search "Default terms & conditions" (translatable field) - Click on the translate button (e.g. EN if you are in english) A popup will appears saying that you should save your changes. - Click on Save & do not edit translation (not needed) - Search "logo" Image disappeared Cause When saving, a read is called. By default, read has bin_size to true to avoid performances issues. It will return the image size instead of the content This is why the image disappeared. Solution As configuration is dirty, you are forced to save & it will always read with bin_size set to true. My solution would be to set it to false for settings. OPW-2208232 X-original-commit: 93a7695f65baf00d1f82481d6a2a97e6c11940a8
2020-03-05[FIX] base_setup: test checking config linksXavier Morel
The tag "nightly" is not an actual thing, so the test gets run all the time, and since the taxcloud page has been moved it now breaks. Replace by the proper tag. closes odoo/odoo#46938 Related: odoo/enterprise#9019
2020-02-28[IMP] various: add documentation links in res.configRémy Baranx (bar)
Purpose ======= A 'book icon' link to the documentation of a feature has been added in its settings panel, when it is useful (complex feature). Add a nightly test that parses all the res_config_settings views from the base one and checks that all documentation links are still valid. Add the o_doc_link class to all documentation links to be able to easily catch them if needed. closes odoo/odoo#45813 Taskid: 2180574 Related: odoo/enterprise#8601 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-13[IMP] base,web_unsplash: Add set up messageSwapnesh Shah
Before this commit, There was no Instrustion to Setup this feature like other Integrations. Now we display message when we enable this feature for the First time from settings. closes odoo/odoo#44439 Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
2020-02-13[I18N] export saas-12.3 source termsMartin Trigaux
closes odoo/odoo#45285 X-original-commit: bb281e98f52a2716f00d43a07446a08df698c1dd Related: odoo/enterprise#8413 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-02-03[IMP] inter_company_rules: split sale/purchase and accountwan
Task 2080625 There are now 2 modules: * account_inter_company_rules * sale_purchase_inter_company_rules This allows to use the feature without having to install sale and purchase. closes odoo/odoo#43039 Related: odoo/enterprise#7636 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
2020-02-04[FIX] base_setup: show demo data button only in debug modeOlivier Dony
During the port to 13.0 and the new Settings dashboard, the "Load demo data" button visibility condition was reversed. Cfr #34290 or https://github.com/odoo/odoo/pull/34290/files#diff-e5df7b873d03867c9527da957b762802L131 closes odoo/odoo#44587 X-original-commit: 61b7d53731623db42896f61a4c2772761d7892de Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-12-23[IMP] base_setup: conjugate the view contentAurélien Pillevesse
Update company and language translations with condition closes odoo/odoo#41311 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-16[I18N] *: export saas-13.1 source termsMartin Trigaux
Without demo data, for the odoo-master transifex project closes odoo/odoo#41935 X-original-commit: dab7670b73506fb3a835695ee3bd735e0c5e5c2b Related: odoo/enterprise#7287 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-10[I18N] *: remove es_AR translationsMartin Trigaux
Followup of a425695e The terms were back in 12.0 Courtesy of Juan José Scarafía closes odoo/odoo#41624 X-original-commit: 85d0c7001a997748d7691205bbb8d066597591a5 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-09[IMP] *: set name element on main containers in configuration viewsYenthe666
This will improve the extendibility of view inheritance closes odoo/odoo#41398 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-04[FIX] base: when saving settings, only reset environment if modules were ↵Nans Lefebvre
installed/uninstalled Execute the tests from ea574fe9ff644 and 9e9ac5ced80b30, which are in a SavepointCase. The second test fails on a cache_miss. Whats happens is the following: - the second test starts with the environment from the beginning of the first test. However its envs has a reference to environments that were created during the first test. - when computing the field, the ORM finds the value in a zombie environment, so does not recompute it - when trying to get the value, the value is not in cache The issue is that going through res.config.settings's execute resets the envs. One solution is to put: self.addCleanup(lambda: setattr(self.env.envs, 'envs', envs)) in SavepointCase's setup. However in that case the reset is not needed at all: it's necessary only if there were some modules to install. Unfortunately to_install and to_uninstall are not symmetric: to_uninstall contains only modules that should be uninstalled, whereas to_install contains everything, and only filters later what actions really need to be performed. In this case, we can rely on the result of the installation process. closes odoo/odoo#41126 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
2019-12-02[FIX] web,(various): don't pollute session_info for portal usersDamien Bouvy
The `session_info` dictionnary is used to bootstrap some JS code client side (usually in the backend). It includes relevant information, such as some parameters key for the OdooBot onboarding, the Enterprise subscription expiration alert, etc. to avoid triggering a lot of RPC calls upon webclient start. `session_info` is also called by the remote authentication mechanism located at `/web/session/authenticate`, which can be used by external mechanism to obtain a valid session remotely. Revision odoo/odoo@8a28cc2 introduced the concept of cache keys for some oft-requested data (such as menus, translations and dynamic qweb templates) to avoid requesting them on each webclient start, since they tend not to change often. Unfortunately, it introduced a read on the ir.ui.menu model that raised an `AccessError` if the authenticating user was not a member of the `base.group_user` group ('Internal' user type). While fixing that issue, it became apparent that `session_info` returns a whole lot of information through this remote connection route which is entirely unnecessary if not used in the context of a webclient start, such a currencies, the state of the enterprise subscription, etc. This commit fixes the access right issue by removing this non-relevant information from the returned dict (including cache keys) if the user is not an internal one. closes odoo/odoo#40770 X-original-commit: 6e99ac2c6cd5ca9af87b4fc7a3a1394359e30b02 Related: odoo/enterprise#6860 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-13[FIX] *: various fixes in xml viewsXavier-Do
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-13[I18N] *: export saas-12.5 source termsMartin Trigaux
closes odoo/odoo#36853 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-13[IMP] res_config: Apply groups to users accross companiesYannick Tivisse
Purpose ======= When enabling/disabling a group, the modification is only applied to the users from the enabled companies. It should be applied to all the users. closes odoo/odoo#36744 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-08-30[FIX] base_setup: load demo data does not worksBarad Mahendra
While moving web_settings_dashboard to base_setup in commit: https://github.com/odoo/odoo/commit/78565b1dc933692abba46a73f2298b7ea8e03c88#diff-2ac1c5a222c5332be62450c099440fd6L292 the load demo data click event was missing. so added event to load the demo data in base_setup. Task-2062477 closes odoo/odoo#36275 Closes: #36275 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
2019-09-09[IMP] base_setup : remove install button of SMSRémi Rahir
PURPOSE Allow auto install of all SMS-based feature. Move partner onchange formatting directly inside phone validation. SPECIFICATIONS Send SMS feature should not be an option anymore. Move SMS settings it to the left of the Partner Autocomplete one and remove field. Since SMS is now integrated with several business apps we do not want the user to uninstall that module "by inadvertence". LINKS Task 2061765
2019-09-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-08-28[FIX] base_setup: allow extension of the edition widgetRémi Rahir
The refactoring of the settings in a0c34138f88c4eb5d8a86340df55bbc091c5a252 did not properly take the enterprise edition into account. In particular, we had lost the information about the expiration date. This commit adds that information in community as the alternative would be to extend the widget ResConfigEdition in web_enterprise which would imply an explicit dependency between web_enterprise and base_setup and we would like to avoid that situation. closes odoo/odoo#36114 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>