Commit Graph
13 Commits
Author SHA1 Message Date
Yannick Tivisse fe9f077872 [IMP] web_planner: 'data' and 'progress' are company dependent
Purpose:
The settings planner (implementation guide) is confusing when in multi-company:
- The accounting planner shows information about the current company; which is OK
- But the planner is not specific to that company: it is the same for all companies which is wrong.
2016-06-13 16:33:44 +02:00
Christophe Simonis 2611a8198e [MERGE] forward port of branch saas-7 up to e765569 2016-02-02 14:48:31 +01:00
Christophe Simonis e765569d04 [MERGE] forward port of branch 9.0 up to f0a63e5 2016-02-02 14:44:39 +01:00
Denis Ledoux 29147f4a4a [FIX] web_planner: links to modules form
This partially reverts rev. 84ade6a861

In this specific part of the code, the goal wasn't
to check if the module was part of the installed modules,
but if the module was part the "known" modules, in order
to jump on its form.

Besides, as this link is most of the time used
to install the according module, it's quite dummy
to search it within the installed modules.

Before this revision, trying to click on the "Install" links
in the planners linked to an empty module form, instead
of the according module form.

opw-667407
2016-02-01 11:13:55 +01:00
Christophe Simonis 5f997bc4ef [MERGE] forward port of branch saas-7 up to 7fa6f73 2016-01-12 16:11:28 +01:00
Christophe Simonis 7fa6f73302 [MERGE] forward port of branch 9.0 up to cb79297 2016-01-12 15:30:29 +01:00
Simon Lejeune 7d30769980 [FIX] web_planner: cleaner way to handle initial percentage
Instead of using a default value of 5%, we now add a fictive first
step and consider it as done.

this is related to 9a8153ee55

(fp is watching my ugly commits)
2016-01-11 14:27:30 +01:00
Yannick Tivisse 23a4adc199 [ADD] project,crm,website_mail: Email template to send on email installation 2015-11-24 18:50:28 +01:00
Martin Trigaux 98d5673277 [FIX] web_planner: help message on active field 2015-10-30 14:36:11 +01:00
Raphael Collet 84ade6a861 [IMP] web_planner: optimize method render of web.planner
This method generates many queries on:
 - `ir.module.module`, to known whether a given module is installed;
 - `ir.actions.act_window`, to know whether a given action exists.

Add a cache for both cases.  The number of queries is reduced by 90%.
2015-09-15 14:34:31 +02:00
Xavier Morel 2ea5c3aeef [IMP] restrict modules to system_group
* listing of modules in website already bypassed session user
* altered authenticated endpoint so it does the same
* sudoed a few read accesses & name_get in groups
* other accesses are list/form views, menu only accessible to
  system_user
* new-API-ified some calls & unified listing of installed modules
2015-08-21 12:59:06 +02:00
Darshan Kalola 6b11eae281 [IMP] web_planner, crm : access rights and module not installed cases
- Make planner accessible only for erp manager and admin. Portal and employee are not concerned by planners
- Clicking on link redirect to module installation form if module not installed
- Add 'is_module_installed' method to display note if module is (not) installed
2015-05-06 13:07:42 +02:00
dka-odoo ab1b4cab31 [IMP] web_planner : planner as data module
Planner is like web Tips : a data in a module.
- Rename planner.planner to web.planner
- Rename files according to guidelines
- Remove planner_crm module
- Make CRM depends on web_planner, and add its planner as crm data
- Remove duplicate less style
- Add 'active' boolean field on planner (to disabled them), and create planner backend views
2015-04-23 10:04:31 +02:00