Commit Graph

783 Commits

Author SHA1 Message Date
Thibault Delavallée 9537e55894 [FIX] hr_recruitment: avoid overriding email_from and email_cc in
message_update. This behavior makes sens only in message_new when
setting initial parameter of the applicant, not when somebody sends
an email on the record.
Removed priority change when there is  a 'priority' key in msg; but
this key is not likely to be present in a parsed email.
Removed updated values change due to a mapping of values present in
the email. This code was a copy-and-paste from crm and did not have
any meaning in hr_recruitment.

Also removed unnecessary code in project, project_issue, crm_helpdesk
and crm_claim for the same reasons as for hr_recruitment.

bzr revid: tde@openerp.com-20131104092731-ixasweoy1dbllbb3
2013-11-04 10:27:31 +01:00
Martin Trigaux 56bb110c46 [FIX] project: set duplicated task in default stage (opw #589907)
bzr revid: mat@openerp.com-20130902121017-xjtnuhf9llqpy7ch
2013-09-02 14:10:17 +02:00
Martin Trigaux cf45a9fa01 [FIX] project: correct name_search for analytic accounts, use args, name, limit and context
bzr revid: mat@openerp.com-20130828141123-ws38n7353f717not
2013-08-28 16:11:23 +02:00
Olivier Dony baef4d3d92 [FIX] Force safer ondelete=restrict on the `alias_id` _inherits FK on models with a mail.alias parent
The delete-rule was initially set to `cascade` in revision
6897.16.13 revid:odo@openerp.com-20120705141706-5gm5mmqode3bvkuc
because the ORM would not allow anything else for the FK of
an _inherits relationship.
This constraint was later lifted in 7.0 server at revision
4681 revid:odo@openerp.com-20121212210247-emrz5rf9ewcwdggu
so we can now switch to the intended default behavior:
when deleting mail aliases we never want to cascade delete
the child records, as that could lead to unwanted deletions.
On the other hand the aliases are automatically deleted when
the record they belong to is deleted, as a kind of internal
dependency. This is the intended safe way to delete them.

There is a special case when the same alias is manually set
on multiple records, in which case you will not be able to
delete any of those records. This is an acceptable exception
and should be manually handled if ever needed, by temporarily
linking the records to delete to new dummy aliases.

bzr revid: odo@openerp.com-20130827150708-62hqk8p7twd527n0
2013-08-27 17:07:08 +02:00
Cecile Tonglet 2c2ac536ce [IMP] Use the migration function migrate_to_alias of object mail.alias on model project.project
bzr revid: cto@openerp.com-20130823122955-5bbn5ivdiqxti5py
2013-08-23 14:29:55 +02:00
Quentin (OpenERP) 962dedda51 [FIX] project: defined the write_date field in project.task so that it can be reused in date filters in base_action_rule module
bzr revid: qdp-launchpad@openerp.com-20130617133825-2rfo9z27858qalcb
2013-06-17 15:38:25 +02:00
Thibault Delavallée f95572d649 [FIX] project: removed old code that was messing with followers intorduced at revision 8435.
bzr revid: tde@openerp.com-20130626103756-kbbrp87gn2h5160h
2013-06-26 12:37:56 +02:00
Thibault Delavallée 4ee8b2836c [FIX] Fixed last commit.
bzr revid: tde@openerp.com-20130621102021-mnozkbmz11dg5k9z
2013-06-21 12:20:21 +02:00
Thibault Delavallée 67e4eff42b [CLEAN] Some code cleaning before merging.
bzr revid: tde@openerp.com-20130621093732-qc9ltxfiemmi421s
2013-06-21 11:37:32 +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
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
nicolas.bessi@camptocamp.com c3f7fbbf1f [FIX] project name search if aa id != project id
lp bug: https://launchpad.net/bugs/1186146 fixed

bzr revid: nicolas.bessi@camptocamp.com-20130531073631-dthwxiyp8mnmtkfr
2013-05-31 09:36:31 +02:00
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
Quentin (OpenERP) b6a4e2fc5f [FIX] project: do not hide tasks from template project in the project kanban and if we open those tasks from the project template
bzr revid: qdp-launchpad@openerp.com-20130516121306-3d24o7z9y8odmvqh
2013-05-16 14:13:06 +02:00
Cedric Snauwaert 231103feeb [FIX]project: show tasks of project that are in template state when clicking on the show task button from the project.
bzr revid: csn@openerp.com-20130516101616-g4unvwc2e1dxb5dc
2013-05-16 12:16:16 +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 b6223ecb7f [FIX] [ADD] project, project_issue, portal_project, portal_project_issue: improved privacy_visibility selection of project.project; improved access rules; added tests to enforce them.
bzr revid: tde@openerp.com-20130412143719-ztjo06r900l024dm
2013-04-12 16:37:19 +02:00
Pinakin Nayi (OpenERP) b20b9aa198 [FIX]project:when try to duplicate task or project than the state of task is not set to default
bzr revid: pna@tinyerp.com-20130319060954-dhk9vgtkpnayt1cv
2013-03-19 11:39:54 +05:30
Quentin (OpenERP) 96267bdfce [FIX] project: when writing on several projects, don't erase the name of all projects with the last one's name! stupid me.
bzr revid: qdp-launchpad@openerp.com-20130306172856-35dmxn7efydr5xyf
2013-03-06 18:28:56 +01:00
Quentin (OpenERP) 7ec52bb84b [FIX] crm: at lead creation, take into account the type given in vals to find the stage_id (if not provided) + refactoring of create() of tasks, project issues and leads
bzr revid: qdp-launchpad@openerp.com-20130115100353-z35mqrwij936n54s
2013-01-15 11:03:53 +01:00
Olivier Dony ad70edb40b [FIX] mail_thread subclasses: message_new must not override the explicitly provided ``custom_values``
This was the case before, but was broken involuntarily during the
big mail refactoring for v7. The default values provided by
custom message_new methods should only be used as defaults.

bzr revid: odo@openerp.com-20130110172723-ym7mcmdllcucj0j3
2013-01-10 18:27:23 +01:00
Olivier Dony 77ebf01b1a [FIX] project.issue: incorrect params in super().message_update() call
bzr revid: odo@openerp.com-20130107111701-8tjcqla0u1x4ljcc
2013-01-07 12:17:01 +01:00
Thibault Delavallée 8da57cbd2e [IMP] crm, project, project_issue: reply_to address is now the alias of the parent section, project, project, if any.
bzr revid: tde@openerp.com-20130103170316-8n6d8u0h14dy4x48
2013-01-03 18:03:16 +01:00
Thibault Delavallée 9c6489d9a4 [FIX] crm, project, project_issue: fixed default_stage_id assignment, not overriding values in vals when writing.
bzr revid: tde@openerp.com-20130103101036-eroa3fd31dcqly8i
2013-01-03 11:10:36 +01:00
Quentin (OpenERP) 95dd819251 [FIX] project, project_issue: don't use context if you didn't check it's not equal to None... stupid me
bzr revid: qdp-launchpad@openerp.com-20121228143729-x2n47tfp50uf7se8
2012-12-28 15:37:29 +01:00
Chris Biersbach f96f20e4d3 [FIX] The default stage for issues and tasks is now correctly a draft stage of the project the issue or task belongs to.
bzr revid: cbi@openerp.com-20121228084527-ive0ope41di6bpjn
2012-12-28 09:45:27 +01:00
Thibault Delavallée e3c31cab9e [IMP] track_visibility atribute: moved onto explicit strings.
bzr revid: tde@openerp.com-20121220114730-nip8qaaajr5mqw6s
2012-12-20 12:47:30 +01:00
Thibault Delavallée fa36ac76ee [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121220091908-7qy8excmhe3ussi0
2012-12-20 10:19:08 +01:00
Thibault Delavallée 77be83ca28 [CLEAN] project, sale_stock: removed old chatter and needaction methods, not used anymore. In two words, dead code.
bzr revid: tde@openerp.com-20121219205412-0cco820gzgg5lpzx
2012-12-19 21:54:12 +01:00
Thibault Delavallée 8ab9ac2cf9 [CLEAN] Project: cleaned subtypes, removed auto following that will be added in mail_thread. Updated track_visility parameter.
bzr revid: tde@openerp.com-20121219163941-w7r4egokx9xiwxvl
2012-12-19 17:39:41 +01:00
Quentin (OpenERP) 319908f1f6 [FIX] project: modifying the type of an analytic account wasn't working
bzr revid: qdp-launchpad@openerp.com-20121219134353-bsq71cu1ayvyn2tk
2012-12-19 14:43:53 +01:00
Fabien Pinckaers 065821dfd6 [MOD] use read() instead of browse
bzr revid: fp@tinyerp.com-20121218234907-j672neyvifmo4bur
2012-12-19 00:49:07 +01:00
Thibault Delavallée d24f297054 [REF] Project, task: added tracked fields, added modified auto subscription, removed now unnecessary chatter messages.
bzr revid: tde@openerp.com-20121218153601-advl23p0stjg5ylc
2012-12-18 16:36:01 +01:00
Thibault Delavallée b95b32d644 [MERGE] Merged branch holding subtype work by APA.
bzr revid: tde@openerp.com-20121218131142-2jb6wac6y9q6dc7v
2012-12-18 14:11:42 +01:00
Thibault Delavallée 2dbe4a696e [MERGE] Sync wirth trunk.
bzr revid: tde@openerp.com-20121218093241-y0id5g1r1k6yok42
2012-12-18 10:32:41 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Thibault Delavallée 6d2a0d270f [MERGE] Merged lp:~openerp-dev/openobject-addons/trunk-tracked-fields-chs, with some selective choices.
bzr revid: tde@openerp.com-20121217095510-8upbg071esk5hlk1
2012-12-17 10:55:10 +01:00
Foram Katharotiya (OpenERP) 1f2f15c51d [IMP] update followers
bzr revid: fka@tinyerp.com-20121217091402-pylrooffkzykcnu9
2012-12-17 14:44:02 +05:30
Foram Katharotiya (OpenERP) 7608fe70de [IMP] add generic method _subscribe_followers_subtype in mail_thread & remove method in all module
bzr revid: fka@tinyerp.com-20121217073817-8kmp0j3kn39gyrwg
2012-12-17 13:08:17 +05:30
Foram Katharotiya (OpenERP) 6ebeb076c3 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20121217051643-o8j4hz7w8thwbymi
2012-12-17 10:46:43 +05:30
Sanjay Gohel (Open ERP) de45fd4fc1 [MERGE]with trunk
bzr revid: sgo@tinyerp.com-20121217050659-q5w6zwefizgjv4fd
2012-12-17 10:36:59 +05:30
Fabien Pinckaers 1be0da09b3 [FIX] project small stuff: star, search on tags, #documents
bzr revid: fp@tinyerp.com-20121215101227-jb4z7hu57p2q11b4
2012-12-15 11:12:27 +01:00
Foram Katharotiya (OpenERP) c9ab0fc392 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20121214045839-1f2nt6t138t8f4uo
2012-12-14 10:28:39 +05:30
Fabien Pinckaers a32f7d22b5 [IMP] typo
bzr revid: fp@tinyerp.com-20121213155202-fmfock0x4q0a0we1
2012-12-13 16:52:02 +01:00
Fabien Pinckaers 0f43de3144 [IMP] visible handle in the list of projects
bzr revid: fp@tinyerp.com-20121213151418-yq1grgu6n1xw5dsl
2012-12-13 16:14:18 +01:00
Sanjay Gohel (Open ERP) 26fd182e32 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063215-44s68mudkztyy56b
2012-12-11 12:02:15 +05:30
Foram Katharotiya (OpenERP) 38e578d2c0 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20121211045123-gi4y8dsm3fxq1lii
2012-12-11 10:21:23 +05:30
Fabien Pinckaers 2f96683e20 [IMP] contract management
bzr revid: fp@tinyerp.com-20121210192810-eff3qaqn90vgl5q3
2012-12-10 20:28:10 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Sanjay Gohel (Open ERP) 510af53747 [MERGE]with trunk
bzr revid: sgo@tinyerp.com-20121210050956-qie5jf94xvgogiaq
2012-12-10 10:39:56 +05:30