[IMP] [REF] crm: WIP and first attempt to remove state field.
authorThibault Delavallée <tde@openerp.com>
Mon, 10 Jun 2013 14:29:27 +0000 (16:29 +0200)
committerThibault Delavallée <tde@openerp.com>
Mon, 10 Jun 2013 14:29:27 +0000 (16:29 +0200)
commitcd2135a840847f8400c4939989a65070f276dfa5
treee483f3552d7edb1ec09fb320e73e7d2ee575f1d9
parent70f16ce73b0dab305b9e7d63a74416cbcb0448da
[IMP] [REF] crm: WIP and first attempt to remove state field.

crm.case.section: removed state field
crm.lead: code now use probability and on_change to fetch stages related to
Won and Lost. Improved stage management. Improved a bit the demo data.

mail: improved message_track to use browse_record instead of read result. This allows
to avoid having to track fields to be able to use them in the subtype condition.

bzr revid: tde@openerp.com-20130610142927-tyxxklojv2wxw44g
16 files changed:
addons/base_status/base_stage.py
addons/crm/__openerp__.py
addons/crm/crm.py
addons/crm/crm_lead.py
addons/crm/crm_lead_data.xml
addons/crm/crm_lead_demo.xml
addons/crm/crm_lead_view.xml
addons/crm/crm_view.xml
addons/crm/report/crm_lead_report.py
addons/crm/report/crm_lead_report_view.xml
addons/crm/report/crm_phonecall_report.py
addons/crm/report/crm_phonecall_report_view.xml
addons/crm/res_partner.py
addons/crm/wizard/crm_lead_to_opportunity.py
addons/crm/wizard/crm_merge_opportunities.py
addons/mail/mail_thread.py