summaryrefslogtreecommitdiff
path: root/addons/website_partner/controllers/main.py
AgeCommit message (Collapse)Author
2017-08-08[MOV] website, http_routing: move (un)slug support to http_routingThibault Delavallée
Slug and unslug API is now available in http_routing. Indeed there is no link to any website or any reason to not support slufigied URLs when website is not installed. A new unslug_url method is added as a tool coming from an embedded method from website. Doing it allows to have all slug related methods defined at the same point. Support of slug and unslug in qweb rendering is also moved directly in http_routing version of ir_ui_view instead of website inheritance. This is done in order to keep things coherent. Some code from website about ModelConverter is also moved. Indeed both versions of ir_http uses some kind of placeholder to store the uid when converting urls to python. This commit unifies it by using the website one directly in base to simplify the override. This commit also updates all module importing slug. Enterprise modules will have to be updated, see related commit.
2016-09-02[FIX] all: remove external ids fakely from baseMartin Trigaux
Several modules defines records with the external ID `base.foo_bar` while it is created inside this module (typically menus and groups). While there is no technical reasons to do so but this may introduce issues: - these records will not be deleted during uninstall - if a language is loaded before the installation of the module, it won't be translated The uninstallation will only remove the records with an external id linked to this module (these would only be removed when removing base). Installing a language before the module will drop the translations not linked to an existing external id (as it can not be resolved). This commit correct all the external ids tagged as from base or other incorrect modules.
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.
2015-11-24[MIG] website_partner: migrated into new apiSrushti Patel
2015-01-20[IMP][REF] website_partner: add published mixin on res.partner object.David Monjoie
Also added basic controllers on the partner model, allowing to see the public page of a published partner (or all partners if website manager). The template was already existing, but the controller was missing. It has been added. [FIX] website_customer: fix the inheritance of view as the website group has been removed in the parent view. Also added a breadcrumb fix.
2014-05-15[FIX] website_partner remove controller, add support for negative idsAntony Lesuisse
2014-05-12[FIX] website_{customer,partner,crm_partner_assign}: correct views and ↵Christophe Simonis
controllers
2014-03-14[FIX] website: route and redirect: remove all backslash from urlchm@openerp.com
bzr revid: chm@openerp.com-20140314162346-25vohj6ayp65tgiy
2014-01-23[REM] Removed preload_recordsFabien Meghazi
This feature will be stripped down and moved to server's ir.http#_dispatch() bzr revid: fme@openerp.com-20140123150448-3hhlj4vytr82k88n
2014-01-20[REM] Removed @website.route() decoratorFabien Meghazi
Need trunk-website-al Rev#5151 bzr revid: fme@openerp.com-20140120153733-ve3dn2kwvha7n3yl
2014-01-07[FIX] website: Access rights and Access for: website_crm_partner_assign, ↵Christophe Matthieu
website_customer, website_event, website_event_track, website_membership, website_partner, website_sale bzr revid: chm@openerp.com-20140107135933-h622wxwfhwoulg7q
2013-12-17[IMP] preload all objectsFabien Meghazi
bzr revid: fme@openerp.com-20131217150211-zquu7nn05g23m4r4
2013-12-11[FIX] website: typo, partner order, event demo dataChristophe Matthieu
bzr revid: chm@openerp.com-20131211112617-11kdph7cieews0y8
2013-12-05[FIX] website_sale: filters and partner controllerChristophe Matthieu
bzr revid: chm@openerp.com-20131205162240-33wfteow79zlbdrn