odoo/addons/crm
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-26 05:12:53 +00:00
process [IMP] add proper XML headers to config views 2012-08-03 15:15:42 +02:00
report [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
scripts/php
security [FIX] crm: remove default read access on Leads/Phonecalls for Employee, this was necessary only for the History tab on Customers in 6.1 2013-03-25 15:19:43 +01:00
static/src/img [REM] Removed some css changes. user image now only replaces the gravatar. 2012-03-14 19:03:52 +01:00
test [FIX]crm: crm merge tests testing new merge behaviour (opps before leads) 2013-03-29 14:06:15 +01:00
wizard [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos) 2013-06-07 13:38:29 +02:00
__init__.py [IMP] crm: remove inheritance on base.action.rule, and change demo action rules to use standard stuff 2012-12-21 11:21:51 +01:00
__openerp__.py [FIX] crm stage display on lead, default stages, rename test files 2013-03-21 12:26:47 +01:00
board_crm_view.xml feature 2012-11-29 17:05:16 +01:00
crm.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
crm_action_rule_demo.xml [MERGE] lp:~c2c/openobject-addons/trunk-trg_dates-base_action-rule-20120510 2012-12-21 12:39:57 +01:00
crm_data.xml [REM] Crm: removed 'send mail' button and related function. Cleaned poportunity basic template. 2013-02-26 12:36:24 +01:00
crm_demo.xml fix 2012-10-26 22:13:32 +02:00
crm_lead.py [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
crm_lead_data.xml [FIX] crm stage display on lead, default stages, rename test files 2013-03-21 12:26:47 +01:00
crm_lead_demo.xml [FIX]: crm: Fixed breaking demo and runbot because of date 30th 2013-02-01 11:32:20 +05:30
crm_lead_menu.xml [REV] Removed change not related to this branch. 2013-04-26 09:56:38 +02:00
crm_lead_view.xml [FIX] crm: removed self in default_ in search view, because this is not supported in 7.0 2013-06-21 14:06:09 +02:00
crm_meeting.py [REF]crm_lead, crm_meeting: minor changes to follow pep8 standard 2013-04-16 09:43:35 +02:00
crm_meeting_menu.xml [IMP] move the views of crm.meeting in base_calendar, adapt xml ids in xml, and improve the code that opens those views 2012-07-06 14:29:59 +02:00
crm_phonecall.py [IMP] track_visibility atribute: moved onto explicit strings. 2012-12-20 12:47:30 +01:00
crm_phonecall_data.xml
crm_phonecall_demo.xml [FIX] typos in demo data 2012-09-27 18:14:35 +02:00
crm_phonecall_menu.xml [MERGE] [IMP] crm: log phone calls as in held state 2013-06-20 13:16:31 +02:00
crm_phonecall_view.xml [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
crm_report.xml [IMP]remove tabs and add spaces instead of them 2012-06-28 12:10:05 +05:30
crm_report_view.xml [FIX] remove the option from the user_id fields 2012-08-09 18:35:29 +02:00
crm_segmentation.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
crm_view.xml [MERGE] Sync with trunk, to have last fixes about CRM. 2012-12-18 15:08:42 +01:00
res_config.py [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
res_config_view.xml [MERGE] config for after sale services 2012-10-10 22:28:28 +02:00
res_partner.py [FIX] crm: copy() of partners must return id of new partner 2013-06-28 19:45:08 +02:00
res_partner_view.xml [REM]crm:unnecessary filter removed 2012-11-05 17:51:47 +05:30