summaryrefslogtreecommitdiff
path: root/addons/website_google_map/controllers
AgeCommit message (Collapse)Author
2019-10-18[FIX] website,*: remove useless route from sitemapJeremy Kersten
preparation for cleaning of v13 task-2065018 closes odoo/odoo#39051 X-original-commit: 8a0fc6476c70a4126043de3b3efbd1096e41f968 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-09-12[FIX] *: remove buggy calls to with_contextJairo Llopis
When .with_context() is called with a dictionary as 1st positional argument, it will replace context (and not modify the referenced keys) It may create bugs when losing the content of the context (e.g. remove partner's language) This is a partial merge of #36164 without the inventory part as discussed. closes odoo/odoo#36729 X-forward: 4717ccfa Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2018-12-13[FIX] base,website_google_map: fix partner address not showingSébastien Theys
Following commit 983c7e81529eb26a7a756e7d875b5638a26a3733. `_compute_display_name` is overridden in partner to force `show_adress` and some other context variables to None. When those values are in the context, calling `display_name` can give a different result than calling `name_get()[0][1]`. This commit reverts the changes of the mentioned commit where the behavior is actually different, that is, when `show_address` is in the context. It also adds a comment on the `_compute_display_name` method to avoid further mistakes. closes odoo/odoo#29510
2018-10-09[IMP] mail,crm,...: Replace occurences of name_get()[0][1] by display_nameTWA
Purpose ======= display_name is equal to doing name_get()[0][1] Replacing name_get()[0][1] by display_name could be good for 2 things: - Uniformization of the code - Probable optimization if name_get is used inside a for loop on a recordset (as the values will be prefetched and put in the cache). TaskID: 1849250 closes odoo/odoo#26341
2018-08-13[IMP] website: res_config_setting make most key website specificJeremy Kersten
google analytics, google map api key, ... can be set by website Remove useless duplicated label Co-authored-by: Derie Romain <rde@odoo.com> Co-authored-by: Kersten Jérémy <jke@odoo.com>
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-08-25[IMP] website, website_{*}: Google Maps API KeyNicolas Martinelli
As of June 22 2016, the use of API key is required to access the following: - Google Maps JavaScript API - Google Static Maps API - Google Street View Image API https://developers.google.com/maps/pricing-and-plans/standard-plan-2016-update For domains accessing the API before June 22, it will still work without an API key. Since Google advises to use the API key, we hide the Maps if no API key is defined.
2016-08-04[REF] website_*: remove `render` method on websiteJérome Maes
Since saas-3, website controllers use `request.website.render` to render the template of a web page. This was kept for retro compatibility. It's time to stop using deprecated stuff. Same for `_render` method on website. 'json' route don't use `request.render` since `JsonRequest` has no `render` method.
2016-08-03[REF] web, *: change deprecated import openerp.addons.web.http to odoo.httpfwi-odoo
We also remove the mock in web as there is no need for it anymore.
2016-07-29[MERGE] forward port branch 9.0 up to e0c0a5fChristophe Simonis
2016-07-29[MERGE] forward port branch 8.0 up to 9fe930eChristophe Simonis
2016-07-28[FIX] website_google_map: do not allow invalid partner prefixOlivier Dony
The only supported prefixes are the following: - /partners/ when website_partner and/or website_crm_partner_assign are installed - /customers/ when website_customer is installed
2015-10-08[MIG] website_google_map: new API migrationvbh-odoo
2015-07-01[MERGE] forward port of branch 8.0 up to 22bd3bdChristophe Simonis
2015-07-01[FIX] website_google_map: avoid errors in json serializationOlivier Dony
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-06-03[FIX][IMP] Make partner maps work properlyRichard Mathot
[FIX] website*: unfuck buggy controllers [IMP] website*: display GoogleMap in a human-usable interface [IMP] website_google_map: large module cleaning - There is now only one controller, data is sent once for all! - Map is now fully resizable in its hosting template - HTML/CSS cleaning - JavaScript is now human-readable ;-)
2014-05-14[FIX] google maps controller should be for POST onlyFabien Meghazi
2014-03-14[FIX] website: route and redirect: remove all backslash from urlchm@openerp.com
bzr revid: chm@openerp.com-20140314162346-25vohj6ayp65tgiy
2014-01-29[FIX] website: change auth=admin into auth=public. Fix website_project linkChristophe Matthieu
bzr revid: chm@openerp.com-20140129091050-w2d7dbigflwod1uj
2014-01-20[REM] Removed @website.route() decoratorFabien Meghazi
Need trunk-website-al Rev#5151 bzr revid: fme@openerp.com-20140120153733-ve3dn2kwvha7n3yl
2013-11-30[IMP] Performance improvement: improved cache with context, better get_objectFabien Pinckaers
bzr revid: fp@tinyerp.com-20131130154659-uqis34x2cemmocly
2013-10-01[FIX] website and all derived addons: fixed imports broken when movingThibault Delavallée
website.py to models/ directory in website (revision 9491 revid:xmo@openerp.com-20130930145358-qh7xdicgg21prsk4). bzr revid: tde@openerp.com-20131001085739-hoczgpqrv2nrr6lb
2013-09-10[IMP] Refactor code + WIP multiwebsiteFabien Meghazi
bzr revid: fme@openerp.com-20130910134133-esdgbhbtt8eguapk
2013-09-05[BREAK] request.context everywhereFabien Meghazi
some stuff broken will be repaired by chm bzr revid: fme@openerp.com-20130905151803-7d17us7rn9yubnb2
2013-09-04[IMP] Refactoring using `webcontext`Fabien Meghazi
bzr revid: fme@openerp.com-20130904153236-gc78bs8pxeprktkr
2013-08-30[IMP] website_google_map: add helper google_map_json on res.partnerChristophe Matthieu
bzr revid: chm@openerp.com-20130830142504-ecogcw4l7r70zidz
2013-08-30[IMP] rename website_google_map; add demo for eventChristophe Matthieu
bzr revid: chm@openerp.com-20130830134026-88luqb16o6ny6voy