Commit Graph

559 Commits

Author SHA1 Message Date
Denis Ledoux 546a191f0a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9459 rev-id: fva@openerp.com-20130918153347-fy4nuvbm82ngfb8x
bzr revid: mat@openerp.com-20130826135110-f9q4p65ds2aholcw
bzr revid: dle@openerp.com-20130828141129-ecxl2vlpb8vw0o9f
bzr revid: dle@openerp.com-20130828162659-n8a0ku9o3h01qaov
bzr revid: dle@openerp.com-20130830094205-q3itwd7x0246d9n6
bzr revid: dle@openerp.com-20130830133604-mfnfbscn5wdk4vi4
bzr revid: dle@openerp.com-20130902131244-v9uh0s8rg4889i7j
bzr revid: mat@openerp.com-20130903134105-68ziuaccreu6rs61
bzr revid: chs@openerp.com-20130906171851-jtfsf4au1k30wwlr
bzr revid: dle@openerp.com-20130909103120-k5oefxgebhyslac3
bzr revid: dle@openerp.com-20130909170047-pbzw4ernvcpivbhh
bzr revid: chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: tde@openerp.com-20130912121059-k840pi4rwdzpez8g
bzr revid: dle@openerp.com-20130913085251-p906ci2divy82jur
bzr revid: tde@openerp.com-20130913092546-kzshg1a7sls566l8
bzr revid: mat@openerp.com-20130917122102-drf8fj9lrjj0fvju
bzr revid: mat@openerp.com-20130917161614-w8u2c1ayeb5kxm30
bzr revid: dle@openerp.com-20130918161305-7ep1642nxzyy3vhd
2013-09-18 18:13:05 +02:00
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
Thibault Delavallée 034d244be6 [REF] crm, hr, project: refactored kanban/form html/css to be cleaner and remove custom CSS. kanban specific css for aliases has been moved into web_kanban.
bzr revid: tde@openerp.com-20130405110737-xhdgxodrffqtfrzp
2013-04-05 13:07:37 +02:00
Thibault Delavallée ba9412cb5d [CLEAN] addons: various linkt cleanup (indentation, spaces, ...).
bzr revid: tde@openerp.com-20130403081009-jy35sm7dl4pq7eyu
2013-04-03 10:10:09 +02:00
Thibault Delavallée 6e2b1e7ed1 [CLEAN] crm: lint cleaning.
bzr revid: tde@openerp.com-20130328130956-e4zcfbwy9uqfef2i
2013-03-28 14:09:56 +01:00
Thibault Delavallée acd180c43b [CLEAN] crm: moved group_multi_salesteam configuration from crm.py to res_config.py where it belongs. Also renamed from Use mutli sales team to Manage Sales Teams.
bzr revid: tde@openerp.com-20130328095502-87j32cqinunwgazh
2013-03-28 10:55:02 +01:00
Christophe Matthieu 319e7d129c [IMP] salesteams: move config to sales settings
bzr revid: chm@openerp.com-20130327154408-pa1f6ygbyo7zr0an
2013-03-27 16:44:08 +01:00
Christophe Matthieu 454d3a0d4b [IMP] crm.case.section,salesteams: add groups multi_salesteams
bzr revid: chm@openerp.com-20130325165125-a5t5fdbnz9rqw1jp
2013-03-25 17:51:25 +01:00
Christophe Matthieu a98861a716 [IMP] crm: add settings options multi sales teams
bzr revid: chm@openerp.com-20130325163204-np98t3rywso3le35
2013-03-25 17:32:04 +01:00
Christophe Matthieu a4d3976caf [IMP] sales teams: in progress
bzr revid: chm@openerp.com-20130325102555-5q3j1y5dapohgax5
2013-03-25 11:25:55 +01:00
Christophe Matthieu a45ad6ec82 [IMP] crm: clean code
bzr revid: chm@openerp.com-20130322123803-43mz918j3ez9muvg
2013-03-22 13:38:03 +01:00
Christophe Matthieu ae16e29f87 [IMP] project,crm: display default alias_domain for creation
bzr revid: chm@openerp.com-20130305090452-lkt7y1clbaj1qe5r
2013-03-05 10:04:52 +01:00
Christophe Matthieu 0c4a656639 [IMP] salesteams: add account, crm: on_change user_id, change the salesteams
bzr revid: chm@openerp.com-20130206115736-fw3coo0u50itvjlq
2013-02-06 12:57:36 +01:00
Christophe Matthieu b76f4c7a45 [IMP] salesteams: add sales order and quotation
bzr revid: chm@openerp.com-20130206094414-8f7kp19dam6su991
2013-02-06 10:44:14 +01:00
Christophe Matthieu 21938b80ff [IMP] crm: Sales Teams menu with breadcrum
bzr revid: chm@openerp.com-20130125110434-whqnmhrvdqj0r9gh
2013-01-25 12:04:34 +01: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