summaryrefslogtreecommitdiff
path: root/addons/website_project/controllers/main.py
AgeCommit message (Collapse)Author
2017-08-16[MOV] website_project,project: move all featuresJérome Maes
Making project depending on portal, makes website_project useless. So move all feature from one module to the other.
2017-08-08[MOV] website_portal, portal: move customer portal to portal moduleThibault Delavallée
This commit moves the whole customer portal to the portal module. It now completely uses portal and http_routing features and is not dependent on website anymore. An override of web controller is added in portal in order to redirect portal users to /my instead of /web. That way once having the customer portal installed all share users are correctly redirected to their account. All modules defining customer portal templates and controllers are updated accordingly.
2017-07-04[FIX] website_project: default search on tasksDenis Vermylen
set default search to 'content' as expected.
2017-05-10[FIX] P3: list -> iterable builtins (#16811)xmo-odoo
In Python 3: * various builtins and dict methods were changed to return view/iterable objects rather than lists * and the separate Python 2 view/iterable builtins and methods were removed altogether This is problematic when using these items as list (which the happens repeatedly in Odoo), but more viciously when iterating *multiple times* over them (which also happens, which I've messed up multiple times while writing this, and which is a pain to debug even when you've just created the issue). Convert all code using these to semantics-matching cross-version helper functions to get the LCD behaviour between P2 and P3, and forbid the builtins via lint. issue #8530
2017-04-21[IMP] website_project(_issue): improve search on website page for tasks and ↵Pratima Gupta
issues This commit improves the various way of searching tasks and issues in website pages for tasks and issues. As for other website apps it is now possible for the customer to search in name, description, stage or discussion thread.
2017-03-23[IMP] website_portal: hide menu when no documents availablefwi-odoo
This commit impact website_portal, website_portal_sale, website_project, website_project_issue, and website_crm_partner_assign. The idea is to hide menu items and dashboard entry in customer portal when there no document available. Only Sales Orders and Opportunities are always displayed to avoid empty dashboard. Also, resequence menu items to be more consistent and to prepare to insert more items in the future.
2017-02-24[IMP] website_portal*, website_project*: typo in label + try to imp mobile viewJeremy Kersten
2017-02-24[IMP] website_portal*, website_project*, website_quote, website_blog: add ↵Jeremy Kersten
record pager in portal + fix re-use websitue_url in get_access_action
2016-11-09[IMP] website_*: cleaning in portalJérome Maes
- Extend 'account' method and not '_prepare_layout_values' to add document count. This avoid useless 'search_count'. - Make the 'active' page working, by passing 'page_name' to the template - Uniformize the pages when no document are available
2016-11-09[IMP] website_*: generic filter and sort mecanism for portal documentsVipul Bhatt
website portal now provide mecanism to sort and filter the paginated document on the portal pages. All portal module now use this mecanism, like they do for 'archive document' and 'pager'. A generic template was added in website_portal. To use it, renaming variables in method controller was required to make it as generic as possible. Some style cleaning was also done to make portal pages consistent.
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-07-06[ADD] website_project: Portal access to ProjectsAntony Lesuisse
Split project to move portal features to a new module named website_project. Portal users may now access their projects and tasks throught the website_portal My account page. The Backend portal menuitem is removed. Simplify the privacy settings of project, to be visible to portal users the project must be in 'portal' mode. Original authors: Vipul Bhatt, Florian Wintjens
2015-08-14[REM] website_project: this half-finished module does not make sense anymore ↵Damien Bouvy
since public projects have been removed
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
2014-05-13[IMP] Invert multilang logic in route decorator. True by default, can be set ↵Fabien Meghazi
to False explicitlty
2014-04-23[IMP] website_project: remove preprocess_request content; user can the add ↵chm@openerp.com
link with the menu editor bzr revid: chm@openerp.com-20140423150135-ng1xkiopm2ks3v23
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: test tour and website_sale tour. Add ajax trigger to display ↵Christophe Matthieu
popover when the ajax is complete and hmlt is loaded bzr revid: chm@openerp.com-20140129160839-ijdcnuiny6ys8z6p
2014-01-28[IMP] website_project: active moduleChristophe Matthieu
bzr revid: chm@openerp.com-20140128165340-6qz9iq4iulnck55w
2014-01-20[REM] Removed @website.route() decoratorFabien Meghazi
Need trunk-website-al Rev#5151 bzr revid: fme@openerp.com-20140120153733-ve3dn2kwvha7n3yl
2013-11-07[FIX] Can't translate menusFabien Meghazi
context was not passed while setting request.website forced to refactor a bit in order to make true model methods but stopped because it will be duplicated work when migrating to the new api bzr revid: fme@openerp.com-20131107151400-9dmtgz7xs34qmbmq
2013-10-18[FIX] SEO 'aware' modelsddm
bzr revid: ddm@openerp.com-20131018135926-vdmelqsp1ama13st
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-26[IMP] website_project multilangFabien Meghazi
bzr revid: fme@openerp.com-20130926163606-3qhf03p9u43hygap
2013-09-24[FIX] [CLEAN] website_project: added controller and dummy template for task. ↵Thibault Delavallée
Will have to be improved, but at least we have a controller. Some cleaning has been performed, notably about indentation. bzr revid: tde@openerp.com-20130924145445-udqk94zvwq72mr24
2013-09-10[IMP] better name for global rendering variablesFabien Meghazi
bzr revid: fme@openerp.com-20130910141502-ptz2vj1jckvh7urq
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-09-04[FIX] language selectionFabien Meghazi
bzr revid: fme@openerp.com-20130904081659-f2vyt3iy9pr6d3yq
2013-09-03[ADD] WebContext object and language selectorFabien Meghazi
bzr revid: fme@openerp.com-20130903153520-14o3vk29l3ft7z0a
2013-08-21[IMP] website: create generic kanban viewChristophe Matthieu
bzr revid: chm@openerp.com-20130821160632-tsl5v1l5cj10w92c
2013-08-21[IMP] website_project: display table of task by stageChristophe Matthieu
bzr revid: chm@openerp.com-20130821085246-721xkh5bji0vqi9q
2013-08-19[IMP] add new module website_projectChristophe Matthieu
bzr revid: chm@openerp.com-20130819142812-vvb9e5s2gzg94hwz