Commit Graph
58 Commits
Author SHA1 Message Date
Thibault FrançoisandThibault François d3f35714f6 [IMP] crm: add tests for current MC behavior
Purpose of this commit is to highlight current behavior of multi company
in lead. Notably a company is set at creation even when no team or user
is set, leading to a lot of issues when dealing with lead merge or convert.

Task-2520276

X-original-commit: dc8d82bbe032cef2f732fdfb1ded3068edc37371
Part-of: odoo/odoo#78860
Co-authored-by: Thibault Delavallée <tde@odoo.com>
Co-authored-by: Thibault François <tfr@odoo.com>
2021-10-27 06:39:50 +00:00
qmo-odoo 1da63f0ab0 [IMP] salesteam: Simplify sales team config and improved team dashboard
Reason:
  *Sales team configuration is too complex with fields you
   don't understand and that bring no added value
  *Remove the team type, every team should be able to handle
   a POS or a website for example
Contains:
  *Removal of the team_type, use_quotations, use_leads fields
  *Removal of the graph configuration fields
  *Adapting the filters that were based on the team_type
  *Clear distinction between the team dashboard behavior in crm
   from the one in sales
  *Cleansing of now dead code due to the removal of the previously
   mentionned fields

Task: #1830105
Enterprise PR: #3006
Closes: #28063
2018-12-05 15:32:53 +00:00
Adrian Torres 9ddf2c6932 [FIX] crm: reset dashboard_graph_model on uninstall
Before this commit:
    * Install `sale_management`, `crm`
    * Uninstall `crm`
    * Go to sales -> sales channels
    * Boom! The view is broken

This happens because both CRM and Sales share the sales teams view, yet
CRM's override of the model adds a selection_add to the
dashboard_graph_model selection field, when it is uninstalled, records
whose dashboard_graph_model field are set to one of the values
introduced by CRM keep this no-longer-valid value and upon accessing the
view it crashes.

This is a known limitation of selection fields and the selection_add
feature.

To solve this, an uninstallation hook has been created for CRM which
will fetch all records whose dashboard_graph_model is set to
`crm.opportunity.report`, and update the field of all these records to
None (NULL).

Fixes #25363
2018-06-22 09:18:51 +02:00
xmo-odoo b4429c2a91 [FIX] Various P3-related import changes
* LDAP import: python-ldap is not python3-compatible, pyldap is

  Warning: only supported from debian Stretch (current testing)?
  https://packages.debian.org/search?searchon=names&keywords=pyldap

* implicitly relative imports
* imports of moved or removed stdlib modules

issue #8530
2017-04-28 09:06:53 +02:00
Olivier Dony f9da4970ab [MERGE] Forward-port saas-11 up to eb6b256f99 2016-10-04 01:20:17 +02:00
Thibault Delavallée 0b87f76628 [IMP] mail: separate management of mail routes from redirection
Move code related to redirection in its own class method. This way all
controllers perform their own actions and checks before calling the
redirection itself. Moreover it is necessary for some controllers to be
able to call the redirection independently outside of the mail/view
controller scope.

This commit also fixes some links generated for mail notification email
buttons. Assign and (un)follow buttons now effectively use the link helper
when generating the associated URL instead of manually crafting it.

Custom routes for notification buttons used in HR and CRM are added.
Indeed in order to be able to fine-tune the behavior called by those
buttons, using dedicated controllers is simpler than trying to use
a generic one. As there are few custom buttons in notification emails
using dedicated controllers does not lead to a code overhead.
2016-10-03 19:03:50 +02:00
Jérome Maes fa7fdc525a [MOV] crm : reoganize module directory and files 2016-07-04 17:28:03 +02:00
Martin Geubelle de5366ac33 [ADD] sales_team: new sales dashboard with figures
A new view type has been created : sales_dashboard.
It is used to display some figure in the sales_team_dashboard.

Also added in this commit : 3 fields on res.users to fix sales target
	- target of won opportunities
	- target of activities done
	- target of invoiced sale orders
2015-08-28 14:06:12 +02:00
Fabien Pinckaers a056a5d890 [MOVE] crm: crm.stage code moved from crm to crm_stage.py file; moved
its views in its own file. Just reorganizing things before cleaning
a bit.
2015-07-30 10:19:14 +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
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- 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.
2015-06-02 03:16:04 +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
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Jeremy Kersten c17bc5090d [FIX] hr_recruitment: use utm_mixin to allow to track the job applicant.
Remove old source_id
            Use hr.recruitment.source to generate link with utm and create
            alias with default value for utm
[FIX] crm/utm: Fix bug with utm (ddac26cdbb)
            Move demo into data
            Move ir_http to save the utm in the dispatch
2014-12-27 16:37:21 +01: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
Jeremy Kersten faba7cd5aa [IMP] Crm: Add tracking mixin to manage utm campaign and add this mixin to mass_mailing, crm_lead and sale_order 2014-07-08 17:33:00 +02:00
Thibault Delavallée 9199587ec9 [CLEAN] crm: cleaned crm module before merging :
- removed unnecessary changes
- rewrote on_change_user and get_default_sectoin_id to have a correct default section
- removed duplicated code in sales_team module due to code moving not correctly cleaned
2014-05-12 13:41:49 +02:00
Ravi Gadhia 78204703b0 [IMP] split crm_case_section + create alias from lead 2014-05-02 14:27:50 +05:30
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
Stephane Wirtel 26e33ea7dc [IMP] This commit contains the new wizard for the merge of partners.
Via this wizard, you will be able to merge a lot of partners via the email,
    name, vat or other columns.

It is available in the "Sales/Tools" menu.

bzr revid: stw@openerp.com-20130502103044-ljnj5n7pvs1vsbed
2013-05-02 12:30:44 +02:00
Raphael Collet 49b843d65f [IMP] crm: remove inheritance on base.action.rule, and change demo action rules to use standard stuff
bzr revid: rco@openerp.com-20121221102151-fxepq652rkeba62z
2012-12-21 11:21:51 +01:00
Raphael Collet 3bf79cdb78 [IMP] crm: remove dummy Python class definition by reordering Python module imports
bzr revid: rco@openerp.com-20120704112754-u6kg6pxe279zmgvf
2012-07-04 13:27:54 +02:00
Ujjvala Collins (OpenERP) adc65d5cfa [IMP]: Improved code: added functionality to the respected modules. Added get and set methods.
bzr revid: uco@tinyerp.com-20120229095021-ogpd1s4nyxa7wdns
2012-02-29 15:20:21 +05:30
Stephane Wirtel 57911141bc [IMP] Move all installers into base_setup
bzr revid: stw@openerp.com-20110926164323-ob28bw1zgfmaih9c
2011-09-26 18:43:23 +02:00
Antony Lesuisse 42b36f710e [MERGE] remove stage type ksa, and MASSIVE crm_lead cleanup
bzr revid: al@openerp.com-20110825041037-0jerocl9x8psve2c
2011-08-25 06:10:37 +02:00
Harry (OpenERP) 59f9be67f7 [IMP] mail_gateway:
* introduce 'email.server.tools' to process_email and send acknowdgement after creating new record
* use 'email.server.tools' model in script and fetchmail module to processing email
* start mailgateway services on crm.lead, project.issue, hr.applicant

bzr revid: hmo@tinyerp.com-20100624195332-7qci6vrimvzple5w
2010-06-25 01:23:32 +05:30
rpa (Open ERP) 8cd3caab57 [IMP]: crm: Improvement for putting crm information in partner, made separate file for partner info
bzr revid: rpa@tinyerp.com-20100525122358-z1e5qeb2c7glcdwd
2010-05-25 17:53:58 +05:30
rpa (Open ERP) c5f337997d [IMP]: crm(reports): Improvements in reports,
* Removed crm.case.report
* Changes in lead and phonecall reports, made independent from crm.case.report

bzr revid: rpa@tinyerp.com-20100505072154-y2xd7zlhmqzb5dor
2010-05-05 12:51:54 +05:30
rpa (Open ERP) ee4052bc1a [IMP]: crm: Major changes in crm
* Removed crm.case
* Inherited other cases from mailgate.thread 
* Changes in lead and opportunity: Removed dependency from crm.case and added for mailgate.thread
* still lot of things to fix(TODO): meeting, phonecall/reports

bzr revid: rpa@tinyerp.com-20100503123048-642v3gt4gorubmrs
2010-05-03 18:00:48 +05:30
rpa (Open ERP) 0b04a19490 [IMP]: crm: Merged crm.opportunity in crm.lead and changes related to this merge
bzr revid: rpa@tinyerp.com-20100429113501-sk1qwdn4lbpjkmqj
2010-04-29 17:05:01 +05:30
rpa (Open ERP) 0480627e59 [ADD]: crm: Added crm installer + minor fix in crm_claims
bzr revid: rpa@tinyerp.com-20100429061126-rbrfpl9kmuy775sb
2010-04-29 11:41:26 +05:30
rpa (Open ERP) 6f33cfb8b5 [REM]: crm: Removed fundraising from crm
[ADD]: crm_fundraising: Added new module for fundraising

bzr revid: rpa@tinyerp.com-20100428111014-v9ruvr62t3pjr7gs
2010-04-28 16:40:14 +05:30
ksa (Open ERP) 80a2d0463f [IMP]: crm: Apply some changes and add function
bzr revid: ksa@tinyerp.co.in-20100401113130-48zf5bsafdt1x3p6
2010-04-01 17:01:30 +05:30
Harry (Open ERP) 39d1e6b57a [MERGE] merge from lp:~openerp-commiter/openobject-addons/crm-improvement/
bzr revid: hmo@tinyerp.com-20100305115427-ret1u3hnl13am4lu
2010-03-05 17:24:27 +05:30
sbh (Open ERP) c2f481ff62 [IMP] : Move report_crm module into the crm module
bzr revid: sbh@tinyerp.com-20100305102323-frylskx332di6k7m
2010-03-05 15:53:23 +05:30
Fabien Pinckaers 0ec35b56e5 modifs
bzr revid: fp@tinyerp.com-20100228105724-zs6204yhhh4kg5bt
2010-02-28 11:57:24 +01:00
Harry (Open ERP) ee87ba0a2b [ADD] base_action_rule: new module to define diffrent actions for any objects
bzr revid: hmo@tinyerp.com-20100215144224-o4sztjze8yksfsdz
2010-02-15 20:12:24 +05:30
sbh (Open ERP) 9e7cd31f0e merge
bzr revid: sbh@tinyerp.com-20100113060937-yyj1m6h2r8yxngsj
2010-01-13 11:39:37 +05:30
sbh (Open ERP) 98883513a4 [IMP]: remove the lead_id from crm_opportunity and fix the problem of crm_opportunity
bzr revid: sbh@tinyerp.com-20100113041026-07512jiwuinr08we
2010-01-13 09:40:26 +05:30
sbh (Open ERP) 99b1e5b7ef [IMP]:crm:changed the order of file
bzr revid: sbh@tinyerp.com-20100112102905-2ze1sxfx6s3vqj3m
2010-01-12 15:59:05 +05:30
sbh (Open ERP) 6a2a90d5ea [Fix] crm: Fix the problem of lead wizard
bzr revid: sbh@tinyerp.com-20100112101150-nsof11qkh4d40adi
2010-01-12 15:41:50 +05:30
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
sbh (Open ERP) f9a92e7467 [FIX]:crm: add the missing field and put comment onsome file
bzr revid: sbh@tinyerp.com-20100111121205-fu3h294ylbs9j5oy
2010-01-11 17:42:05 +05:30
uco (OpenERP) 478cb95e7f [IMP]: Merged crm_config into crm.
bzr revid: uco@tinyerp.co.in-20100111070747-k5q57o9uerdl1jel
2010-01-11 12:37:47 +05:30
Harry (Open ERP) 3478962de6 [ADD] mail_gate : new module for mail_gate and Remove the gateway stuff from crm
bzr revid: hmo@tinyerp.com-20100103065757-h4yakktaegxpqtm7
2010-01-03 12:27:57 +05:30
sbh (Open ERP) 870ac7f83a [Fix] crm: changed the name of reference view
bzr revid: sbh@tinyerp.com-20091230102907-2gtxz7tigspqyb3h
2009-12-30 15:59:07 +05:30
sbh (Open ERP) b7a46bf63d [Add] crm: distinct objects for all different type of casesand create new object for bug
bzr revid: sbh@tinyerp.com-20091230102044-dx1cvixfr48dtc9z
2009-12-30 15:50:44 +05:30
Harry (Open ERP) ddd072fd4a [IMP+FIX] caldav, crm: make new object crm.meeting and apply caldav in this new object
bzr revid: hmo@tinyerp.com-20091229084804-015hpsppm66ypssj
2009-12-29 14:18:04 +05:30
rpa (Open ERP) 6e24064d33 [IMP]: Merged crm and crm_configuration modules
bzr revid: rpa@tinyerp.com-20091204141517-kz8gmgih8kbtge6e
2009-12-04 19:45:17 +05:30
rpa (Open ERP) 9cc036ed86 [IMP]: Changes in CRM , Merged caldav features in CRM
bzr revid: rpa@tinyerp.com-20091204084021-ggb1i6da1vnwmble
2009-12-04 14:10:21 +05:30