odoo/addons/project
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-09 05:35:56 +00:00
process [IMP]remove tabs and add spaces instead of them 2012-06-28 12:10:05 +05:30
report [MERGE] [FIX] project: Cumulative flow report shows create button on the tree view which is of no use on analysis report 2013-05-28 14:21:26 +02:00
security [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. 2013-04-12 16:37:19 +02:00
static/src [FIX] small css issue 2012-12-21 19:12:34 +01:00
test [FIX] make tests works 2012-08-31 18:55:21 +02:00
wizard [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
__init__.py
__openerp__.py [cherry picking] manual merge of lp:~openerp-dev/openobject-addons/trunk-screenshots-main-modules-vba 2013-01-31 19:41:41 +01:00
board_project_view.xml [IMP] removed groups from fields which we made invisible 2012-09-05 14:48:56 +05:30
company.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
project.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
project_data.xml [FIX] Change domain in expense to support regular contracts 2013-03-21 17:29:39 +01:00
project_demo.xml [FIX] project: default visibility is employees only. Updated demo data by the way. 2013-04-16 16:11:45 +02:00
project_view.xml [FIX]project: show tasks of project that are in template state when clicking on the show task button from the project. 2013-05-16 12:16:16 +02:00
res_config.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
res_config_view.xml [MERGE] 2012-09-17 18:35:06 +05:30
res_partner.py [IMP] remove useless use of update dict 2013-06-12 13:36:48 +02:00
res_partner_view.xml [IMP]Remove type field from the modules 2012-08-09 11:35:16 +05:30