Commit Graph
85 Commits
Author SHA1 Message Date
William Braeckman 84029ec62e [IMP] hr_recruitment: improve applicant creation through calendar
Previously when creating an applicant through the calendar application,
no activity would be created making the newly created record not show up
in the calendar because it depends on the activities linked to the
record.
A calendar event will now be created upon creation through the calendar
view in order for the applicant to be displayed directly.

Also fixes an issue where if no contact is set on the application it
would prevent you from refusing it.

TaskId-2641495

closes odoo/odoo#76831

Signed-off-by: Kevin Baptiste <kba@odoo.com>
2021-10-01 08:50:19 +00:00
Martin Trigaux c7bac3dee0 [IMP] *: make ir.model.data helper private
No reason to interfact with them directly in RPC
2021-08-10 13:49:04 +02:00
Kevin Baptiste 86aa7b78aa [IMP] *: introduce data-hotkey on form and modal views
Define `data-hotkey` on most used action buttons.

For the modals, the following keys are dedicated for "special"
actions:
 - Alt+G: add
 - Alt+V: save
 - Alt+Z: cancel

closes odoo/odoo#73275

Taskid: 2588233
Related: odoo/enterprise#19464
Signed-off-by: Kevin Baptiste <kba@odoo.com>
2021-07-15 08:39:49 +00:00
Krupal OzaandMahendra Barad 56948f52e2 [IMP] hr_recruitment: improve the template by refusing reason
Purpose of this task is to improve the refuse reason action to sent
the email using the automatic template.
Currently, when using the refuse action,there is no mail template sent
to the applicant.

In this commit, we improved Refuse Reasons wizard by adding the
send mail inside the wizard with email template so user can select the
send mail option and rpvide the template or default template while
refusing th application.

- On selection of the refuse reason:
  - If in the settings, the refusal reason have an email template,
the send mail checkbox is true, and template is displayed (can be changed)
  - If the refusal don't have email template, send mail checkbox is
unchecked by default.

closes odoo/odoo#57722

Taskid: 2313402
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Co-authored-by: Mahendra Barad <mba@odoo.com>
2021-05-31 06:55:14 +00:00
Rushi Sathawar 8990713aa3 [FIX] hr_recruitment: Prevent toggle active on refuse applicant
Currently, when click on refuse action on applicant it will
call the toogle_active and applicant is archived then it will
going to open the wizard for refuse reason due to that even if user
cancel the wizard the applicant is archived.

So in this commit, On click of the 'refuse' on applicant just open
the wizard for refuse reason and click of apply archive the applicant
with reason.
It will not affect the opening of wizard on archive of applicant from
action menu.

closes odoo/odoo#58740

Taskid: 2333037
X-original-commit: 9dfb85b494efeec7786d345315977b9bcea63b82
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-09-28 18:18:24 +00:00
jbm-odoo b2a2d0a730 [IMP] hr_recruitment: Add refuse reason and a wizard when archiving
Purpose
=======

Like in crm, having a refusal reason to get some metrics on recruitment
+ recruitement dashboard

id=2003841

closes odoo/odoo#38467

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-06 11:55:34 +00:00
Thibault Delavallée 38de852257 [REM] hr_recruitment: removed some dead code and unnecessary
features :

- [REM] removed unnecessary action about stages and installer
and the file containing it.
- [REM] hr_recruitment: removed useless doc directory, containing
only crap and useless notes.
- [REM] hr_recruitment: removed unused wizard creating a partner from
an applicant. As we have all the necessary stuff in the form view this
wizard does not seem necessary. As it is not used, let us drop it.
2015-07-24 15:50:50 +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
Goffin Simon 0fd773a486 [IMP] Cleanup and refactoring of exception handling
Unify and refactor exception handling in framework and addons.

The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes:
 - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration.
 - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights.
 - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request.
 - `MissingError`: raised when an operation is attempted on a record that does not exist.
 - `ValidationError`: raised when an operation violates a SQL or Python constraint.
 - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback.

All exceptions take a single message argument.

The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions.

A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages.

This commit introduces a more consistent policy for logging errors and warnings:
 - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations.
 - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention.
 - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2015-01-16 17:15:18 +01: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
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Thibault Delavallée 9194308cd4 [FIX] hr_recruitment, project_issue, crm_phonecall: fixes related to the removal of base_state/base_stage and all case_ methods
bzr revid: tde@openerp.com-20130813094747-dm06sx2glgdgal9m
2013-08-13 11:47:47 +02:00
Thibault Delavallée 05359f0909 [IMP] hr_recruitment: added date_last_stage_update field, holding date of last stage modification; removed hired.employee wizard that does not seem to be used anywhere, nor to be useful.
bzr revid: tde@openerp.com-20130708091156-3l6fcl6drd4b6w2y
2013-07-08 11:11:56 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02: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
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Vo Minh Thu 9822629548 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120813160657-ilujdek8ys4fzhp9
2012-08-13 18:06:57 +02:00
Twinkle Christian (OpenERP) 721adad01e [IMP]Remove type field from the whole hr module
bzr revid: tch@tinyerp.com-20120808124839-ecd1uic8mscg3s7f
2012-08-08 18:18:39 +05:30
Antonin Bourguignon 8a64e7580a [IMP] all the error messages now start with 'Error\!' (not 'Error' or 'Error \!')
bzr revid: abo@openerp.com-20120807113137-44vehm0mthqawlo3
2012-08-07 13:31:37 +02:00
Fabien Pinckaers 64a9321d56 [IMP] footer on forms
bzr revid: fp@tinyerp.com-20120710164011-unqi1okf2uu8yhts
2012-07-10 18:40:11 +02:00
Raphael Collet 37b6165dd4 [REM] hr_recruitment: remove unused wizard hr.recruitment.job2phonecall
bzr revid: rco@openerp.com-20120705115521-ox4hpbqfbrfcsbd0
2012-07-05 13:55:21 +02:00
Quentin (OpenERP) 6fe94bd4bc [MERGE] merged with maint runk
bzr revid: qdp-launchpad@openerp.com-20120629123618-z1bv3dqdfqy23hno
2012-06-29 14:36:18 +02:00
Raphael Collet 5133bee1d5 [FIX] in form views, replace class 'oe_highlight_on_dirty' by 'oe_highlight'
bzr revid: rco@openerp.com-20120629083024-rqhtbf9melkygg0m
2012-06-29 10:30:24 +02:00
Raphael Collet a252604a65 [IMP] clean up views
bzr revid: rco@openerp.com-20120628154309-pqharl6hu7n8ftut
2012-06-28 17:43:09 +02:00
Jigar Amin - OpenERP 5d2cec437d [FIX] removed the or in hr hire
bzr revid: jam@tinyerp.com-20120628100510-1eg0245qaeyz9f2o
2012-06-28 15:35:10 +05:30
Sanjay Gohel (Open ERP) 1702b2335d [IMP]remove tabs and add spaces instead of them
bzr revid: sgo@tinyerp.com-20120628064005-zuerrpazumf5lf1q
2012-06-28 12:10:05 +05:30
Jigar Amin - OpenERP 282b172739 [FIX] hr* added special cancel link button
bzr revid: jam@tinyerp.com-20120627123017-bei5cjpghhzn1vr8
2012-06-27 18:00:17 +05:30
Twinkle (OpenERP) 471037495c [IMP]Apply css class flow on wizards buttons
bzr revid: tch@tinyerp.com-20120626063119-5i93di16milljxap
2012-06-26 12:01:19 +05:30
Twinkle (OpenERP) 0e97cefe9e [IMP]Improve wizard button
bzr revid: tch@tinyerp.com-20120625100901-ucjbttxod55erqmf
2012-06-25 15:39:01 +05:30
Jigar Amin - OpenERP ae34954e1d [MERGE] lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-highlight-tch
bzr revid: jam@tinyerp.com-20120620123242-tvm11xx0s3olkdif
2012-06-20 18:02:42 +05:30
Twinkle (OpenERP) 660cc67256 [IMP]Added highlight button on wizard
bzr revid: tch@tinyerp.com-20120620104923-z1hty740vn160fg9
2012-06-20 16:19:23 +05:30
Jigar Amin - OpenERP 12731a4bfd [MERGE] Branch lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-fix-tch
bzr revid: jam@tinyerp.com-20120620082816-ptbmuaedqi2jz3a9
2012-06-20 13:58:16 +05:30
Twinkle (OpenERP) 1c4476e8b6 [IMP]Improve wizard usability
bzr revid: tch@tinyerp.com-20120620073712-xql1mgekjyb7ufwv
2012-06-20 13:07:12 +05:30
Jigar Amin - OpenERP 3b55cde67e [FIX] hr_recruitment hire yes no
bzr revid: jam@tinyerp.com-20120619122123-run0mkbqoerqa1y6
2012-06-19 17:51:23 +05:30
Turkesh Patel (Open ERP) 3b4d7df5e4 [IMP] hr_recruitment: remove cancel button from wizard and improved view.
bzr revid: tpa@tinyerp.com-20120618053951-lm5i1rsholkvgmvr
2012-06-18 11:09:51 +05:30
Ashvin Rathod (OpenERP) 9154401fb6 [IMP] Impreve survey form view
bzr revid: ara@tinyerp.com-20120518060156-vesnnis4d4hxgol1
2012-05-18 11:31:56 +05:30
Thibault Delavallée f98c468905 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120402085718-vkbvudzpa4e1t9m8
2012-04-02 10:57:18 +02:00
Bhumika (OpenERP) df507dbe9e [FIX] hr_recruitment: remove referecne of res.partner.address
bzr revid: sbh@tinyerp.com-20120307054919-nux5472zjscght8j
2012-03-07 11:19:19 +05:30
Numerigraphe - Lionel Sausin 2d2a44dcf2 [FIX] unmutable default in the remaining modules
[REF] coding style consistency

lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2012-03-05 19:40:03 +01:00
Thibault Delavallée 526281d470 [FIX] crm_partner_assign, hr_recruitment: fixed 2 write using an int instead of list
bzr revid: tde@openerp.com-20120228151441-kow3r6nn96qn6w4q
2012-02-28 16:14:41 +01:00
Harry (OpenERP) 20f1c36fda [MERGE] merged with trunk development branch.
bzr revid: hmo@tinyerp.com-20111130070226-3zqdu5nhk45d14ig
2011-11-30 12:32:26 +05:30
Jagdish Panchal (Open ERP) 2ab51f3af9 [IMP] improve test case of recruitment process
bzr revid: jap@tinyerp.com-20111118125430-l02i4orxr2z940s3
2011-11-18 18:24:30 +05:30
Fabien Pinckaers 666922776e [IMP] hire employee to open employee form
bzr revid: fp@tinyerp.com-20111117105301-6dwnjpqnbj7m5yof
2011-11-17 11:53:01 +01:00
Olivier Dony a3b12602ee [IMP] hr_recruitment: spellcheck, simplify mail compose wizard
bzr revid: odo@openerp.com-20110907183328-lkmn6roww23atp9e
2011-09-07 20:33:28 +02:00
Olivier Dony 8f9f45ea94 [IMP] all: next pass of review/renaming for new mail API
bzr revid: odo@openerp.com-20110822171659-zxho36a6n628i10q
2011-08-22 19:16:59 +02:00
Rifakat Haradwala (Open ERP) 44bcca9f2f [IMP] email.compose.message: useability improvements
bzr revid: rha@tinyerp.com-20110419115850-8vsbd9yv3vhedgss
2011-04-19 17:28:50 +05:30
Rifakat Haradwala (Open ERP) 0db9b58ef9 [IMP] crm_helpdesk, project_issue, hr_recruitment, event, project_planning: inherited email.compose.message in these modules
bzr revid: rha@tinyerp.com-20110408111001-9om0nhd9c9irtwkc
2011-04-08 16:40:01 +05:30
Rucha (Open ERP) 117d3f75a0 [MERGE]: Merge with latest trunk
bzr revid: rpa@tinyerp.com-20110317095800-l0sc4mj3uktsm8wa
2011-03-17 15:28:00 +05:30
Rucha (Open ERP) 62b3abd6c0 [MERGE]: Merge with latest trunk
bzr revid: rpa@tinyerp.com-20110314102742-xsankh8h4q562lv8
2011-03-14 15:57:42 +05:30