Commit Graph

696 Commits

Author SHA1 Message Date
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 44664076da [MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o
bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z
2013-11-20 15:43:18 +01:00
Denis Ledoux 7c1cb42e17 [FIX]crm: case_mark_lost and case_mark_won only were only setting the stage of the first lead passed, instead of the whole list.
bzr revid: dle@openerp.com-20131114131313-bml9m0ejsp82thjn
2013-11-14 14:13:13 +01:00
Denis Ledoux 8711954c1c [FIX]crm: duplicating lead/opp duplicated the stage and put to false date_open if it was an opp. Now put stage to 'new' stage and set date_open to today if it is an opp
bzr revid: dle@openerp.com-20131114204550-wavibpj1memdx60c
2013-11-14 21:45:50 +01:00
Denis Ledoux 8be0a5a8e1 [FIX]crm: several calls to _get_id for external id 'categ_phone2' which were not surrounded by try except ValueError
bzr revid: dle@openerp.com-20131114095721-v22dl5yc8bzhvevf
2013-11-14 10:57:21 +01:00
Thibault Delavallée 61c97c56de [FIX] crm_lead: cleaned and uniformized won/lost
stage conditions.

bzr revid: tde@openerp.com-20131104115735-4bsv2l2n1c6q8jte
2013-11-04 12:57:35 +01:00
Thibault Delavallée 8ce54029cf [REV] crm: reverted most changes about stages for this branch.
We keep fold, because it has a meaning in kanban view, and is kind of
'drop' stage, for won / lost / cancel / dead.

New stage is now the stage with the lower sequence, not necessarily the
stage with sequence 1. Note that this could break the _track because it
checks for stages with sequence <= 1; however with OpenERP values it
works fine. In some specific stage configuration, some subtypes could
not be tracked precisely.

bzr revid: tde@openerp.com-20131023100429-a3vfxi5zkn18v6qq
2013-10-23 12:04:29 +02:00
Thibault Delavallée 2cb3b0f382 [FIX] sale_crm: fixed view inheritance
TODO: re-add the button in invisible

bzr revid: tde@openerp.com-20131018144448-hpbds5oobcqpr1uv
2013-10-18 16:44:48 +02:00
niv-openerp 67a9fee553 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103820-a0sklx6hyx3hx93e
2013-10-18 12:38:20 +02:00
Denis Ledoux bbeb6e60aa [FIX]crm: leads/opps merge order, condition was not correct: lead/opp with stage sequence = 1 where regarded as canceled, or they are acutally regarded as new.
bzr revid: dle@openerp.com-20131016153457-42a235ks80226b8o
2013-10-16 17:34:57 +02:00
Denis Ledoux b95f5443db [FIX]crm: leads/opps merge order, was not the same as before the state removal from the stages
bzr revid: dle@openerp.com-20131016144849-yueclv7xqmk806nz
2013-10-16 16:48:49 +02:00
Thibault Delavallée 08770d83c1 [FIX] crm: fixed stage_find method. This method receives a domain
for searching stages. However it adds a condition on the type of the stages
independently of the received domain.

It now creates a term for stage types only if not found in the domain
given in parameter.

bzr revid: tde@openerp.com-20131016105855-isq9frwp1fnquw4x
2013-10-16 12:58:55 +02:00
Antony Lesuisse 9757c08872 use referencable models instead of _get_links
bzr revid: al@openerp.com-20131006115808-etkyq34ar1pqh2pb
2013-10-06 13:58:08 +02:00
Thibault Delavallée c17ecb54ec [FIX] addons: fixed various calls to fields.datetime.now in defaults
bzr revid: tde@openerp.com-20130919142338-v2ygkid2abw2j3wl
2013-09-19 16:23:38 +02:00
Thibault Delavallée 9825eef774 [FIX] crm: fixed a bug in opportunities merge.
_merge_notify was called with a browse record but was waiting for an ID.

bzr revid: tde@openerp.com-20130827162036-v7yhfijgpdhcyte5
2013-08-27 18:20:36 +02:00
Thibault Delavallée 0dfe3a2e67 [FIX] crm: fixed regression in merge_notify, due to a cleaning in opportunities merging a few months ago
bzr revid: tde@openerp.com-20130827161801-d8i11n5uq7n4v9r8
2013-08-27 18:18:01 +02:00
Thibault Delavallée 21d57f5e9d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130826085410-qngwkw6eyxol4192
2013-08-26 10:54:10 +02:00
Thibault Delavallée c147dd4975 [IMP] crm, hr_recruitment, project_issue: removed message put in description in message_new
bzr revid: tde@openerp.com-20130822094613-os846v2g3t2dloo5
2013-08-22 11:46:13 +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 38a534dee0 [IMP] mail: first implementation of tracking and bounce management.
Added 2 fields on mail_mail to count read/bounce.
Added bounce alias bounce-mail_id-model-res_id.
Added message_receive_bounce method that try to incremetn message_bounce field.

bzr revid: tde@openerp.com-20130806151143-7dw6xlj8n7mh0nqe
2013-08-06 17:11:43 +02:00
Thibault Delavallée 199b3e96bc [REM] crm_lead: removed _check, because should use base action rule
bzr revid: tde@openerp.com-20130805141905-watnhgi6z29w3l1q
2013-08-05 16:19:05 +02:00
Thibault Delavallée dce673c6b5 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130805132618-ewjjxjfwnkeg8hue
2013-08-05 15:26:18 +02:00
Thibault Delavallée a3c546a600 [REM] crm: removed new_email_send, now unused and deprecated with chatter / templates.
bzr revid: tde@openerp.com-20130726091305-8lsmidcxyau3shw0
2013-07-26 11:13:05 +02:00
Thibault Delavallée 163d88ea32 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130719100119-ohpzxw4r1fxta93k
2013-07-19 12:01:19 +02:00
Christophe Simonis 24ea151a37 merge upstream
bzr revid: chs@openerp.com-20130717142947-de40mn3234gt5044
2013-07-17 16:29:47 +02:00
Thibault Delavallée b49d94408f [FIX] crm: added date_last_stage_update in crm + report
bzr revid: tde@openerp.com-20130717141336-ul8xwlveh3c1w9y9
2013-07-17 16:13:36 +02:00
Thibault Delavallée 707373ec9e [FIX] crm modules: various fixes about state removal.
bzr revid: tde@openerp.com-20130716153818-7ag1nrjyylj6ze8n
2013-07-16 17:38:18 +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
Martin Trigaux d2d72d8416 [MERGE] forward port of saas-1 up to revision 8749 (mat@openerp.com-20130702135856-kmg7d8anw17nkbd8)
bzr revid: mat@openerp.com-20130702144646-y1wqs5mz4rzoh50g
2013-07-02 16:46:46 +02:00
Christophe Simonis bf29a2ebc7 [MERGE] forward port of branch 7.0 up to revid 9302 chs@openerp.com-20130718111616-apacuhc2qhquobtc
bzr revid: dle@openerp.com-20130627104833-b9zgtu8urj43f12b
bzr revid: mat@openerp.com-20130702135856-kmg7d8anw17nkbd8
bzr revid: chs@openerp.com-20130718115928-wpa84dqh8tcq31zt
2013-07-18 13:59:28 +02:00
Thibault Delavallée bf4ada34b4 [REF] mail_thread: message_track now uses browse records instead of read results.
Updated addons accordingly.
Updated tests to test corner cases using False / null browse records.

bzr revid: tde@openerp.com-20130627144647-swbj77i84vo9ii0v
2013-06-27 16:46:47 +02:00
Denis Ledoux d144d320ec [FIX]crm_channel: view and typo imp
bzr revid: dle@openerp.com-20130620152007-v8yt5kwdkgeh1w8i
2013-06-20 17:20:07 +02:00
Thibault Delavallée 9005541f99 [FIX] crm, project.task, project.issue, hr_recruitment: fixed quick create in kanban, simplified a bit the code in the various create overrides.
bzr revid: tde@openerp.com-20130619114633-pb0rtz0kivlrabcx
2013-06-19 13:46:33 +02:00
Martin Trigaux ccb38117ee [MERGE] Forward porting of saas-1 until rev 8739
bzr revid: mat@openerp.com-20130605090453-e4mg37kms5j1r18n
2013-06-05 11:04:53 +02:00
Martin Trigaux 45c3fd063b [MERGE] Forward porting of latest 7.0 bugfixes, up to rev. 9193
bzr revid: mat@openerp.com-20130604110041-yemgrfsi02uboe8m
2013-06-04 13:00:41 +02:00
Quentin (OpenERP) fe7866ccec [FIX] crm: after a merge of several leads/opportunities, delete the old records as the SUPERUSER to avoid security issues.
bzr revid: qdp-launchpad@openerp.com-20130531123414-ezx9ixg9ggame1g6
2013-05-31 14:34:14 +02:00
Pinakin Nayi (OpenERP) b430036c7f [FIX]crm : delete with super user to avoid access rules because if there is any user (not have delete access of lead) than also merge opportunity
bzr revid: pna@tinyerp.com-20130531114716-5as9flbu2506reh0
2013-05-31 17:17:16 +05:30
Martin Trigaux d626d3cb61 [MERGE] backport saas-1 rev 8728
[FIX] mail, project, project_issue, crm_lead: fixed 'XX Created' subtype not triggered because of condition
based on state=new and not state=draft.
For tasks, issues and leads, no generic 'Document created' message is posted anymore
because of the 'XX Created' message with subtype automatically logged.
Generic creation message is logged before automatic subscription to enable
message pushing to responsibles.

bzr revid: mat@openerp.com-20130529143022-wy76srwb2nwkspe3
2013-05-29 16:30:22 +02:00
Thibault Delavallée d4dbd3524c [FIX] mail, project, project_issue, crm_lead: fixed 'XX Created' subtype not triggered because of condition
based on state=new and not state=draft.
For tasks, issues and leads, no generic 'Document created' message is posted anymore
because of the 'XX Created' message with subtype automatically logged.
Generic creation message is logged before automatic subscription to enable
message pushing to responsibles.

bzr revid: tde@openerp.com-20130529131458-9709ffrsy479hwy3
2013-05-29 15:14:58 +02:00
Christophe Matthieu 096962342a [MERGE] from trunk
bzr revid: chm@openerp.com-20130522145042-3ril2zvogqs55ako
bzr revid: chm@openerp.com-20130524100533-fc0c7l47hb8j4xib
2013-05-24 12:05:33 +02:00
Thibault Delavallée cd278d83ab [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130522103305-yi5ql1chdx9qxxlx
bzr revid: tde@openerp.com-20130522114236-qi2s3i2dl2lemdvh
2013-05-22 13:42:36 +02:00
Christophe Matthieu aed639f6d1 [MERGE] from trunk
bzr revid: chm@openerp.com-20130522100239-sbkwtitaxy8hj1cx
2013-05-22 12:02:39 +02:00
Thibault Delavallée 8aa85c2523 [FORWARD] Forward port of addons until revision 8711
bzr revid: tde@openerp.com-20130521133807-5n97jep45f3lf6uq
bzr revid: tde@openerp.com-20130522083012-4yry4ht2943sjatn
2013-05-22 10:30:12 +02:00
Thibault Delavallée b1e0f9f6f2 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130521123624-u6cqs144rbuzrmpo
2013-05-21 14:36:24 +02:00
Christophe Matthieu c810905bdf [IMP] crm_lead: on_change_user don't change section_id if they is a default_section_id context value
bzr revid: chm@openerp.com-20130521122242-53eu1fi506465o6c
2013-05-21 14:22:42 +02:00
Olivier Dony 9c08e12962 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085
revision-id: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

bzr revid: odo@openerp.com-20130429151410-54y94063gijyk16o
2013-04-29 17:14:10 +02:00
Thibault Delavallée 0691000b61 [IMP] account_invoice: now have its _get_formview_action method. _get_formview_action is the renaming of _get_document_action, by the way.
bzr revid: tde@openerp.com-20130426144019-w4tq4of7rdkyqbah
2013-04-26 16:40:19 +02:00
Thibault Delavallée b61c12d28e [MERGE] Revisions 9000 ... 9002 of 7.0 branch
bzr revid: tde@openerp.com-20130426132847-mr8e0yuxao582bs6
2013-04-26 15:28:47 +02:00
Christophe Matthieu 300a2aaeee [MERGE] from trunk
bzr revid: chm@openerp.com-20130423152943-8qbm6nhc9ubds5td
2013-04-23 17:29:43 +02:00