odoo/addons/hr_recruitment
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
..
i18n Launchpad automatic translations update. 2013-08-05 06:30:55 +00:00
report [FIX] replace from/import decimal_precision by from/import openerp.addons.decimal_precision 2012-12-17 16:23:03 +01:00
security [IMP] give rights to officer for applicant 2012-09-21 14:05:02 +05:30
static/src/img [REM] Removed manual many2many tags from kanban views 2012-11-28 12:54:17 +01:00
test [FIX] hr_recuitment: global pdf file as email attchment instaed doc file 2012-10-18 17:48:20 +05:30
wizard [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
__init__.py [IMP] HR: add the configuration wizard(new added file >> hr/res_config.py, hr/res_config_view.xml,hr_recruitment/res_config.py, hr_recruitment/res_config_view.xml, hr_timesheet_sheet/res_config.py, hr_timesheet_sheet/res_config_view.xml) 2012-04-02 11:14:18 +05:30
__openerp__.py [MERGE] module desc + stock 2012-12-09 11:55:27 +01:00
board_hr_recruitment_statistical_view.xml [MERGE] hr improvements in board 2012-10-22 18:39:49 +02:00
hr_recruitment.py [FIX] Force safer ondelete=restrict on the `alias_id` _inherits FK on models with a mail.alias parent 2013-08-27 17:07:08 +02:00
hr_recruitment_data.xml [IMP] mail.message.subtype: set some subtypes as not followed by default, to avoid leaking information. 2013-01-30 14:58:25 +01:00
hr_recruitment_demo.yml [FIX] hr_recruitment: fixed yaml test that was creating records with inconsistent data (stage & state should be syncro as state is a fields.related) 2012-10-18 15:42:12 +02:00
hr_recruitment_installer_view.xml [IMP] hr*: remove deprecated ir.actions.todo 2012-04-10 14:12:39 +02:00
hr_recruitment_menu.xml [IMP] introducing new file type: html 2012-08-04 16:35:56 +02:00
hr_recruitment_view.xml [FIX] crm, project.task, project.issue, hr_recruitment: fixed quick create in kanban, simplified a bit the code in the various create overrides. 2013-06-19 13:46:33 +02:00
res_config.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
res_config_view.xml [IMP] cleaned ir.actions.todo to launch newly installed application 2012-09-16 13:42:49 +02:00