Commit Graph

811 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
Martin Trigaux 56bb110c46 [FIX] project: set duplicated task in default stage (opw #589907)
bzr revid: mat@openerp.com-20130902121017-xjtnuhf9llqpy7ch
2013-09-02 14:10:17 +02:00
Martin Trigaux cf45a9fa01 [FIX] project: correct name_search for analytic accounts, use args, name, limit and context
bzr revid: mat@openerp.com-20130828141123-ws38n7353f717not
2013-08-28 16:11:23 +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
Christophe Simonis 58868227f9 [MERGE] forward port of branch 7.0 up to revid 9382 chs@openerp.com-20130823131214-ipouwtnz8r16mlvv
bzr revid: chs@openerp.com-20130823143114-83tdjhbsdes0kydr
2013-08-23 16:31:14 +02:00
Cecile Tonglet 2c2ac536ce [IMP] Use the migration function migrate_to_alias of object mail.alias on model project.project
bzr revid: cto@openerp.com-20130823122955-5bbn5ivdiqxti5py
2013-08-23 14:29:55 +02:00
Christophe Simonis bf29a2ebc7 [MERGE] forward port of branch 7.0 up to revid 9302 chs@openerp.com-20130718111616-apacuhc2qhquobtc
bzr revid: dle@openerp.com-20130627104833-b9zgtu8urj43f12b
bzr revid: mat@openerp.com-20130702135856-kmg7d8anw17nkbd8
bzr revid: chs@openerp.com-20130718115928-wpa84dqh8tcq31zt
2013-07-18 13:59:28 +02:00
Quentin (OpenERP) 962dedda51 [FIX] project: defined the write_date field in project.task so that it can be reused in date filters in base_action_rule module
bzr revid: qdp-launchpad@openerp.com-20130617133825-2rfo9z27858qalcb
2013-06-17 15:38:25 +02:00
Thibault Delavallée f95572d649 [FIX] project: removed old code that was messing with followers intorduced at revision 8435.
bzr revid: tde@openerp.com-20130626103756-kbbrp87gn2h5160h
2013-06-26 12:37:56 +02:00
Thibault Delavallée 4ee8b2836c [FIX] Fixed last commit.
bzr revid: tde@openerp.com-20130621102021-mnozkbmz11dg5k9z
2013-06-21 12:20:21 +02:00
Thibault Delavallée 67e4eff42b [CLEAN] Some code cleaning before merging.
bzr revid: tde@openerp.com-20130621093732-qc9ltxfiemmi421s
2013-06-21 11:37:32 +02:00
Thibault Delavallée 9005541f99 [FIX] crm, project.task, project.issue, hr_recruitment: fixed quick create in kanban, simplified a bit the code in the various create overrides.
bzr revid: tde@openerp.com-20130619114633-pb0rtz0kivlrabcx
2013-06-19 13:46:33 +02:00
Christophe Simonis 6a9adbca62 [MERGE] forward port of branch 7.0 up to revid 9236 mat@openerp.com-20130613160953-itt79mu5xrl7suv4
bzr revid: chs@openerp.com-20130613181503-82234mo34wxb0oap
2013-06-13 20:15:03 +02:00
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
Martin Trigaux 45c3fd063b [MERGE] Forward porting of latest 7.0 bugfixes, up to rev. 9193
bzr revid: mat@openerp.com-20130604110041-yemgrfsi02uboe8m
2013-06-04 13:00:41 +02:00
nicolas.bessi@camptocamp.com c3f7fbbf1f [FIX] project name search if aa id != project id
lp bug: https://launchpad.net/bugs/1186146 fixed

bzr revid: nicolas.bessi@camptocamp.com-20130531073631-dthwxiyp8mnmtkfr
2013-05-31 09:36:31 +02:00
Martin Trigaux d626d3cb61 [MERGE] backport saas-1 rev 8728
[FIX] mail, project, project_issue, crm_lead: fixed 'XX Created' subtype not triggered because of condition
based on state=new and not state=draft.
For tasks, issues and leads, no generic 'Document created' message is posted anymore
because of the 'XX Created' message with subtype automatically logged.
Generic creation message is logged before automatic subscription to enable
message pushing to responsibles.

bzr revid: mat@openerp.com-20130529143022-wy76srwb2nwkspe3
2013-05-29 16:30:22 +02:00
Thibault Delavallée d4dbd3524c [FIX] mail, project, project_issue, crm_lead: fixed 'XX Created' subtype not triggered because of condition
based on state=new and not state=draft.
For tasks, issues and leads, no generic 'Document created' message is posted anymore
because of the 'XX Created' message with subtype automatically logged.
Generic creation message is logged before automatic subscription to enable
message pushing to responsibles.

bzr revid: tde@openerp.com-20130529131458-9709ffrsy479hwy3
2013-05-29 15:14:58 +02:00
Thibault Delavallée cdffc4db54 [FIX] project_issue: fixed write of date_action_last: it is possible to post a message without having access to write access rights on an issue, therefore using SUPERUSER_ID (e.g. portal user).
[FIX] mail_message, mail, project, task, issue: it is now possible to have model-specific access rule checking for mail.message related acces right / rules. Task and issue allow to create mail.message when the user has a read access on the related document, not only when having write access.

bzr revid: tde@openerp.com-20130528144447-3ivcom6r9x7q949b
2013-05-28 16:44:47 +02:00
Thibault Delavallée a05b0bebbe [FORWARD] Forward port of 7.0 branch until revision 9143.
bzr revid: tde@openerp.com-20130521122359-b5vii7gv8arluz06
2013-05-21 14:23:59 +02:00
Quentin (OpenERP) b6a4e2fc5f [FIX] project: do not hide tasks from template project in the project kanban and if we open those tasks from the project template
bzr revid: qdp-launchpad@openerp.com-20130516121306-3d24o7z9y8odmvqh
2013-05-16 14:13:06 +02:00
Cedric Snauwaert 231103feeb [FIX]project: show tasks of project that are in template state when clicking on the show task button from the project.
bzr revid: csn@openerp.com-20130516101616-g4unvwc2e1dxb5dc
2013-05-16 12:16:16 +02:00
Cedric Snauwaert 8f96d0d177 [FIX]project: fix domain in order not to see all stages in task views
bzr revid: csn@openerp.com-20130430143529-3dk22kinb2vo2rvy
2013-04-30 16:35:29 +02:00
Olivier Dony 9c08e12962 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9085
revision-id: odo@openerp.com-20130429105458-r89mnkx8okdxsdld

bzr revid: odo@openerp.com-20130429151410-54y94063gijyk16o
2013-04-29 17:14:10 +02:00
Thibault Delavallée 8c31d9772a [FIX] project, task, issue, portal: fixed access rules for employees/portal users + added an help on privacy_visibility.
bzr revid: tde@openerp.com-20130426130259-35j0v7lg7unxhzzp
2013-04-26 15:02:59 +02:00
Thibault Delavallée ef210bd489 [FIX] project: default visibility is employees only. Updated demo data by the way.
bzr revid: tde@openerp.com-20130416141145-3tsaz7u51xt80rer
2013-04-16 16:11:45 +02:00
Thibault Delavallée 812c852fd0 [FORWARD] Merged 7.0 addons revisions until 9021
bzr revid: tde@openerp.com-20130415084302-hx7zxtpl5u6yphfg
bzr revid: tde@openerp.com-20130415153732-v4ols3t56rku92oz
2013-04-15 17:37:32 +02:00
Thibault Delavallée b6223ecb7f [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.
bzr revid: tde@openerp.com-20130412143719-ztjo06r900l024dm
2013-04-12 16:37:19 +02:00
Thibault Delavallée 1fe0a9afe9 [MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
This revision adds a configuration in Settings/Sales: enable the use of sales team. If not enabled, users have access to Leads and Opportunities menus; Sales Teams menu is hidden, as well as all fields related to sales teams. If enabled, a Sales Teams menu is added that works as the Project menu. The new sales Teams kanban view allows to have an overview of the sales team (leads, opportunities, quotations, sales orders, invoices). Clicking on a link of the kanban vignette redirect to the related list/kanban view, filtered by the chosen sales team.

This revision also improves the display of help message (also shown for empty kanban views) for leads, opportunities, tasks, issues, applicants. It displays the current sales team / project / job alias, or a default alias if no context is provided.

bzr revid: tde@openerp.com-20130405151914-8892yfmsmr2xwbbk
2013-04-05 17:19:14 +02:00
Christophe Matthieu 43d34d9a0d [IMP] project: get_empty_list_help
bzr revid: chm@openerp.com-20130327161107-zpgjva798txezvkr
2013-03-27 17:11:07 +01:00
Christophe Matthieu 9845f41c09 [IMP] project, project_issue: improve get_empty_list_help
bzr revid: chm@openerp.com-20130325104012-h5ryupgzglia4twg
2013-03-25 11:40:12 +01:00
Christophe Matthieu 9d45f9ad82 [IMP] code cleaning for get_empty_list_help
bzr revid: chm@openerp.com-20130321133139-k6ycur34ojw2qhjq
2013-03-21 14:31:39 +01:00
Christophe Matthieu ae30f8fff3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130320125517-jv2ot85iypncoesj
2013-03-20 13:55:17 +01:00
Pinakin Nayi (OpenERP) b20b9aa198 [FIX]project:when try to duplicate task or project than the state of task is not set to default
bzr revid: pna@tinyerp.com-20130319060954-dhk9vgtkpnayt1cv
2013-03-19 11:39:54 +05:30
Quentin (OpenERP) be05b374a1 [MERGE] forwardport of bugfixes made in v7 up to revision 8854.
bzr revid: qdp-launchpad@openerp.com-20130314112740-s01t51p4m7mxcumz
2013-03-14 12:27:40 +01:00
Christophe Matthieu b255703166 [MERGE] from trunk
bzr revid: chm@openerp.com-20130313141718-dw76m7fvy0co3rfi
2013-03-13 15:17:18 +01:00
Quentin (OpenERP) 96267bdfce [FIX] project: when writing on several projects, don't erase the name of all projects with the last one's name! stupid me.
bzr revid: qdp-launchpad@openerp.com-20130306172856-35dmxn7efydr5xyf
2013-03-06 18:28:56 +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 7515824c60 [IMP] display alias on project, crm, hr
bzr revid: chm@openerp.com-20130304151355-g3asldjob722urc0
2013-03-04 16:13:55 +01:00
Christophe Matthieu 8cd3602a9f [IMP] issue: dynamic_help
bzr revid: chm@openerp.com-20130304141240-mpbtizm2y8r01456
2013-03-04 15:12:40 +01:00
Fabien Pinckaers a46f8bc96d [IMP] improved naming of project visibility
bzr revid: fp@openerp.com-20130226204022-n2256r7b4jyxet1x
2013-02-26 21:40:22 +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 bfcbb3f619 [IMP] crm: dynamic_help
bzr revid: chm@openerp.com-20130205161002-3dxect9a9x43852z
2013-02-05 17:10:02 +01:00
Christophe Matthieu a58fb0df5c [IMP] project: display group with empty message
bzr revid: chm@openerp.com-20130205145101-h6jk9uw8av79aygp
2013-02-05 15:51:01 +01:00
Christophe Matthieu 3dd59aa69b [IMP] project: multi alias if no default_project_id
bzr revid: chm@openerp.com-20130205133933-0x3s16gh4ftnx21y
2013-02-05 14:39:33 +01:00
Christophe Matthieu 01cddc42a5 [IMP] project: help alias in bold
bzr revid: chm@openerp.com-20130205112209-nsn8m1fd3j8aje8j
2013-02-05 12:22:09 +01:00
Christophe Matthieu bd8cefa073 [IMP] project: use dynamic_help to add alias on help
bzr revid: chm@openerp.com-20130204150058-x2erdwbt71d1lz1p
2013-02-04 16:00:58 +01:00
Quentin (OpenERP) 7ec52bb84b [FIX] crm: at lead creation, take into account the type given in vals to find the stage_id (if not provided) + refactoring of create() of tasks, project issues and leads
bzr revid: qdp-launchpad@openerp.com-20130115100353-z35mqrwij936n54s
2013-01-15 11:03:53 +01:00
Olivier Dony ad70edb40b [FIX] mail_thread subclasses: message_new must not override the explicitly provided ``custom_values``
This was the case before, but was broken involuntarily during the
big mail refactoring for v7. The default values provided by
custom message_new methods should only be used as defaults.

bzr revid: odo@openerp.com-20130110172723-ym7mcmdllcucj0j3
2013-01-10 18:27:23 +01:00
Olivier Dony 77ebf01b1a [FIX] project.issue: incorrect params in super().message_update() call
bzr revid: odo@openerp.com-20130107111701-8tjcqla0u1x4ljcc
2013-01-07 12:17:01 +01:00