Commit Graph
271 Commits
Author SHA1 Message Date
Fabien Pinckaers f255aa7b36 [IMP] crm: stage management
Stages are now sales team dependant, and not shared anymore. This comes
with a sales-team way of working :
- sales team is the entrance point, click on the big Pipeline button to
see the opportunities pipeline of this specific sales team
- no more opportunities menu entry, as you should come from a sales team
- leads are still sales-team agnostic

The stage management has been updated :
- Won is still a stage (probability=100, onchange=1).
- Lost is not a stage anymore. Lost is equivalent to archiving. Archiving
uses the active field. Setting a lead or an opportunity as lost set them
as unactive.

Downside of the no more share policy: multi sales team opportunities
management can quickly become complicated. Indeed you may have stages
with the same name, not being the same stage, therefore not displayed
in the same column. Grouping on the stage name leads to other issues
(sequencing incoherence, impossible to drag n drop), so this is not
an option.
2015-07-30 10:19:14 +02:00
Fabien Pinckaers dc736426dd [REM] sales_team, crm, various: removed multisalesteam mode and group.
Using several sales team and the new dashboards is now the only
behavior about sales team. The unique sales team mode is therefore
removed, leading to some update in the various addons that hide
the team_id field when not in multi sales team mode.

[DEMO] cleaned demo data (removed marketing sales team because it should
not exist)
2015-07-30 10:19:14 +02:00
Christophe Simonis 2cf91d16a5 [MERGE] forward port of branch saas-6 up to 63e92cb 2015-07-22 16:17:54 +02:00
Thibault Delavallée 1bccaaf4b5 [REVERT] crm: reverted changes introduced in last commits
that should lie in a feature branch and be reviewed. We try not
to screw the history and the branches, let us continue like
this.

Reverted commits :
189c589d76
11b1eb1ce5
f618df931a
c0ee9de360
a340f0cd2a
c6235581ef
51cc853c61
7a541b0d07
3f6b92e7b5
ecd410a3ee
b6418a116d
2015-07-14 09:49:37 +02:00
Fabien Pinckaers c6235581ef [FIX] typo 2015-07-13 22:04:51 -07:00
Fabien Pinckaers 7a541b0d07 [FIX] not a smart test 2015-07-13 22:03:16 -07:00
Fabien Pinckaers 3f6b92e7b5 [IMP] Won / Loss not anymore depending on stages:
won: probability=100 (on lead)
  loss: probability=0 and not active
Won / Loss Replaced most complex domains (merge leads wizard...) by active=True
[IMP] Code cleaning / removing:
  unused report.crm.*
  merged crm.lead.report and crm.opportunity.report (one report with domains)
[IMP] Cleaned demo data:
  Won / Loss, Put back "New" stage
  Removed "Marketing" sales team
[IMP] Removed Multiple salesteam setting (always multiple salesteam
  Always display the dashboard (multiple salesteam)
  No more option in settings
[FIX] misc fixes (bad domains), type not required
2015-07-13 19:22:59 -07:00
Fabien Pinckaers ecd410a3ee [FIX] removing Mark Won/Loss, use stages instead 2015-07-13 14:04:50 -07:00
Jay Patel 8bf6b530d2 [IMP] sale, sales_team, crm: usability improvements
- sales_team: remove field note, usability improvement in kanban and form views
- crm: in crm.stage remove default_case, sequence and legend_priority fields and remove default stage_ids + some fields in technical group
- sale: add field use_invoices on sales_team and display links in dashboard according to this new field
2015-07-13 17:44:19 +02:00
Jay Patel ff2b14d4c3 [IMP][ADD] crm: add the concept of activities, allowing
to define custom light workflows on opportunities.

Activities are linked to mail.message.subtype through inheritance.
This means that the follow mechanism works for activities. When
an activity is done, a message with the matching subtype is posted
on the opportunity.

Activities are internal by default. They are only visible by
employees.

A shortcut in the 'log a note' chatter option allows to post a
note linked to an activity (subtype).
2015-07-08 17:15:22 +02:00
Yannick Tivisse 55ae657239 [IMP] sales_team : Remove the lead escalation feature
Conflicts:
	addons/crm/sales_team_view.xml
	addons/sales_team/sales_team.py
	addons/sales_team/sales_team.xml
2015-07-08 15:39:02 +02:00
Christophe Simonis b16fd16e90 [MERGE] forward port of branch 8.0 up to 7d01029 2015-06-30 15:29:03 +02:00
Xavier Morel f5b88f6309 [IMP] minor perf improvement during tests
During tests, some creation of user records would unnecessarily trigger
password reset or set a password, both of which would trigger password
hashing which takes some time (for good reasons).

Fix by:
* passing no_reset_password in YAML tests and some Python tests still
  missing it (a number of Python tests already used it)
* removing passwords from YAML records as they're never necessary, the
  test user records are not expected to ever log in
2015-06-26 14:22:29 +02:00
Turkesh Patel fd659e908b [IMP] crm: business model cleaning
Models renamings:
- crm.case.stage becomes crm.stage
- crm.case.section becomes crm.team

Model split:
crm.case.categ has been splitted into:
- crm.phonecall.tag
- crm.lead tag
- crm.claim.tag
- crm.helpdesk.tag

Models removal:
- crm.payment.mode
- crm.segmentation
- report.crm.case

Removal of the crm_profiling module

(all these refactorings have been done in order to ease new API
migrations)
2014-11-04 16:58:41 +05:30
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Thibault Delavallée 443c830bfc [RENAME] sale_team renamed to sales_team. Update module name, file name and reference to the module. 2014-05-12 10:37:47 +02:00
Randhir Mayatra rma-openerp 579d261468 [IMP] solve yml issues 2014-04-22 17:20:49 +05:30
Amit Vora 04c809e9f6 [MERGE] [IMP] crm: improved call / meeting buttons and behavior on lead and partner form view.
- improved behavior of schedule a meeting, for both opportunities and partner, with correct
attendees and options;
- removed wizard to schedule a cal, jumping to the list view with correct default values
is sufficient;
- scheduled calls is now accessible using a group, accessible through sales configuration;

bzr revid: tde@openerp.com-20140417145645-cpohfrfpqnskpok6
2014-04-17 16:56:45 +02:00
Amit Vora d88835ed66 [MERGE] merge with main branch
bzr revid: avo@tinyerp.com-20140328050000-xmax3xa0dp4ltxxv
2014-03-28 10:30:00 +05:30
Denis Ledoux 54d8cd1e86 [FIX] crm: round robin tests on salesman assignation set force assignation true
bzr revid: dle@openerp.com-20140320183814-163zwgilty4l2jv7
2014-03-20 19:38:14 +01:00
Amit Vora 55c3d2336a [MERGE] merge with main branch
bzr revid: avo@tinyerp.com-20140312090734-1m11cnuavrgl92it
2014-03-12 14:37:34 +05:30
Denis Ledoux 6a1e65b561 [FIX] crm: crm_to_lead tests, force assignation, to check round robin
bzr revid: dle@openerp.com-20140306092330-wuhfw36f3xpwdy4d
2014-03-06 10:23:30 +01:00
ajay javiya (OpenERP) e0f8d3f80a [MERGE] : with trunk
bzr revid: aja@tinyerp.com-20140303064742-klvoa7t5l6wnzrg9
2014-03-03 12:17:42 +05:30
Denis Ledoux c76e580da5 [ADD] crm: mass assign apply deduplication
bzr revid: dle@openerp.com-20140123180211-o1ebik36wegmi8mc
2014-01-23 19:02:11 +01:00
jke-openerp 46b0c7aa00 [REF] Rename model crm.meeting into calendar.event
Remove 2 unsused field from calendar.event model (dir,sequence)

bzr revid: jke@openerp.com-20140115093805-1g1j1oymyxsb6kgh
2014-01-15 10:38:05 +01:00
jke-openerp dd285d23af [TYPO] Rename base_calendar into calendar
bzr revid: jke@openerp.com-20131219144739-9ic700ycef8uklbc
2013-12-19 15:47:39 +01:00
jke-openerp cd4f71cf36 [REF] rb r2g
bzr revid: jke@openerp.com-20131124130241-s1hjdl08y5dcsnxs
2013-11-24 14:02:41 +01:00
Martin Trigaux 11308f37dd [FIX] test: avoid getting error when trying to send an email to the newly created user (email replaced by login)
bzr revid: mat@openerp.com-20131003143234-8tu732aa4rmycoif
2013-10-03 16:32:34 +02:00
Martin Trigaux ab7d8c4ccf [MERGE] refactoring of tests to be executed as normal users instead of administrator, fixed some security rules
bzr revid: mat@openerp.com-20130912085812-xvmjoa5fjis0l2ws
2013-09-12 10:58:12 +02:00
Martin Trigaux bed4a740d4 [FIX] crm: removed useless test with state -> stage
bzr revid: mat@openerp.com-20130912070647-abvqj0j57nazap6l
2013-09-12 09:06:47 +02:00
Martin Trigaux f5d8d2a451 [FIX] crm: better test
bzr revid: mat@openerp.com-20130911153150-uje35usg4jj8710l
2013-09-11 17:31:50 +02:00
Martin Trigaux c48504fdba [MERGE] sync with trunk (state -> stage removed some test)
bzr revid: mat@openerp.com-20130911110755-zf3ytf9m27im6x9k
2013-09-11 13:07:55 +02:00
ajay javiya (OpenERP) 278e67bdfe [IMP]: Test case
bzr revid: aja@tinyerp.com-20130822130425-gztp84k79rpzy7aa
2013-08-22 18:34:25 +05:30
ajay javiya (OpenERP) a0ab757537 [REM] : remove wizard of schedule/log a call ,
[IMP] : Rename in Opportunity and in Partner form the 'Meeting' into 'Schedule a Meeting' ,

bzr revid: aja@tinyerp.com-20130822092259-it5a1e1v1ed9s60a
2013-08-22 14:52:59 +05:30
Thibault Delavallée 9194308cd4 [FIX] hr_recruitment, project_issue, crm_phonecall: fixes related to the removal of base_state/base_stage and all case_ methods
bzr revid: tde@openerp.com-20130813094747-dm06sx2glgdgal9m
2013-08-13 11:47:47 +02:00
Thibault Delavallée bab789e7a0 [REF] crm_phonecall: refactored case management (directly in write + clickable statusbar widget) + deleted some tests not applicable anymore
bzr revid: tde@openerp.com-20130813092042-1r0yfqdacv894v21
2013-08-13 11:20:42 +02:00
Thibault Delavallée 0e9fd3d5d5 [IMP] crm: removed state field. Refactored code according to the new guidelines.
bzr revid: tde@openerp.com-20130716151003-c2df3nzgo1by0hyi
2013-07-16 17:10:03 +02:00
Thibault Delavallée 0aac1c7cb0 [REF] crm: removed references to base_stage in crm_lead / crm_claim + various pre-cleaning before removing state.
bzr revid: tde@openerp.com-20130708103011-53t1fllmrz0hdq8u
2013-07-08 12:30:11 +02:00
sgo@tinyerp.com ff73b066ed [IMP]only manager can cancel lead so give access rights of manager for test
bzr revid: sgo@tinyerp.com-20130626115947-idn10u0vtvkrvtb8
2013-06-26 17:29:47 +05:30
sgo@tinyerp.com 6a3cdf718c [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130605071905-o2ldzc6vxqnoe099
2013-06-05 12:49:05 +05:30
sgo@tinyerp.com bdc2be1aa4 [IMP]remove access rights of crm user and improve code
bzr revid: sgo@tinyerp.com-20130507124154-4mrcpbocuafv4ny7
2013-05-07 18:11:54 +05:30
sgo@tinyerp.com fbfd8a4b42 [IMP]improve string and add groups in groups_id in sale and sale stock
bzr revid: sgo@tinyerp.com-20130507084316-v1tiw294n8imfj1v
2013-05-07 14:13:16 +05:30
sgo@tinyerp.com 1373b5cda0 [IMP]improve string and add groups in groups_id in crm and event
bzr revid: sgo@tinyerp.com-20130507071959-kwqmv7wwy7gqcsfj
2013-05-07 12:49:59 +05:30
sgo@tinyerp.com 0f31215147 [IMP]done changes as per new yml changes in crm
bzr revid: sgo@tinyerp.com-20130507070446-ejlju0cnui74vy21
2013-05-07 12:34:46 +05:30
Christophe Matthieu a26c8d76b9 [MERGE] from trunk
bzr revid: chm@openerp.com-20130503140029-vv7u9gjmax73qyta
2013-05-03 16:00:29 +02:00
Christophe Matthieu e9fb05e908 [FIX] crm_lead test
bzr revid: chm@openerp.com-20130419152555-9dipa1b3llf8wgyl
2013-04-19 17:25:55 +02:00
sgo@tinyerp.com d5451cf7f2 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130417060441-6vnz2tiym5fawr2n
2013-04-17 11:34:41 +05:30
Vo Minh Thu 3fe1f53514 [REF] get_module_resource() must imported from openerp.modules (instead of openerp.addons).
bzr revid: vmt@openerp.com-20130416151844-gatbo4s2l2e6reme
2013-04-16 17:18:44 +02:00
Quentin (OpenERP) 3bb51ac696 [MERGE] forward port of bugfixes made in 7.0, up to revision 8969.
bzr revid: qdp-launchpad@openerp.com-20130404095257-oek77sijuxjyi0aj
2013-04-04 11:52:57 +02:00
dle@openerp.com 2d925d5c27 [FIX]crm: crm merge tests testing new merge behaviour (opps before leads)
bzr revid: dle@openerp.com-20130329130615-gbjqw0x2ybeekext
2013-03-29 14:06:15 +01:00