Commit Graph

545 Commits

Author SHA1 Message Date
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
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Fabien Pinckaers b4d72207b2 [IMP] cleaning sales team stuff
bzr revid: fp@tinyerp.com-20121216155843-kl2mgr3ecyi85mw1
2012-12-16 16:58:43 +01:00
Vo Minh Thu 6072fd11af [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121210111654-0pm3pupnqqeip52n
2012-12-10 12:16:54 +01:00
Fabien Pinckaers 56f5c12020 fix
bzr revid: fp@tinyerp.com-20121208133604-w17o1fd3gn4uxe1s
2012-12-08 14:36:04 +01:00
Fabien Pinckaers 01b1ee9e3f [MERGE] Misc Fixes
bzr revid: fp@tinyerp.com-20121208131449-4mly488l1o5benuw
2012-12-08 14:14:49 +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
pankita shah (Open ERP) 3457eb9784 [IMP] improve Opportunity / Customer in to Opportunity,assign category into another opportunity,Show Sales Team from the opportunity filters, and invisilble labels from setting when sale module is not install,and improve stage field clickeable in lead view
bzr revid: shp@tinyerp.com-20121126111938-vmlqrg9fuzt1crt4
2012-11-26 16:49:38 +05:30
Antonin Bourguignon 6db4b0b211 [IMP] remove restrictions on lead deletion
After a short conversation with fp, al, odo, abo: it seems that it would be nice for usability's sake to remove restrictions on leads deletion, in the CRM module.
This condition on leads' state was introduced several years ago by fp to avoid unfortunate misclicks. It has been followed by another one bypassing the first one in case where the sales team had the allow_unlink flag set.

Since the Delete button has been thrown away in the More menu, it shouldn't get misclicked anymore, preventing damages in the CRM pipe. This will simplify access rights for users: if you want to delete a lead, you can, whatever its state, whatever its sales team.

Access restriction is still possible though by creating a record rule with a domain on the lead.state.

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

bzr revid: abo@openerp.com-20121112180144-utqcm39etuuzxdsu
2012-11-12 19:01:44 +01:00
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
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Atul Patel (OpenERP) 4199e2bfbb [MERGE]: Merged lp:~openerp-dev/openobject-addons/trunk-auto_follow-atp-sales_auto_follow-pja
bzr revid: atp@tinyerp.com-20120924125139-uaw26laihpyk4u7o
2012-09-24 18:21:39 +05:30
Jalpesh Patel (OpenERP) 771936b836 [IMP]sales auto followe
bzr revid: pja@tinyerp.com-20120924110409-muixiwuv5u9fkl62
2012-09-24 16:34:09 +05:30
Harry (OpenERP) d8dc7500a7 [MERGE]
bzr revid: hmo@tinyerp.com-20120913083825-szcrvywzhewih9t7
2012-09-13 14:08:25 +05:30
Raphael Collet fa91789a52 [IMP] crm: rename 'state' into 'related status' on stages
bzr revid: rco@openerp.com-20120912133537-pml9ft4rf9eba272
2012-09-12 15:35:37 +02:00
Twinkle Christian (OpenERP) 69af96255b [IMP]In stage object replace state to status
bzr revid: tch@tinyerp.com-20120830124359-yidn3iwmcq2ubnal
2012-08-30 18:13:59 +05:30
Bharat Devnani (OpenERP) 7bb38ca8a5 [IMP] made some improvements
bzr revid: bde@tinyerp.com-20120828113241-ttauphl06kvt62n4
2012-08-28 17:02:41 +05:30
Olivier Dony 0a22166f88 [FIX] mail.alias: fix constraint creation warnings + properly hide alias on creation form for inhering classes
bzr revid: odo@openerp.com-20120814105114-ei0qbgy71fyc8jtb
2012-08-14 12:51:14 +02:00
Olivier Dony 675ed5e84f [IMP] mail.alias: fix copy() errors for inheriting models
bzr revid: odo@openerp.com-20120807140821-xijunvy5d546o8c6
2012-08-07 16:08:21 +02:00
Olivier Dony ec73d82a76 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20120806174352-bgv2lt8pwhoa07pa
2012-08-06 19:43:52 +02:00
Olivier Dony 1902a15821 [IMP] mail alias review - work in progress
bzr revid: odo@openerp.com-20120806012717-k5rtz4i78o4m198b
2012-08-06 03:27:17 +02:00
Olivier Dony 56009ed513 [IMP] mail alias review - work in progress
bzr revid: odo@openerp.com-20120806004417-9uviymtavkxlh92m
2012-08-06 02:44:17 +02:00
Olivier Dony f0873dcb32 [MERGE] Sync with trunk - bunch of conflicts resolved
bzr revid: odo@openerp.com-20120803142450-97z551yam1js822h
2012-08-03 16:24:50 +02:00
Olivier Dony 093f739273 [IMP] mail alias review - work in progress
bzr revid: odo@openerp.com-20120801091439-2m7z9fhn771go35j
2012-08-01 11:14:39 +02:00
Divyesh Makwana (Open ERP) 48fa0c6ad2 [IMP] crm : Rename 'Payment Mode' to 'Name'.
bzr revid: mdi@tinyerp.com-20120801085040-zbks672sbyd8d3lr
2012-08-01 14:20:40 +05:30
Divyesh Makwana (Open ERP) 39f54a36a0 [IMP] crm : Added a new 'crm.payment.mode' object in order to relate the 'Payment Mode' field of 'crm.lead'.
bzr revid: mdi@tinyerp.com-20120801064442-ljg4sctsco2y1ii9
2012-08-01 12:14:42 +05:30
Rajesh Prajapati (OpenERP) 71122ae47a [IMP]tooltip : I have changed the tooltip of fields as suggested
bzr revid: rpr@tinyerp.com-20120713101751-zokuph2bcpcmlfc5
2012-07-13 15:47:51 +05:30
Olivier Dony 8819d7ba3d [MERGE] mail.alias: cascade-deletion of aliases when their attached document is deleted
bzr revid: odo@openerp.com-20120705141706-5gm5mmqode3bvkuc
2012-07-05 16:17:06 +02:00
Jigar Amin - OpenERP 0416c757fa [FIX] Mail alias unlink suport for the inheriting mdoels
bzr revid: jam@tinyerp.com-20120705125417-nw0shanp3a756vmy
2012-07-05 18:24:17 +05:30
Jigar Amin - OpenERP 2bf0978994 [REF] Refectored the fields_view_get hack
bzr revid: jam@tinyerp.com-20120705101331-rjbxvjrbpme9wqrq
2012-07-05 15:43:31 +05:30
Jigar Amin - OpenERP dbe2cdd6ee [FIX] improved sales team alias name
bzr revid: jam@tinyerp.com-20120705084640-viufemkz0dlwo2jo
2012-07-05 14:16:40 +05:30
Jigar Amin - OpenERP 6a3bc0c402 [MERGE] lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam-view-tpa
bzr revid: jam@tinyerp.com-20120705083505-hj51lkl69x8pmyo3
2012-07-05 14:05:05 +05:30
Jigar Amin - OpenERP caea6a6993 [FIX] _inherits meo field on delete restrit to avoid traceback from server
bzr revid: jam@tinyerp.com-20120705065939-75xnhvgc9sn5htcl
2012-07-05 12:29:39 +05:30
Turkesh Patel (Open ERP) 4ac5ff962b [IMP] improved view for mail.catchall.domain
bzr revid: tpa@tinyerp.com-20120705065309-sn7xw83x133r4wuw
2012-07-05 12:23:09 +05:30
Jigar Amin - OpenERP d823b7a881 [MERGE/IMP] lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam-improvement-tpa + demo record values
bzr revid: jam@tinyerp.com-20120704110617-6iz617pge7gg5x33
2012-07-04 16:36:17 +05:30
Turkesh Patel (Open ERP) 6dbc826535 [IMP] merge with lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam-tooltip-tpa
bzr revid: tpa@tinyerp.com-20120704094236-1rku07c8l9igslmv
2012-07-04 15:12:36 +05:30
Turkesh Patel (Open ERP) 6672dfcc87 [IMP] improved create method.
bzr revid: tpa@tinyerp.com-20120704083754-8g1n2ylj3ljwrnvk
2012-07-04 14:07:54 +05:30
Turkesh Patel (Open ERP) 8df078bdba [ADD] added tooltip.
bzr revid: tpa@tinyerp.com-20120702113913-q8dxbswpj8vf2832
2012-07-02 17:09:13 +05:30
Jigar Amin - OpenERP 2e67521464 [FIX] imp the crm alias defaile section id
bzr revid: jam@tinyerp.com-20120628083951-4rtvovu2d2veod52
2012-06-28 14:09:51 +05:30
Turkesh Patel (Open ERP) f3a4987a55 [MRG] merge with lp:~openerp-dev/openobject-addons/trunk-mail-alias-jam
bzr revid: tpa@tinyerp.com-20120628050949-p4vxixp5mqlivc1y
2012-06-28 10:39:49 +05:30
Jigar Amin - OpenERP d924342c83 [IMP] crm demo data
bzr revid: jam@tinyerp.com-20120628044101-rb746dyqb38g7uch
2012-06-28 10:11:01 +05:30
Turkesh Patel (Open ERP) c39f2c8313 [IMP] improved code.
bzr revid: tpa@tinyerp.com-20120627102005-6pfj8ukxya3qkbf6
2012-06-27 15:50:05 +05:30
Turkesh Patel (Open ERP) 486b3e8ec1 [IMP] remove alias_id field from view when catchall domain is not set.
bzr revid: tpa@tinyerp.com-20120627100931-3cug0k2cvd2fe0qy
2012-06-27 15:39:31 +05:30
ajay javiya (OpenERP) 2ca7cac3c2 [IMP]:Improve mail.alias in crm module
bzr revid: aja@tinyerp.com-20120627083552-xfbrng224lvtudv6
2012-06-27 14:05:52 +05:30
Jigar Amin - OpenERP b8a5dc28d0 [FIX] Coding imp
bzr revid: jam@tinyerp.com-20120627062412-482k3z8frrwvf80c
2012-06-27 11:54:12 +05:30
ajay javiya (OpenERP) d1e5f1d5d6 [Add]: Implement mail.alias feature for crm
bzr revid: aja@tinyerp.com-20120626112109-bt72oh4z6m6vuutq
2012-06-26 16:51:09 +05:30
Thibault Delavallée 466ac94a8d [CLEAN] Slighty cleaned code.
bzr revid: tde@openerp.com-20120529145535-6vfk1bx9roncs5xd
2012-05-29 16:55:35 +02:00
Thibault Delavallée fd0a1c46ea [REM] Removed crm_base and crm_case code.
bzr revid: tde@openerp.com-20120529140237-l6nbgca82s57do5d
2012-05-29 16:02:37 +02:00
Thibault Delavallée 585aac4c8c [IMP] project.task: second step towards cleaning.
bzr revid: tde@openerp.com-20120525162016-qyp3yiknuxeq8qeo
2012-05-25 18:20:16 +02:00
Thibault Delavallée 9ffe2179a0 [IMP] crm: cleaned code, fixed a wrong notification method call.
bzr revid: tde@openerp.com-20120525151959-82ibeur9d01gnesm
2012-05-25 17:19:59 +02:00