Commit Graph
70704 Commits
Author SHA1 Message Date
Olivier Dony 5a3095673f [FIX] subscription: prevent lockup during cron job execution
Due to the way cron jobs are executed in multi-process
environments, the cron arbiter holds an exclusive lock
on the cron task row in the database.
During the course of the subscription cron jobs execution
they attempt to alter a record that has a FK towards
the cron task row, effectively deadlocking the whole
cron processing thread.
The fix is rather hackish: remove the explicit FK
constraint from the subscription model towards
ir.cron - this prevent PostgreSQL from requesting
an exclusive lock and triggering a deadlock.
This is only a temporary solution, the subscription
module should be rewritten for the next stable release.

bzr revid: odo@openerp.com-20130320153430-bho6ou8b7ziohcb0
2013-03-20 16:34:30 +01:00
Thibault Delavallée 1b2579f777 [MERGE] mail: fixes and improved tests
[FIX] mail_followers: notification emails did not have 'references' correctly filled with their parent message message_id,
[FIX] mail_mail: emails sent to partners now use the 'Name <email>' format for email_to, instead of just 'email'
[FIX] mail_compose_message: fixed mass_mail subscribing the author to all documents,
[FIX] mail_compose_message: fixed access rule on mail_compose_message not taking into account the wizard creation in mass_mail_mode (model but no res_id -> could lead to crash),
[TEST] mail: cleaned a bit the tests; mail gateways related tests are now in a dedicated file; tests were added that helped triggering the previous errors

bzr revid: tde@openerp.com-20130320145225-1hhp383wt507p3q3
2013-03-20 15:52:25 +01:00
Josse Colpaert 6287c5c262 [MERGE] Merg efrom 7.0
bzr revid: jco@openerp.com-20130320144706-ylpji506pzhtj3do
2013-03-20 15:47:06 +01:00
Josse Colpaert 773a1fc51f [FIX] Remove last | in source document when grouping
bzr revid: jco@openerp.com-20130320144336-tmtw1qje4eusqghr
2013-03-20 15:43:36 +01:00
Christophe Matthieu 770b0cb380 [fix] mail: double clicking on post on the chatter
bzr revid: chm@openerp.com-20130320144101-5mz9mbar9j5vhppl
2013-03-20 15:41:01 +01:00
Christophe Simonis 8fd08f900f [FIX] web: Fix old versions of Webkit (such as ones used on iOS < 6 or PhantomJS <= 1.7)
which does not have Function.prototype.bind function

bzr revid: chs@openerp.com-20130320143652-xqglvte5kwvtwl5i
2013-03-20 15:36:52 +01:00
Christophe Matthieu dfa5e391e1 [IMP] mail: dynamic_help fix
bzr revid: chm@openerp.com-20130320143417-fgkjh03xp2ekpkgg
2013-03-20 15:34:17 +01:00
Thibault Delavallée db5f32bb46 [CLEAN] mail: cleaned code of last fixes
bzr revid: tde@openerp.com-20130320141907-rxnstq7k8hrkcnl1
2013-03-20 15:19:07 +01:00
Christophe Matthieu 8ccf57fe9d [IMP] mail: dynamic_help fix
bzr revid: chm@openerp.com-20130320140528-5nambcm6ftpamove
2013-03-20 15:05:28 +01:00
Josse Colpaert 9913357fa2 [FIX] Should have browse record of sale order instead of id
bzr revid: jco@openerp.com-20130320135321-ckejagpme57sq51z
2013-03-20 14:53:21 +01:00
Thibault Delavallée 23efb82b6d [TEST] mail: updated tests (those that helped raising the previous errors).
bzr revid: tde@openerp.com-20130320135152-qiz3moczldjbmyt7
2013-03-20 14:51:52 +01:00
Quentin (OpenERP) 87b899445d [FIX] account: improved tooltips and labels for manual reconciliation of accounting entries to be more explicit
bzr revid: qdp-launchpad@openerp.com-20130320135052-uqyuteitr68qiofn
2013-03-20 14:50:52 +01:00
Christophe Matthieu 36028e22b2 [IMP] mail: dynamic_help fix false message
bzr revid: chm@openerp.com-20130320135051-bit13xz2lv18x5m9
2013-03-20 14:50:51 +01:00
Thibault Delavallée 5d25e9d780 [FIX] mail_compose_message: fixed mass_mail subscribing the author to all documents, not the case anymore; fixed access rule on mail_compose_message not taking into account the wizard creation in mass_mail_mode (model but no res_id -> could lead to crash).
bzr revid: tde@openerp.com-20130320135013-mryxzwssd346t78y
2013-03-20 14:50:13 +01:00
Christophe Matthieu 98876cc0e9 [IMP] crm: help message
bzr revid: chm@openerp.com-20130320134324-hj6ugln8ks1h79pq
2013-03-20 14:43:24 +01:00
Christophe Matthieu 6bfb7801ae [IMP] mail: dynamic_help
bzr revid: chm@openerp.com-20130320134116-6drwq1wd0u11x77m
2013-03-20 14:41:16 +01:00
Christophe Matthieu 45cc77dbcb [MERGE] from trunk
bzr revid: chm@openerp.com-20130320133155-qn27q8aek7zp1ls4
2013-03-20 14:31:55 +01:00
Frédéric van der Essen a799c9e067 [MERGE] point_of_sale: fix for a context=None related bug in the pos box wizard
bzr revid: fva@openerp.com-20130320132808-jg19uiktwdigyp07
2013-03-20 14:28:08 +01:00
Vo Minh Thu a51b6912bd [FIX] safe_eval: better exception handling:
- the re-raising of exceptions ignored the "legal" exceptions
(the one used to early abort RPC calls and generate pop-ups)
- re-raising the exception was attempting to re-use the original
exception type but it does not always take only one argument
so it was breaking.

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

bzr revid: vmt@openerp.com-20130320132238-qzo3jptww59ndlch
2013-03-20 14:22:38 +01:00
Christophe Matthieu 5ad1ecb48f [MERGE] from trunk
bzr revid: chm@openerp.com-20130320130931-0mk35kjf5e3g8fnd
2013-03-20 14:09:31 +01:00
Christophe Matthieu ae30f8fff3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130320125517-jv2ot85iypncoesj
2013-03-20 13:55:17 +01:00
Christophe Matthieu a5ee9e5819 [FIX] chrome.js: error without message
bzr revid: chm@openerp.com-20130320122210-0p31k511eg8fplap
2013-03-20 13:22:10 +01:00
Thibault Delavallée 0c79cbd146 [FIX] mail: emails sent to partners now use the 'Name <email>' format, instead of just 'email'.
bzr revid: tde@openerp.com-20130320121706-csue8xkqrc7adbqi
2013-03-20 13:17:06 +01:00
Thibault Delavallée bbc98169c3 [FIX] mail: notification emails were lacking references to their parent message.
bzr revid: tde@openerp.com-20130320121633-plhgm5374w2koem1
2013-03-20 13:16:33 +01:00
Thibault Delavallée 6039b80e3f [IMP] [CLEAN] mail: cleaned and improved message_post tests, about email_to, reply_to and attachments.
bzr revid: tde@openerp.com-20130320121614-a862m35peexhw64q
2013-03-20 13:16:14 +01:00
Quentin (OpenERP) e69fc7129d [FIX] base_action_rule: no domain on user_id=False on filters because it pollutes the filters of everyone
bzr revid: qdp-launchpad@openerp.com-20130320121549-98fptm04c44mrvy4
2013-03-20 13:15:49 +01:00
Quentin (OpenERP) d256ba7d06 [FIX] account_analytic_analysis: don't set the group 'Mandatory use of templates in contracts' as part of the 'Sales' application, as it has the side effect of exploding the drop-down menu to manage access rights into booleans. This group belong to the base.module_category_hidden category
bzr revid: qdp-launchpad@openerp.com-20130320115932-wr6sk7yk0qvntpt5
2013-03-20 12:59:32 +01:00
Quentin (OpenERP) 7502967a47 [FIX] sale, sales analysis: fixed traceback when a line without product was present in the database.
bzr revid: qdp-launchpad@openerp.com-20130320115521-3h5gh66gul54zqxn
2013-03-20 12:55:21 +01:00
Thibault Delavallée 5df59a9a4b [REF] mail: refactored tests. mailgateway tests are put into a separate file; message_post tests have been a bit cleaned and improved. Also removed an unnecessary mockup.
bzr revid: tde@openerp.com-20130320114111-m1unow90005vwxee
2013-03-20 12:41:11 +01:00
Cedric Snauwaert 3945c449eb [FIX]sale_report: change querry so that existing lines with no associated product are still in sales analysis
bzr revid: csn@openerp.com-20130320113422-16e4l93cnzest71r
2013-03-20 12:34:22 +01:00
Quentin (OpenERP) d90170fae5 [FIX] sale: another way to fix the batch invoicing of sale.order that currently create invoices in double
bzr revid: qdp-launchpad@openerp.com-20130320104853-odqz2m966igg5ept
2013-03-20 11:48:53 +01:00
Cedric Snauwaert bf84b78fed [FIX]sale_report: fix problem when viewing reporting/sale_analysis and no order_lines where defined in a SO
lp bug: https://launchpad.net/bugs/938866 fixed

bzr revid: csn@openerp.com-20130320101316-vvv1mwkdio2pi6oi
2013-03-20 11:13:16 +01:00
Thibault Delavallée 2c497fab50 [FIX] mail: mass mailing now does not push to followers; only to specific recipients. Improved tests for this update.
bzr revid: tde@openerp.com-20130320084040-pcgzy068z0oph298
2013-03-20 09:40:40 +01:00
Thibault Delavallée 82b3e9b5fd [FIX] mail: mail_create_nosubscribe context key also supported in message_post: allows to avoid subscribing the author to the document.
bzr revid: tde@openerp.com-20130320084011-coyf9p1il2ue04bb
2013-03-20 09:40:11 +01:00
Launchpad Translations on behalf of openerp 31efad4ecd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130320050321-buobk0r6e2t7y1ch
2013-03-20 05:03:21 +00:00
Olivier Dony e6cca53967 [FIX] portal_anonymous: revert incorrect fix for login flickering, try another one that works in monodb mode
The previous fix at revision 8887 was not correct because start() did not call
 _super() in anonymous mode, while still depending on the value of 
`self.selected_db`, that _super() is responsible for setting in monodb mode.
Multi-db mode was working fine.

bzr revid: odo@openerp.com-20130319181137-9quokmivgb3flyct
2013-03-19 19:11:37 +01:00
Xavier Morel 9476f07954 [IMP] only concatenate logging configuration subsequences once
bzr revid: xmo@openerp.com-20130319163708-s4mxsdg3f9xksr07
2013-03-19 17:37:08 +01:00
Xavier Morel 7c2b70eb46 [IMP] declaratively map openerp logging levels to logging, move default logging conf to 'constant'
bzr revid: xmo@openerp.com-20130319163606-un9ogalwfk3eykc8
2013-03-19 17:36:06 +01:00
Xavier Morel db6b6480f7 [IMP] switch workflows to standard logging (silenced by default), remove wkf_logs
bzr revid: xmo@openerp.com-20130319163133-3n1k1hgooddzxntz
2013-03-19 17:31:33 +01:00
Xavier Morel 5f956523d4 [IMP] flow of workflow.workitem.process
bzr revid: xmo@openerp.com-20130319154857-q7l99vyqtksegiy0
2013-03-19 16:48:57 +01:00
Christophe Simonis 43f2dff179 [FIX] web: correct the concatenation of css files: @charset and @import rules must be before any other rules
bzr revid: chs@openerp.com-20130319154433-zizwv4irfvh93swe
2013-03-19 16:44:33 +01:00
Fabien Meghazi d2076aece3 [FIX] webclient returns to database manager after 1st database creation
lp bug: https://launchpad.net/bugs/1151767 fixed

bzr revid: fme@openerp.com-20130319154345-9xal244vuehl9vbw
2013-03-19 16:43:45 +01:00
dle@openerp.com a4f6533f3a [FIX]auth_signup: string concatenation now allowing action_id(integer) + able to redict to menu_id if no action given
bzr revid: dle@openerp.com-20130319154139-283864fcfixvmw0g
2013-03-19 16:41:39 +01:00
Xavier Morel 2d251ea987 [REM] unused openerp.workflow.common
bzr revid: xmo@openerp.com-20130319153422-0s7sly0cjg491s0b
2013-03-19 16:34:22 +01:00
Fabien Meghazi 4ab080bc03 [MERGE] Fix anonymous login flickering
bzr revid: fme@openerp.com-20130319152344-fng1mcsvri5mjga1
2013-03-19 16:23:44 +01:00
Thibault Delavallée d827bbd8b7 [MERGE] [FIX] mail: notification: do not send a notification email to partners having the same email address than the author, because of loops it may cause.
bzr revid: tde@openerp.com-20130319151403-5tliy336q3hiswlh
2013-03-19 16:14:03 +01:00
Vo Minh Thu 83786b4178 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319150057-fq6nkp4qhgy9x9mq
2013-03-19 16:00:57 +01:00
Fabien Meghazi e1c5625be2 [FIX] Avoid login flicker during anonymous login
bzr revid: fme@openerp.com-20130319144008-zw0n5o0mob99xbo6
2013-03-19 15:40:08 +01:00
Vo Minh Thu fa3a3414f2 [FIX] ir.actions.action: fix the execute wich install/uninstall modules and thus invalidate its own pool.
bzr revid: vmt@openerp.com-20130319142701-1cvo6dh2yvg4z81f
2013-03-19 15:27:01 +01:00
Quentin (OpenERP) 314fb5de44 [REF] stock: code refactoring to follow PEP8 standards
bzr revid: qdp-launchpad@openerp.com-20130319125244-4n08ywb61cu6mg32
2013-03-19 13:52:44 +01:00