Commit Graph
130 Commits
Author SHA1 Message Date
Yannick Tivisse 9e57185449 [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

[FIX] account: move some ir.model.access to sale module
[FIX] payment: Move some ir.rule to website_sale
[FIX] stock: move some ir.model.access rule to sale_stock
[FIX] project: Move some ir.model.access rules to crm_project_issue
[FIX] mrp: Move some ir.model.access rules to sale_mrp
[FIX] calendar: move some ir.model.access rules to crm

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.

[ADD] sales_team: See own documents => See only his sales team
Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm
into sales_team module. Add the record rules so that user can see only his Own Sales Team
if "See Own Leads" is sales right and can see all sales teams if he is having sales rights
of "See All Leads" or manager.
2016-06-09 16:05:25 +02:00
Yannick Tivisse ccdb5cbfc0 Revert "[IMP] base,sales_team: Move res_groups and menuitems to sales_team"
This branch need more testing instead of doing 10 fixes. A lot of issues are occuring
when installing modules in different orders.

This reverts commit fa6e415cdb.
2016-06-06 17:26:30 +02:00
Yannick Tivisse fa6e415cdb [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.
2016-06-06 15:46:52 +02:00
Vipul Bhatt e396f9dc9a [IMP] project: Demo channel 'Projects & Tasks' following all demo projects
A project can be followed by a channel. This channel will display all the
notifications on the projects followed by it.
2016-03-23 13:45:52 +01:00
Thibault Delavallée 0cf2ceca90 [IMP] project, issue: template on stages
Added a mail_template_field on project stage model (project.task.type). This
fields is used to automatically send an email when a task or issue comes in
this stage.

Recruitment code has been updated to use the mixin method.
2016-02-01 12:15:56 +01:00
Thibault Delavallée 85ea9b48e8 [FIX] project: demo data
In project, stages are shared between projects. However demo projects do not
have any stage by default but stages are assigned to some random stages. This
leads to columns disappearing from the kanban view when there are no more
tasks or issues in it.

Also fixed the addition of followers in a demo project. Instead of hardcoding
the followers use a message_subscribe instead. It was impossible to reload
the project module before that fix.
2015-12-02 11:35:02 +01:00
Nicolas Martinelli 908f416573 [IMP] project*: adaptation due to the new Sale module
Major changes:
- New start and expiration dates
- Remove field Contract Status
- Simplified because use of sale_timesheet

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00
Yannick Tivisse 9c71ef9e90 [REM] Remove res_partner_7, replace him by res_partner_4 2015-08-25 19:27:21 +02:00
Thibault Delavallée e6f038a821 [REF] mail: mail_thread: followers update
Followers can now be partners or channels. Partners following a document
will receive needaction, as previously. However people can follow documents
through channels. Members of a channel are able to listen to a stream
of messages using the channel. Those messages do not create needaction
messages. It is therefore possible to follow documents without receiving
too much notifications. For interesting documents subscribing with its
partner will create notification.

message_follower_ids fields is udpated. It is now a many2many to
mail.followers, not to res.partner anymore. A subscription can be either
a partner (partner_id) or a channel (channel_id).

Some access rules have been updated accordingly.
2015-08-21 12:11:56 +02:00
Damien Bouvy 8bd6074f03 [IMP] project,project_issue,project_timesheet,project_issue_sheet: project visibility and access rights modifications
[REM] portal_project: move ALL the things
- move portal access rights from portal_project  and website_project_issue to project and project_issue
- move portal menuitems back to their respective module
- remove public visibility of projects
- adapt demo data to have a 'Demo Portal' project
- add correct access rights for account.analytic.line for portal users
- small view tweak (do not display 'timesheet' tab if one can't see antyhing in it anyway)
2015-08-14 13:19:03 +02:00
Thibault Delavallée 8c1d1f5ce1 [IMP] project: stages are not shared anymore, removing the
concept of default / common stages.

However as the link between stages and projects is still a many2many
it is still possible to have shared columns. It is however not the
standard way of using stages.
2015-07-30 16:59:09 +02:00
Thibault Delavallée 9398fe98ed [IMP] project: removed members.
Members were not used in project, except for the now removed faces library.
Statistics can still be computed based on task or issues responsibles
instead of adding all members of a project.

Indeed you could have members that did not actually work in the project
making it difficult to differentiate with followers. Now the concept
of members is removed. Followers is sufficient for communication.
2015-07-30 16:59:09 +02:00
Thibault Delavallée f1099a6598 [REM] resource, project: removed faces library and its related
code in resource and project.

This library was once used to perfom resource allocation: scheduling
tasks and things like that. However this feature cannot be accessed
through the interface since a long time.

The feature is now removed from the project code. The library has been
removed. Some code in resource used only in the project code
has also been removed, as well as a test linked to this code.
2015-07-28 12:36:00 +02:00
Pariket Trivedi 2b61f6f6b3 [IMP] project,project_issue,portal_project: code cleaning
- remove unnecessary copy() method from project/res_partner.py
- remove old methods on project.project
- progress is not used anymore on project.project
- use clickable statusbar for project states
- remove _resolve_project_id_from_context
- rename project.category becomes project.tag to be more explicit
- remove old methods on tasks
- issues: remove option fetchmail_issue
2015-05-12 16:31:43 +02:00
Thibault Delavallée 4b122ad41d [MIGR] mail: migration to the new API 2015-04-27 10:36:15 +02:00
Thibault Delavallée dd343c8633 [IMP] project: kanban customization
- stage model (project.task.type): add fields holding the eventual specific
legends for kanban states and star (priority) management
- project: task now have labels; you may use project to hold trainings
instead of tasks.
- project form: use label field on tasks statinfo to use the label
- project.task form: use kanban state customization using states_legend option;
- project.task kanban: use kanban column and kanban state cuztomization
using group_by_tooltip and states_legend options
- project_issue: issues now have labels, like tasks.
- issue: same kanban custo as for tasks
- update data and demo data

[IMP] web: statinfo widget now take an optional label_field option allowing
to have strings coming from another field present in the form view
2014-11-13 11:31:39 +01:00
Ronak Baxi d83a6c69ac [IMP] crm, project, hr_recruitment: star (priority) management: less possible values, too much stars are too much tears ! 2014-10-01 09:41:44 +02:00
sus 56dfb4eeb9 [IMP] project: onboardin / usability improvements
- project kanban view: dashboard-like view, add sparklines for open tasks
and closed issues
- project: cleaned demo data, less stages
- project: description is now an html field
2014-09-18 11:38:10 +02:00
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
dreispt 766cc9c00c Fix wrong partner_id refs in Project demo data 2014-06-19 10:17:56 +02:00
Mahendra Barad (OpenERP) 102086302f [IMP]improved value of demo data and selection field
bzr revid: mba@tinyerp.com-20140108104029-rrdw8t2skrxs7yzj
2014-01-08 16:10:29 +05:30
Christophe Simonis bb1e256f5b [MERGE] forward port of branch saas-2 up to revid 9010 dle@openerp.com-20131125143003-vjtzj1c5051pdnk3
bzr revid: chs@openerp.com-20131125150054-b135qshkx6icakgk
2013-11-25 16:00:54 +01:00
Olivier Dony 2cba6a5355 [MERGE] Forward-port of latest 7.0 fixes up to rev 9629 rev-id odo@openerp.com-20131121153230-keie85rmes2zh2o8
bzr revid: chs@openerp.com-20131121112139-aw2ara1i1xymue62
bzr revid: odo@openerp.com-20131121154205-ul9hf9tz3h0x2n7m
2013-11-21 16:42:05 +01:00
Antony Lesuisse a85442d6db [FIX] fleet,project allow demo user to create cars and projects
bzr revid: al@openerp.com-20131120165314-btwzd5b0yvqcg2gc
2013-11-20 17:53:14 +01:00
Amit Bhavsar (Open ERP) 0d01453f81 [MERGE] merge with latest trunk
bzr revid: amb@tinyerp.com-20130813110637-nwi1lao9wegqz5ro
2013-08-13 16:36:37 +05:30
Thibault Delavallée 4b0baa3615 [CLEAN] project, project_issue, project_mrp: misc cleaning of code + fixed bug in project_mrp + re-added commentred tests in project_mrp
bzr revid: tde@openerp.com-20130710122526-tf87avul7huqgigg
2013-07-10 14:25:26 +02:00
Amit Bhavsar (Open ERP) d7e416f9b5 [MERGE] merge with latest trunk
bzr revid: amb@tinyerp.com-20130701110915-2tuac4fnmuc8jxh0
2013-07-01 16:39:15 +05:30
Thibault Delavallée 8fbfc997ae [REF] project: stage/status refactoring
Removed concept of state on project.task (and propagated report)
Removed python inheritance towards base_stage (specific code will be re-added)

bzr revid: tde@openerp.com-20130626132519-988nfq8pw8h8c8e8
2013-06-26 15:25:19 +02:00
Thibault Delavallée f9bc6be1ac [CLEAN] Before merging: removed an added file not used; cleaned some debugging data; improved user form view to better separate email/login and messaging alias.
bzr revid: tde@openerp.com-20130621110344-zx2kxan47uctctka
2013-06-21 13:03:44 +02:00
Foram Katharotiya (OpenERP) 09c62b0d02 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20130613071422-9iw22gkm33epbkpb
2013-06-13 12:44:22 +05:30
Thibault Delavallée 3f5c738084 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130522110325-hos9ocph7yo9ae7w
bzr revid: tde@openerp.com-20130522143206-uv1f6lj6xsenzj6u
2013-05-22 16:32:06 +02:00
Thibault Delavallée ef210bd489 [FIX] project: default visibility is employees only. Updated demo data by the way.
bzr revid: tde@openerp.com-20130416141145-3tsaz7u51xt80rer
2013-04-16 16:11:45 +02:00
Thibault Delavallée c7897690e2 [REF] project: removed duplicate files introduced when merging 7 into branch, because of backport of some modifications done in this branch in 7
bzr revid: tde@openerp.com-20130416133936-cr0sno29vk5dyj0e
2013-04-16 15:39:36 +02:00
Thibault Delavallée 3519e2c19f [IMP] project, task, issues: improvement of ir rules. Still a bit WIP.
bzr revid: tde@openerp.com-20130410160139-vx9z4rsmfiji1vu9
2013-04-10 18:01:39 +02:00
Ajay Chauhan (OpenERP) 267cabe036 [IMP] project: removed field 'priority' from model 'project.project'
bzr revid: cha@tinyerp.com-20130322090311-vvwy5w7zm2uvsk4g
2013-03-22 14:33:11 +05:30
Fabien Pinckaers 5b71f38603 [FIX]
bzr revid: fp@tinyerp.com-20121129145219-q6wqvzy61mki2j26
2012-11-29 15:52:19 +01:00
Fabien Pinckaers bd61641572 [FIX] project issue
bzr revid: fp@tinyerp.com-20121129130655-rm5hrk8m7tsy8g4v
2012-11-29 14:06:55 +01:00
Antony Lesuisse 13bef50e38 [IMP] project demo data
bzr revid: al@openerp.com-20121122220156-tny8try141h7160x
2012-11-22 23:01:56 +01:00
Fabien Pinckaers 7e8ea7b351 [IMP] better demo data for projects
bzr revid: fp@openerp.com-20121114223920-ps1j47ca5h8z3jtd
2012-11-14 23:39:20 +01:00
Fabien Pinckaers 97cd288f65 [IMP] removed unused demod data
bzr revid: fp@openerp.com-20121114223233-62upcr24xbm7r5cg
2012-11-14 23:32:33 +01:00
Olivier Dony 2160072508 [MERGE] sync with trunk
bzr revid: odo@openerp.com-20120905073134-v1j98vzvmwe6a72i
2012-09-05 09:31:34 +02:00
Cecile Tonglet 7fc09a8298 .
bzr revid: cto@openerp.com-20120831172538-2lp2sv2g6g5lh9n0
2012-08-31 19:25:38 +02:00
Cecile Tonglet 4da6c7b2bc [FIX] make tests works
bzr revid: cto@openerp.com-20120831165521-6h5q0r2abgt0nlpt
2012-08-31 18:55:21 +02:00
Cecile Tonglet 67da3486c7 [IMP] Remove demo users
bzr revid: cto@openerp.com-20120831163350-gfi23hw34ltw7v5o
2012-08-31 18:33:50 +02:00
Thibault Delavallée 76fe68b637 [FIX] project: fixed demo data (user_id -> author_id; BTW user_qdp is not always present I think, changed author to demo user).
bzr revid: tde@openerp.com-20120827101741-i9iooz6r0ht02dsi
2012-08-27 12:17:41 +02:00
Rucha (Open ERP) 94b94e6a58 [ADD]: sale, project: Added internal messages for task and quotation
bzr revid: rpa@tinyerp.com-20120814114457-o4e2ieemx8n0o3dw
2012-08-14 17:14:57 +05:30
Rucha (Open ERP) dd7a2972d8 [MERGE]: Merge with latest trunk-addons
bzr revid: rpa@tinyerp.com-20120813051411-5no0xcudwbkw07c5
2012-08-13 10:44:11 +05:30
Stephane Wirtel 91f8b5439c [FIX] project*: Replace the labels with 'Partner' by Contact
bzr revid: stw@openerp.com-20120809105009-0f7mw99dnavgs01s
2012-08-09 12:50:09 +02:00
Rucha (Open ERP) 28192998bd [IMP]: project: Reviewed task categories
bzr revid: rpa@tinyerp.com-20120808101250-tuf0ujby557cp3xw
2012-08-08 15:42:50 +05:30
Rucha (Open ERP) 40f4527e92 [FIX]: project: Fixed task priority
bzr revid: rpa@tinyerp.com-20120808071341-l7ctly88xxppz3po
2012-08-08 12:43:41 +05:30