Commit Graph

69701 Commits

Author SHA1 Message Date
Vo Minh Thu 78526694af [FIX] setup.py: pyparsing >= 2.0.0 works only with Python 3.
bzr revid: vmt@openerp.com-20130323222407-aeix7m2uzwudsa9h
2013-03-23 23:24:07 +01:00
Launchpad Translations on behalf of openerp 75d8c79d5f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130323051022-macd2ux7syw6cdav
2013-03-23 05:10:22 +00:00
Thibault Delavallée 36e53ce8d2 [MERGE] [FORWARD] Forward port of addons 7.0 until revision 8906 (revid tde@openerp.com-20130321120451-qk524qayq28sw3th).
bzr revid: tde@openerp.com-20130321140935-8exurars7rznrnjk
2013-03-21 15:09:35 +01:00
Vo Minh Thu ff8a2935a6 [FIX] hr_timesheet: in hr.analytic.timesheet.unlink(), unlink the parent first (to ensure uninstall works correctly).
bzr revid: vmt@openerp.com-20130321134837-10skwf3nymzdbgsv
2013-03-21 14:48:37 +01:00
Raphael Collet 19f7083698 [MERGE] cleanup of Yaml files: do not translate assert messages
bzr revid: rco@openerp.com-20130321133805-e3rxb3laqjfy4mlp
2013-03-21 14:38:05 +01:00
Vo Minh Thu 067cd7d15a [FIX] ir_model_data: create the _inherits parent external ID prior to the child.
This is needed so the uninstall process can simply go through
the installed data by using the ir_model_data entries in reverse
order (when ordered by IDs), so that parents are deleted before
children.

bzr revid: vmt@openerp.com-20130321133202-igea1vxlszfpk6pe
2013-03-21 14:32:02 +01:00
Raphael Collet 9584109b86 [IMP] cleanup of Yaml files: do not translate assert messages
bzr revid: rco@openerp.com-20130321131824-422cc4mk2bm9yrw8
2013-03-21 14:18:24 +01:00
Thibault Delavallée 3106310824 [MERGE] Sync with 7.0 until 8906
bzr revid: tde@openerp.com-20130321120618-0vaokwa3bmvlpe01
2013-03-21 13:06:18 +01:00
Thibault Delavallée 88b39119b8 [MERGE] [FIX] mail_gateway: better algorithm to find the partner of an incoming email when having multiple matching partners for a given email address.
The mailgateway tries to find a partner that is also an user with the email_from.
If none is found, it takes the first partner with matching email.
In message_post, it tries to find the author based on the document's followers.
Indeed it is very likely that an answer comes from a follower of a document.

The whole process is not done inside the mailgateway because document
and followers related stuff belong to message_post, not to the mail gateway.

Tests have been added in mail.

bzr revid: tde@openerp.com-20130321120451-qk524qayq28sw3th
2013-03-21 13:04:51 +01:00
Fabien Meghazi f4a98e143b [MERGE] Date Picker is not translated into local language
lp bug: https://launchpad.net/bugs/1101072 fixed

bzr revid: fme@openerp.com-20130321115330-cz7gk7il6hkvntw9
2013-03-21 12:53:30 +01:00
dle@openerp.com 8239875fba [FIX]l10n_be_coda: add statement id in bank statement line view to allow group by statement
bzr revid: dle@openerp.com-20130321113911-ho4j30tyuqkn9hnn
2013-03-21 12:39:11 +01:00
Thibault Delavallée f02e8bfd61 [FIX] Broltch
bzr revid: tde@openerp.com-20130321112823-nmqzcjzigiwt09q7
2013-03-21 12:28:23 +01:00
Olivier Dony 57ca8fb11a [FIX] base.xml: improve backwards compatibility of SearchView.filters template to resolve JS errors on OpenERP Apps where 2 different versions of the web client frameworm can be mixed
The incompatible change was introduced at revision
 rev. 3803 revid:xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1.

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

bzr revid: odo@openerp.com-20130321112020-l9fwle08s37z4oqi
2013-03-21 12:20:20 +01:00
Thibault Delavallée 817727ce1c [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130321105157-xhj04tgt0in0x9o3
2013-03-21 11:51:57 +01:00
Thibault Delavallée b6013df881 [MERGE] [FIX] mail: reply_to of sent notification emails is sanitized.
bzr revid: tde@openerp.com-20130321105004-zcu1kagz06kxgimi
2013-03-21 11:50:04 +01:00
Fabien Meghazi c20977eed8 [FIX] Form binary fields 'Select' and 'Save as' buttons does not work under IE9
lp bug: https://launchpad.net/bugs/1092869 fixed

bzr revid: fme@openerp.com-20130321103407-nh0ncw0vrqba7zfm
2013-03-21 11:34:07 +01:00
Thibault Delavallée f6b713f1ee [FIX] mail: fixed errors trigerred by improved mail tests and last trunk modifications.
bzr revid: tde@openerp.com-20130321102151-qk1vf3iwhzd23k3s
2013-03-21 11:21:51 +01:00
Thibault Delavallée 40a5dda617 [MERGE] Forward port of addons until 8903
bzr revid: tde@openerp.com-20130321093716-3nt7h2xunl8lusqh
2013-03-21 10:37:16 +01:00
Thibault Delavallée e5aeefadce [FIX] mail: rpely_to of sent emails is sanitized.
bzr revid: tde@openerp.com-20130321092332-8cp59mu3idrpbnke
2013-03-21 10:23:32 +01:00
Thibault Delavallée 96b7fc9561 [MERGE] [FIX] portal with project_long_term access right and rules
A new module is added that make a bridge between Portal and Project Long Term.
It adds access rights and security rules allowing use project long term
along with portal.

bzr revid: tde@openerp.com-20130321090626-zw4kpuszit4q5q9s
2013-03-21 10:06:26 +01:00
Thibault Delavallée 6a696ba673 [MERGE] [FIX] Web: errors are displayed again
bzr revid: tde@openerp.com-20130321090102-jzj80cfo6ko5x1dj
2013-03-21 10:01:02 +01:00
Thibault Delavallée 31a6842d80 [MERGE] [FIX] Chatter: fixed multiple click on 'send' creating multiple messages; fixed 'show more message' listing all new messages in flat mode.
lp bug: https://launchpad.net/bugs/1155054 fixed

bzr revid: tde@openerp.com-20130321084928-wc4j4mwxqcqu21tb
2013-03-21 09:49:28 +01:00
Christophe Matthieu 6acf3838e6 [IMP] mail: remove reverse list inside on_expandable
bzr revid: chm@openerp.com-20130321084419-vx6owkvch4i8ekil
2013-03-21 09:44:19 +01:00
Launchpad Translations on behalf of openerp 4083df915f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050259-e16287z7tx5x2hr1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050350-7j423tm3q7n124on
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321050354-6gc2gobnj24c9gso
2013-03-21 05:03:54 +00:00
Launchpad Translations on behalf of openerp c0c2bcd62e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130320044259-agfpyq2tw87ycy2x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130321043810-nymrr02latjmd75n
2013-03-21 04:38:10 +00:00
Antony Lesuisse 2a096910e8 [FIX] debian logfile rotation and init cleanup, courtesy of Hiren
bzr revid: al@openerp.com-20130320231828-hhw7o17ahvl0cv7b
2013-03-21 00:18:28 +01:00
Thibault Delavallée 62fc6f7cd7 [CLEAN] Cleaned code of fix.
bzr revid: tde@openerp.com-20130320164202-yy13qg8pdx09ie9z
2013-03-20 17:42:02 +01:00
Thibault Delavallée 0eac6bbad6 [FIX] Forgotten to uncomment commented tests.
bzr revid: tde@openerp.com-20130320161830-0nyfuzyq4s4xa8hk
2013-03-20 17:18:30 +01:00
Thibault Delavallée 30a1d99d07 [MERGE] Sync with trunk + fixed the fix and tests.
bzr revid: tde@openerp.com-20130320161045-41bpe36b09tgcxpo
2013-03-20 17:10:45 +01:00
Olivier Dony 232840179c [FIX] mail.alias: default alias generation now properly handles dots and emails; added tests
lp bug: https://launchpad.net/bugs/1117810 fixed

bzr revid: odo@openerp.com-20130320161023-yalb9ud12k7kuy3o
2013-03-20 17:10:23 +01:00
Christophe Matthieu 64046e182e [fix] mail: show more message always on flat mode
bzr revid: chm@openerp.com-20130320154643-nizd22s9ojzd363j
2013-03-20 16:46:43 +01:00
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
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
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
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
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
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 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