Commit Graph

309 Commits

Author SHA1 Message Date
Denis Ledoux fa5cfcd67e [FIX] hr_recruitment: default company set according to department company 2014-05-26 11:20:40 +02:00
Cecile Tonglet dabb11ab88 [FIX] migrate_to_alias() of mail.alias didn't care about result value of _auto_init
bzr revid: cto@openerp.com-20140106133600-o7a2p3pr1zlvjezb
2014-01-06 14:36:00 +01:00
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
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
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
Thibault Delavallée 54ef169ce3 [FIX] mail_alias, hr_job: when migrating to aliases, allow to have aliases creating records from a different model than the parent model; for example hr_job create hr_applicant records.
bzr revid: tde@openerp.com-20130516120227-z819lxy30mghc1hv
2013-05-16 14:02:27 +02:00
Thibault Delavallée 6de2650299 [IMP] Suggested recipients: check whether an email is linked to a partner.
bzr revid: tde@openerp.com-20130228170546-t04n73pvuwtp20jh
2013-02-28 18:05:46 +01:00
Thibault Delavallée 2d3ff2a217 [IMP] hr_recruitment, project_issue: now use the suggested_recipient feature, like crm.lead.
bzr revid: tde@openerp.com-20130226132241-ot3xfn8u39grp0ir
2013-02-26 14:22:41 +01:00
Josse Colpaert d43b189f09 [IMP] Change of plan initial mail is application summary but is not updated afterwards
bzr revid: jco@openerp.com-20130129164914-9hhrle1q91hpetmk
2013-01-29 17:49:14 +01:00
Josse Colpaert eb84db7fdf [IMP] Search for tags
bzr revid: jco@openerp.com-20130129112121-s5uqp28ittqddww5
2013-01-29 12:21:21 +01:00
Olivier Dony a26b66dbf5 [FIX] mail_thread subclasses: message_new() should copy the author_id if one was identified
bzr revid: odo@openerp.com-20130115134359-mczjs42f4gchrk7d
2013-01-15 14:43:59 +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
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
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 e940b2a3d9 [REF] hr_recruitment: added tracked on stage_id, user_id, and _track to use subtypes. Removed extra chatter messages.
bzr revid: tde@openerp.com-20121218163130-popi9ahf15ek8e5y
2012-12-18 17:31:30 +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 baeefa6952 [FIX] replace from/import stuffs of openerp stuffs by from/import openerp.stuffs
bzr revid: cto@openerp.com-20121217154628-0c0i8y3389yz4dxd
2012-12-17 16:46:28 +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
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Foram Katharotiya (OpenERP) c5c6279a28 [IMP] improve code
bzr revid: fka@tinyerp.com-20121122124648-t38mpzva7uf4jsfy
2012-11-22 18:16:48 +05:30
Sanjay Gohel (Open ERP) 104bf4c64b [IMP]tracked hr recruitment fields
bzr revid: sgo@tinyerp.com-20121122053037-vt1pkzajh8yqmzlu
2012-11-22 11:00:37 +05:30
Khushboo Bhatt (Open ERP) 13eb54e8df [MERGE]merge with lp:~openerp-dev/openobject-addons/trunk-mail-subtype-apa
bzr revid: kbh@tinyerp.com-20121121125357-gp5zcyc5r1a8jw94
2012-11-21 18:23:57 +05:30
Khushboo Bhatt (Open ERP) 366dd537ac [REM]hr_recruitment:unnecessary subtype removed
bzr revid: kbh@tinyerp.com-20121121125209-votyj0ro8i6b9z5q
2012-11-21 18:22:09 +05:30
Khushboo Bhatt (Open ERP) c6a88089c9 [REM]hr_recruitment:code removed for stage changed
bzr revid: kbh@tinyerp.com-20121121095728-651ta4nl2162xr56
2012-11-21 15:27:28 +05:30
Khushboo Bhatt (Open ERP) 2a3c631f86 [Add]hr_recruitement:subtypeadded for appicants
bzr revid: kbh@tinyerp.com-20121120084605-ddhshc2szgrj3pyu
2012-11-20 14:16:05 +05:30
Thibault Delavallée 475e74734a [REV] hr_recruitment: reverted improvement of message, not the purpose of this branch.
bzr revid: tde@openerp.com-20121119144236-he70h0bptnd2pbdo
2012-11-19 15:42:36 +01:00
Thibault Delavallée 5c6976e2a3 [FIX] hr_recruitment: fixed message_update, cleaned a bit the code.
bzr revid: tde@openerp.com-20121119142059-l4cnkyhlrg2vt1b9
2012-11-19 15:20:59 +01:00
Thibault Delavallée 62af1f1883 [FIX] addons: fixed calls to command_re.
bzr revid: tde@openerp.com-20121119132509-dyes929xalp0pgcj
2012-11-19 14:25:09 +01:00
Antonin Bourguignon 602ed5c7ca [MERGE] trunk
bzr revid: abo@openerp.com-20121105101538-tdgu6bi8vp2lnqru
2012-11-05 11:15:38 +01:00
ajay javiya (OpenERP) f95608ae89 [ADD]:Add onchange for contact from and leave request
bzr revid: aja@tinyerp.com-20121029083414-4bw6i8ii72wctevk
2012-10-29 14:04:14 +05:30
Ajay Chauhan (OpenERP) 6cfffae349 [MERGE] merge with lp:openobject-addons
bzr revid: cha@tinyerp.com-20121029050259-0vimwnu84f2dvk2g
2012-10-29 10:32:59 +05:30
Mayur Maheshwari (OpenERP) 8346293d72 [MERGE]: Merge with lp:openobject-addons
bzr revid: mma@tinyerp.com-20121015090200-irfaskfn9i1p68j9
bzr revid: mma@tinyerp.com-20121016052513-vl56jxtp7xbpa2ry
2012-10-16 10:55:13 +05:30
Ajay Chauhan (OpenERP) 3e92ab21d0 [MERGE] merge with lp:openobject-addons
bzr revid: cha@tinyerp.com-20121012092019-qdvhqieyi1qrv5lh
bzr revid: cha@tinyerp.com-20121015055409-mx3nok6uhg1t0jk5
2012-10-15 11:24:09 +05:30
Mayur Maheshwari (OpenERP) 0b87880029 [IMP]all: imporve string state to status
bzr revid: mma@tinyerp.com-20121012114258-w2q3hg1wb5wlt8wi
2012-10-12 17:12:58 +05:30
Ajay Chauhan (OpenERP) 728644807f [IMP] hr_recruitment: solved group by Appreciation in for application
bzr revid: cha@tinyerp.com-20121011132118-x2n3gds5571q5v1d
2012-10-11 18:51:18 +05:30
Amit Patel 2191382ce3 [IMP]:improved code
bzr revid: apa@tinyerp.com-20121010124115-cfsqfursxprfhgrx
2012-10-10 18:11:15 +05:30
Olivier Dony e9d314646d [FIX] mail.thread subclasses: convert body to plaintext in message_new, as body is now HTML
Also disable the updating of the body when new messages
are received for project.issue records, because this
might discard important information that was manually
entered.

bzr revid: odo@openerp.com-20121009155420-72xvyhhiwd696upv
2012-10-09 17:54:20 +02:00
Fabien Pinckaers c93d70e919 [MERGE] chm - improved subtype - fixes
bzr revid: fp@openerp.com-20121002204023-8v3jf2n84xe2jol9
2012-10-02 22:40:23 +02:00
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Thibault Delavallée cb806332be [FIX] subtype_xml_id -> subtype in message_post.
bzr revid: tde@openerp.com-20120920145405-vwi1kt1ttkd2w8sz
2012-09-20 16:54:05 +02:00
Thibault Delavallée b9820db8f0 [CLEAN] hr_holidays, hr_recruitment, idea, mrp: cleaned subtypes.
bzr revid: tde@openerp.com-20120919131240-7cc61fqg5eoom9zt
2012-09-19 15:12:40 +02:00
Sanjay Gohel (Open ERP) e6cdcb6b51 [MERGE]merge with trunk addons
bzr revid: sgo@tinyerp.com-20120917065740-w9a3xhe632368t2n
2012-09-17 12:27:40 +05:30
Fabien Pinckaers 01600be20c [MERGE] fix HR
bzr revid: fp@openerp.com-20120916151826-8h6icwvujl6oegjz
2012-09-16 17:18:26 +02:00
Sanjay Gohel (Open ERP) 66e8595b01 [IMP]changed in all hr module for subtype
bzr revid: sgo@tinyerp.com-20120913065854-7y5jkls3q2jebduv
2012-09-13 12:28:54 +05:30
Pinakin Nayi (OpenERP) bb9046f74c [MERGE]:merge with parent branch
bzr revid: pna@tinyerp.com-20120912121614-j9cj8yy2prraah1g
2012-09-12 17:46:14 +05:30
Pinakin Nayi (OpenERP) f65d6ffbcf [IMP]hr_recruitment:Trying to hire an applicant
bzr revid: pna@tinyerp.com-20120912093223-wfxedyx9vlni97xi
2012-09-12 15:02:23 +05:30
Amit Patel (OpenERP) 28c02858aa [MERGE]:trunk
bzr revid: apa@tinyerp.com-20120907051238-z0a84gfgpvq1hn1h
2012-09-07 10:42:38 +05:30
Fabien Pinckaers c07aa9b5da read_grouop_fold
bzr revid: fp@tinyerp.com-20120906161812-5yop3buxhpbuylmm
2012-09-06 18:18:12 +02:00
Fabien Pinckaers e084498b7d [IMP] removing some board stuff
bzr revid: fp@tinyerp.com-20120906152303-v6svwvqms858xm9t
2012-09-06 17:23:03 +02:00