summaryrefslogtreecommitdiff
path: root/addons/partner_autocomplete
AgeCommit message (Collapse)Author
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-28[FIX] *: removal of any possibility of purchasing IAP credit in iOSAdrien Dieudonne
According to the app-store guidelines we are not allowed to sell from the iOS app. Our updates are currently blocked because of this. In the rush, we have no choice but to hide certain elements related to IAP services. Source: https://developer.apple.com/app-store/review/guidelines/#business Related PR: https://github.com/odoo/mobile-ios/pull/102 https://github.com/odoo/mobile-ios/pull/103 Task-ID: 2483253
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[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-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-30[FIX] partner_autocomplete: avatar widget not clickable on mobileasa-odoo
Previously, in company form view, avatar was not clickable due to a `block` div that was overlapping the avatar widget and preventing clicking on it. This commit fixes the issue by preventing the overlap and thus making the image widget on company form clickable. Note that another fix would be to remove `partner_gid` from the company form view (it's already the case in 14.0). In this case "oe_title" is directly followed by .o_form_view .oe_avatar and a padding-right: 100px is applied: .o_form_view .oe_avatar + .oe_title { padding-right: 100px; } However, considering stable version, changing fields position should be avoided. Task Id: 2231950 closes odoo/odoo#62631 Pr: #53798 X-original-commit: 6e6847767b1c2ef741773a1a8a63cccbcf31e798 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com> Co-authored-by: D J <dja@odoo.com>
2020-11-29[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-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-22[FIX] partner_autocomplete: show other errorsNicolas Lempereur
When IAP reply when an error for partner_autocomplete, show the error instead of thinking `error` and `error_message` are res.partner data which leads to subsequent errors. opw-2337763 opw-2341473 closes #58024 closes odoo/odoo#58147 X-original-commit: 3a0544a6146c924c5d71c223f8ff10ff21ba1f09 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-09-09[FIX/IMP] partner_autocomplete: vat for freeNathan de Pryck
In this commit, we ensure that the vat is added to the company data if an error occured when contacting iap-services. task~2092378 closes odoo/odoo#57233 Signed-off-by: Rémi Rahir (rar) <rar@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-18[IMP] partner_autocomplete: do not fill email field on partnerRémi Rahir
- the email returned by Partner Autocomplete is often useless as it is quite generic/random e.g. info@company.com. As it is set automatically, the user might not realize he is going to send an email to that generic address. - not returning the email address faclitates some onboarding flows. It allows us to prompt the user to set his own email address to have a preview of the emails we are sending. Note that this information is not lost but rather displayed in the chatter of the partner record. However, we do not propagate this modification to other services like Lead Enrichment or Lead Generation since this kind of email is still relevant to: - approach a new prospect - enrich information and create leads based on the email domain TaskID 2321864 closes odoo/odoo#56038 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2020-08-18[ADD] iap_crm: bridge module for IAP and CRMThibault Delavallée
PURPOSE Clean and improve IAP services integration in Odoo. Clean IAP integrations tools and improve data sharing with base modules, notably for CRM and Partner. SPECIFICATIONS In this commit we create a bridge module between iap_mail and crm to hold notably some fields used in various CRM integrations. Now that we have clean bridge module we can safely update crm and partner integrations dependencies. LINKS Task ID-2248367 Community PR odoo/odoo#53214 Enterprise PR odoo/enterprise#11258 Upgrade PR odoo/upgrade#1363 IAP PR odoo/iap-apps#191
2020-08-18[ADD] iap_mail: bridge between mail and iapThibault Delavallée
PURPOSE Clean and improve IAP services integration in Odoo. Clean IAP integrations tools and improve data sharing with base modules, notably for CRM and Partner. SPECIFICATIONS In this commit we create a bridge module between iap and mail to hold notably some notification data. It includes a template shared by several iap modules. We also move its override in the right file and clearly rename assets file in crm_iap_lead in order to clean a bit module organization. LINKS Task ID-2248367 Community PR odoo/odoo#53214 Enterprise PR odoo/enterprise#11258 Upgrade PR odoo/upgrade#1363 IAP PR odoo/iap-apps#191rade#
2020-08-18[REF] iap, various: reorganize IAP module organizationThibault Delavallée
PURPOSE Clean and improve IAP tools integration in Odoo. Introduce bridge modules to extract common features, notably for CRM and Partner. SPECIFICATIONS In this commit we reorganize IAP module to better understand its content and ease future cleaning * have models separated from tools; * rename some tools to find their grep. An iap_ prefix is added to ensure we don't clash with other global functions or methods; * perform some linting; To provide backward compatibility support we keep some import in init file of IAP addon. Standard code is about to be updated but we want to avoid too much issues when migrating code to 13.5 . Compatibility layer will be removed after v14 final freeze. LINKS Task ID-2248367 Community PR odoo/odoo#53214 Enterprise PR odoo/enterprise#11258 Upgrade PR odoo/upgrade#1363 IAP PR odoo/iap-apps#191
2020-07-03[FIX] partner_autocomplete: stop comparing apples and orangesFlorent de Labarre
If no country is specified on a partner, self.country_id is res.country() and partner_country_code contains res.country(). In the next line the code was comparing `res.country()` with `'BE'`, raising a warning. closes odoo/odoo#54026 X-original-commit: ef9fc11ded5eaef81ee4d844039bf41a714599f5 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-05-13[FIX] partner_autocomplete: auto suggestion box cut on small deviceDhruv Patel
Partner autocomplete suggestion popup cropped from the top in small devices. once you type anything in M2O box, autocomplete popup will display with all maximum possibilities consist of the database records and records got from global search partner API. Currently, we have limit of database record search is 7 and autocomplete display maximum 16 items databse records + API generated records. So with this commit, we have reduced the API record display limit for small devices, based on height it will display number of items in autocomplete box, this will reduce chance of cropped issue. Task:2206844 closes odoo/odoo#51151 X-original-commit: ded375786557ae6c7680409faa32cbe3a4e30e99 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2020-04-15[IMP] partner_autocomplete,crm_*: unify displayed "clearbit" informationAurélien Warnon
PURPOSE We make multiple calls to the clearbit API and the returned information are shown in various different templates, although they contain the same information. The purpose of this commit is to unify the templates into a single one to reduce code size and improve coherence. SPECIFICATIONS Currently, we have 3 ways of reaching out to the IAP clearbit api: - When creating a partner (autocomplete service) - When enriching an existing lead based on its email address - When generating leads using the "Geneate Leads" button or using the website visitors Every time we use the service, we log a note in the model's chatter containing all the information returned by the cleabit service (estimated annual revenue, media links, sector, ...). Though using different endpoints and methods, all the calls essentially return the same data, and the templates could be unified for consistency. This is the goal of this commit. We merge the 3 separate templates of each modules into a unique template that always renders the same information to the end user. To do that, we had to find a common module to store the template, we chose "partner_autocomplete" as it's installed anyway as soon as "crm_iap_lead_*" is installed. LINKS PR #40349 Upgrade PR odoo/upgrade#775 Task 2081471
2020-04-09[FIX] web: flatten t-call-assets in test assets bundleJulien Mougenot
Before this commit, the test assets were called with a `t-call-assets` and contained themselves some other `t-call-assets` to the back-end assets. According to the current specification, having nested `t-call-assets` will result in a compilation of the lower levels regardless of the current debugging mode. Now, the test bundles (desktop & mobile) have been arranged so that their `t-call-assets` are all called on the same level. closes odoo/odoo#49306 Related: odoo/enterprise#9797 Signed-off-by: Aaron Bohy (aab) <aab@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-20[REF] base, various: remove unused viewsVictor Feyens
PURPOSE Remove dead views to clean dead records SPECIFICATIONS Find unused views and remove them, notably specific views that are not used anymore because generic one is always taken. Notably * view_partner_short_form: a short form view on partner that is not used anywhere anymore. Indeed it has a priority of 2 whereas default form view has a priority of 1 (lower better). It is not referenced in actions anymore. It is therefore dead. LINKS Task ID 2196317 (Social/Marketing specific)
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-04[FIX] partner_autocomplete: image.mixin on partner formRémi Rahir
The m2o widget did not provide the correct default context key. closes odoo/odoo#46888 X-original-commit: d59ebe634f3d9f89d493ca38418513bea24f3ba9 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
2020-02-05[FIX] web, *: add lazy loaded libs in the test assetsqsm-odoo
*: partner_autocomplete Those cannot be properly lazy loaded by test widgets, so they are loaded directly through test assets. Testing lazy loading should be part of a dedicated test system. Part of https://github.com/odoo/odoo/pull/44596
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-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-10-21[FIX] iap, partner_autocomplete: Autocomplete without IAP account tokenGoffin Simon
Steps to reproduce the bug: - Go to Settings > Technical > IAP account > - Remove the access token - Go to Contact - Try to create a company called 'Proximus' and click on the autocomplete Bug: A traceback was raised because the IAP account token was not set. opw:2087607 closes odoo/odoo#39099 X-original-commit: bc6357f0b95d354afa602eecce24a3c265819101 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-10-18[FIX] partner_autocomplete: do not crash on empty logoPierre Rousseau
Before this commit, if the user clicked on a company which have no company logo, the system did not let him create a contact. opw-2086824 closes odoo/odoo#39054 X-original-commit: e3fe7a9af00b7afa5b03d5dcaac1d8f135cb1ea5 Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot