Commit Graph

68837 Commits

Author SHA1 Message Date
Antony Lesuisse 2df511c1e3 [FIX] crm stage display on lead, default stages, rename test files
bzr revid: al@openerp.com-20130321112647-5f3maiqmp6ficpwr
2013-03-21 12:26:47 +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
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 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
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
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
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
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
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
Quentin (OpenERP) 31d83649d2 [FIX] stock: if scrapping from a done stock move, use the destination location as the source for the scrapping move + [FIX] stock, mrp: restrict scrapping from virtual locations
bzr revid: qdp-launchpad@openerp.com-20130319125216-pdfo2i9jx5mcea2l
2013-03-19 13:52:16 +01:00
Quentin (OpenERP) 748ebf0ab0 [MERGE] analytic_contract_hr_expense: functional field computation fixed + added some helping info in hr_timesheet_invoice in the reinvoicing wizard
bzr revid: qdp-launchpad@openerp.com-20130319125028-59jnnfc7tiixag4b
2013-03-19 13:50:28 +01:00
Chris Biersbach 3b54759913 [MERGE] project_issue/mail_thread: Opening and closing date on project issues are now correctly set. Also improves the handling of the thread_model context value in mail_thread message_post
bzr revid: cbi@openerp.com-20130319114541-racddure6uy3e2rp
2013-03-19 12:45:41 +01:00
Chris Biersbach 9e6d14a289 [IMP] Removed unnecessary code in project_issue.py, fixed a small error in mail_thread
bzr revid: cbi@openerp.com-20130319103822-ss4y3na3i4hip4e0
2013-03-19 11:38:22 +01:00
niv-openerp c55de6996f [FIX] small problem with m2o, does not uses context when opening them in read-only mode
bzr revid: nicolas.vanhoren@openerp.com-20130319102719-0gdwvmix4d3x8th5
2013-03-19 11:27:19 +01:00
Launchpad Translations on behalf of openerp 19daf7569d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130319061937-ipohtns00c8dz96s
2013-03-19 06:19:37 +00:00
niv-openerp a6a8d71a0e [FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130318174503-7xp04ccghdbqfvrl
2013-03-18 18:45:03 +01:00
Olivier Dony 662f4066f8 [FIX] db creation: change master password field back to type=password
This is not only dangerous but also
completely inconsistent with the other
db management screens. It also represents
little improvement in terms of usability
for first-time users, since the password
is now mentioned on the comment just above
the field.

bzr revid: odo@openerp.com-20130318155618-z9s2izahnv1j2no6
2013-03-18 16:56:18 +01:00
Josse Colpaert fffc371f96 [FIX] Fix wrong amounts in contract form and add grey text message in Create Invoice wizard
bzr revid: jco@openerp.com-20130318153049-myvqzvv1c2zqgna8
2013-03-18 16:30:49 +01:00
Quentin (OpenERP) 2bfbe50079 [FIX] account: fixed the filter used in manual reconciliation process
bzr revid: qdp-launchpad@openerp.com-20130318144342-16w1dreej7yzr51n
2013-03-18 15:43:42 +01:00
Olivier Dony ffd258e3f0 [FIX] web_services: incorrect error message in logfile after failed DB dump, courtesy of Brendan Clune (Logic Supply)
lp bug: https://launchpad.net/bugs/1124440 fixed

bzr revid: odo@openerp.com-20130318144156-q7yw9qy83tngdg6x
2013-03-18 15:41:56 +01:00
Olivier Dony 8d6e91219f [FIX] web_services: set PGPASSWORD in environment only when db_password is set in the config
This prevents an error when trying to set an
environment variable to `False`, and is the
second part of the regression introduced in
revision 4424. See previous partial fix
at revision 4893

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

bzr revid: odo@openerp.com-20130318141532-m2xsahh5u5pi5bth
2013-03-18 15:15:32 +01:00
Quentin (OpenERP) 5cdc6aa4a1 [MERGE] removal of editable=top on stock.move tree view
bzr revid: qdp-launchpad@openerp.com-20130318135828-y5v17c731059ab7u
2013-03-18 14:58:28 +01:00
Quentin (OpenERP) 0134905e3f [MERGE] sale: when printing the sale order report, do not print the discount column if user doesn't belong to the group that enables to see it
bzr revid: qdp-launchpad@openerp.com-20130318135654-bi22fjscerrmzgru
2013-03-18 14:56:54 +01:00
Cedric Snauwaert 25a6c8f9c4 [FIX]stock: list view for stock move shouldn't be editable
bzr revid: csn@openerp.com-20130318134343-1z5epusa17enpclt
2013-03-18 14:43:43 +01:00
Josse Colpaert 26e769eb88 [FIX] Change SQL query for manual reconciliation partners such that partners appear when needed
bzr revid: jco@openerp.com-20130318113043-fm2gc0yrln630vjf
2013-03-18 12:30:43 +01:00
Quentin (OpenERP) efbfb6514c [MERGE] crash when duplicating a pos_config
bzr revid: qdp-launchpad@openerp.com-20130318112603-3ursnpro19qhb5yh
2013-03-18 12:26:03 +01:00
Cedric Snauwaert 87908c8b58 [FIX]pos: fix error when trying to duplicate point of sale
bzr revid: csn@openerp.com-20130318105304-3g7qlb8lrjr0e5rw
2013-03-18 11:53:04 +01:00
Xavier Morel ac5008abc9 [FIX] pyeval: argspec of relativedelta
bzr revid: xmo@openerp.com-20130318105244-qkgvi69do0219lkk
2013-03-18 11:52:44 +01:00