Commit Graph

68609 Commits

Author SHA1 Message Date
Cedric Snauwaert 009ea40995 [FIX]res_users : add missing on_change function for res_user simplified view
bzr revid: csn@openerp.com-20130304105817-v3y9d9vupzhuiu2u
2013-03-04 11:58:17 +01:00
Cedric Snauwaert 0e20990f1e [FIX]share wizard: missing an argument in a function call
bzr revid: csn@openerp.com-20130304105344-f2nnx7udejvelfw9
2013-03-04 11:53:44 +01:00
Xavier Morel d46c61d784 [FIX] don't store user context properties into custom filter @context
This leads to any subsequent view overwriting the current user's lang
or timezone with the one active when the filter was created,
generating dismay and discontent (e.g. part of the user interface
switching from spanish to english or english to german, depending on
the respective settings of the current user and the filter creator —
at time of filter creation).

bzr revid: xmo@openerp.com-20130304101414-mm6ai1dkltd7ard5
2013-03-04 11:14:14 +01:00
Fabien Pinckaers 0e370076f7 [IMP] contracts improved email template
bzr revid: fp@tinyerp.com-20130304085754-0sfvpgh1il0y3pqc
2013-03-04 09:57:54 +01:00
Thibault Delavallée 178e33da07 [IMP] Chatter: add a small explanation text when logging a note.
bzr revid: tde@openerp.com-20130304080559-py7ghom3bt3xr4io
2013-03-04 09:05:59 +01:00
Launchpad Translations on behalf of openerp 03ad9f7290 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052257-0w9v71dump44rtov
bzr revid: launchpad_translations_on_behalf_of_openerp-20130303052333-9kn24ocknaagn33h
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055956-54bietn1iazrisga
2013-03-04 05:59:56 +00:00
Launchpad Translations on behalf of openerp 55e79b4d36 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130302052300-qobkezoqvnyoi1fl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130304055909-ixg5id5sibsci8s9
2013-03-04 05:59:09 +00:00
Olivier Dony e373ac5aeb [MERGE] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling as possible:
- in web, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301182510-1fqo9o8di0jw95b5
2013-03-01 19:25:10 +01:00
Olivier Dony a451cacb91 [MERGE] http.WebRequest: clear db/uid tracking on worker thread to avoid incorrect values during logging
Could happen when a worker thread is reused for another
database but does not go through all the dispatching levels,
e.g. for static resources served by werkzeug itself.

bzr revid: odo@openerp.com-20130301171616-joit5dvjx51ums1y
2013-03-01 18:16:16 +01:00
Olivier Dony 50d1f8675c [FIX] base_report_designer: missing registry signaling, otherwise the report was not available in other workers
bzr revid: odo@openerp.com-20130301152617-c8dem0ozgsnv8esc
2013-03-01 16:26:17 +01:00
Olivier Dony 261d1c434d [MERGE] registry: another pass of cleanup for registry signaling
Some important points to consider:
 - signaling should be done after any schema alteration (including module [un]installation),
   service registration (e.g. reports)
 - the changes need to be committed to the database *before* signaling, otherwise an
   obvious race condition occurs during reload by other workers
 - any call to restart_pool() must be considered a possible candidate for
   signaling, and the 2 above conditions must be checked

The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.

Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.

bzr revid: odo@openerp.com-20130301151325-2ygvwp1cx4zms1as
2013-03-01 16:13:25 +01:00
niv-openerp 9205c3455d [FIX] added jquery.placeholder lib to emulate placeholder attribute in IE9
lp bug: https://launchpad.net/bugs/1092846 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130301145421-78byul5vrp127v1n
2013-03-01 15:54:21 +01:00
niv-openerp b62e58d78c Removed changes in main.py
bzr revid: nicolas.vanhoren@openerp.com-20130301144928-tzaos1dblilwbizh
2013-03-01 15:49:28 +01:00
niv-openerp a52d9a3406 Modified to call the placeholder lib in view_form.js
bzr revid: nicolas.vanhoren@openerp.com-20130301144653-6a1z558tjfkvtcar
2013-03-01 15:46:53 +01:00
niv-openerp 77088d339b merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130301143341-xa55351zb166bl2w
2013-03-01 15:33:41 +01:00
Olivier Dony 9770caedf3 [FIX] registry: another pass of cleanup for registry signaling
Some important points to consider:
 - signaling should be done after any schema alteration (including module [un]installation),
   service registration (e.g. reports)
 - the changes need to be committed to the database *before* signaling, otherwise an
   obvious race condition occurs during reload by other workers
 - any call to restart_pool() must be considered a possible candidate for
   signaling, and the 2 above conditions must be checked

The number of explicit calls was reduced by forcing the signaling at the end of
Registry.new() in case `update_module` was passed as True. In that situation
we always want to signal the changes - so all the redundant signaling calls
can be centralized. We can also assume that the relevant changes have already
been committed at that point, otherwise the registry update would not
have worked in the first place.
This means that there is no need for explicit signaling anymore everytime
`restart_pool` is called with `update_module=True`.

Some missing cr.commit() and explicit signaling calls were added or
moved to the right place. As a reminder: signaling must be done
*after* committing the changes, and usually *after* reloading the
registry on the current worker.

bzr revid: odo@openerp.com-20130301143203-e2csf5pkllwhmwqs
2013-03-01 15:32:03 +01:00
niv-openerp 36d47aebc1 [FIX] small problem with <button confirm="..."/>, didn't confirmed correctly when closing the popup
lp bug: https://launchpad.net/bugs/1095366 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130301140015-67av4zwrdhbh3srh
2013-03-01 15:00:15 +01:00
Olivier Dony db81edc287 [FIX] *: fix/rationalize db logging to avoid incorrect values during logging
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.

The tracker is now set at the earliest points
of request handling where we can:
- in web client, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)


The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)

bzr revid: odo@openerp.com-20130301120744-jfitcmze2jldecod
2013-03-01 13:07:44 +01:00
Quentin (OpenERP) de33121644 [FIX] purchase: fixed the domain on analytic account in purhcase order line
bzr revid: qdp-launchpad@openerp.com-20130301114646-4n2pmvmkrplch46g
2013-03-01 12:46:46 +01:00
Quentin (OpenERP) c450d0abe7 [FIX] mail: fixed error when the reference is given as False in teh message dictionary in message_parse() of mail_thread.py
bzr revid: qdp-launchpad@openerp.com-20130301114630-y4ynidvhh9pj29s9
2013-03-01 12:46:30 +01:00
Xavier Morel 7278305f68 [FIX] O2M record reloading after workflow progress
Evict record from BufferedDataSet cache as is done with button calls,
otherwise when caller reloads record (read) after having executed the
workflow action, it'll get the old one back from the BDS's cache.

bzr revid: xmo@openerp.com-20130301103543-jra87w2wm417tgyc
2013-03-01 11:35:43 +01:00
Xavier Morel b0b1357f16 [FIX] correctly pass context to graph's fields_view_get
bzr revid: xmo@openerp.com-20130301102555-1g7p8ugyorle7i0j
2013-03-01 11:25:55 +01:00
Xavier Morel ed98418441 [FIX] docstring
bzr revid: xmo@openerp.com-20130301102223-htb9cteh5rjmex38
2013-03-01 11:22:23 +01:00
Thibault Delavallée ecd14f2181 [MERGE] Chatter and CRM: usability fixes and improvements
Chatter:
- now displays the 'To' of messages, aka notified people,
- now allows to Send a message or to Log a note, that is a message not pushed to anyone; however users that see the document still see the log message,
- fixed suggested recipient behavior: canceling the partner creation popup now correctly avoids creating a partner,
- moved 'Advanced wizard' button on top-right,
- unfollowing or removing someone from followers now displays a warning,
CRM, Recruitment, Issues:
- better management of customers/applicants: Chatter suggests to notify and add as follower the customer, or to create a partner based on the email_from,
CRM, Recruitment, Tasks, Issues:
- changing the user_id (salesman, responsible) still adds the related partner as follower; but now an unread notification is pushed, with the first email or first message if no email,
- updated and added if missing message_summary in kanban views, now displayed only when having unread messages, and the related number, to be more visible,
CRM:
- crm_partner_assign: fixed forward-to-partner wizard,
- crm_partner_assign: geo localization now also sets salesteam along with salesman,
- crm: fixed opportunity email_template,
- crm: removed 'Send mail' button, as the functionality should be covered by Chatter (but the code of the action is left untouched to avoid errors),
Mail:
- merged message_post and message_post_user_api because there was an opportunity to avoid doing similar things in two different methods,
- fixed email_from of incoming email not always stored,
- followers: authors of discussion messages are now added as followers, this is not only limited to incoming emails,
- followers: recipients of emails coming through the mail gateway are not automatically added as followers of the target documents,
- followers: slightly updated _notify, to be able to notify a partner of a specific message; the notification process is therefore accessible outside of the mail_message.create() process

bzr revid: tde@openerp.com-20130301101122-l18mr6hb0j5k4atv
2013-03-01 11:11:22 +01:00
Christophe Simonis d48f07fef1 [FIX] base: allow admin to freeze the value of "web.base.url" config parameter.
This config parameter is automatically updated when the admin log-in.
As this value is mean to be used in emails and links given to users, we sometime don't want
it to be updated inconditionnaly. In some cases, the admin may use alternative, private or
even local uri to connect to the server, which may not be suitable for users

bzr revid: chs@openerp.com-20130301095551-fzrlwblnawxqj9di
2013-03-01 10:55:51 +01:00
Thibault Delavallée eb799b5e49 [IMP] crm_partner_assign: now also assigns salesteam.
bzr revid: tde@openerp.com-20130301093449-qpko06oqg7ghv0hh
2013-03-01 10:34:49 +01:00
Thibault Delavallée fb0e18cc88 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130301092215-o2fbmlwc9e3mjc0u
2013-03-01 10:22:15 +01:00
Launchpad Translations on behalf of openerp ece4451176 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301053921-r8m4764fosovd9h6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301054021-crdgcw5mb7m77u0t
2013-03-01 05:40:21 +00:00
Olivier Dony ef10c2e3c8 [FIX] http.WebRequest: clear db/uid tracking on worker thread to avoid incorrect values during logging
Could happen when a worker thread is reused for another
database but does not go through all the dispatching levels,
e.g. for static resources served by werkzeug itself.

bzr revid: odo@openerp.com-20130228173530-bs5pun9o09iobosi
2013-02-28 18:35:30 +01:00
Thibault Delavallée f70cc7c46b [IMP] Chatter: reason of adding someone added in tooltip.
bzr revid: tde@openerp.com-20130228172320-d0m7ibobhyfvtqht
2013-02-28 18:23:20 +01:00
Thibault Delavallée 6de2650299 [IMP] Suggested recipients: check whether an email is linked to a partner.
bzr revid: tde@openerp.com-20130228170546-t04n73pvuwtp20jh
2013-02-28 18:05:46 +01:00
niv-openerp b413e00d6a [FIX] Field monetary handles "digits" like the float field.
bzr revid: nicolas.vanhoren@openerp.com-20130228165117-z9r9ua18xohn7rgm
2013-02-28 17:51:17 +01:00
Fabien Meghazi a176ef579e [FIX] auth_signup: make reset_password a jsonrequest + display correct buttons in reset mode
lp bug: https://launchpad.net/bugs/1104070 fixed

bzr revid: fme@openerp.com-20130228164516-pzwtv7z1objow6wj
2013-02-28 17:45:16 +01:00
Fabien Meghazi f3d48483f4 [IMP] init() not need anymore
bzr revid: fme@openerp.com-20130228164417-19xclqx1u9t6krg1
2013-02-28 17:44:17 +01:00
Thibault Delavallée bf567d2b47 [IMP] Chatter: Post->Send; Share a mesage -> Send a message.
bzr revid: tde@openerp.com-20130228164204-e6gtuo73c1ytoz4g
2013-02-28 17:42:04 +01:00
Thibault Delavallée 718d38f056 [FIX] Chatter: mail_post_autofollow can be completed with mail_post_autofollow_partner_ids, that filters the recipients to subscribe. Purpose: suggested partners are added as followers, not people that could have been added after in the compose wizard.
bzr revid: tde@openerp.com-20130228164054-e3y3pdrygqph0dm2
2013-02-28 17:40:54 +01:00
Fabien Meghazi 4491d763c7 [IMP] Renamed getter login-mode to login_mode. Put event in start()
bzr revid: fme@openerp.com-20130228163955-bqx2ezyw71fua862
2013-02-28 17:39:55 +01:00
Thibault Delavallée caaccea679 [IMP] Chatter: From: Admin - To: Raoul -> Admin to Raoul.
bzr revid: tde@openerp.com-20130228163703-p25pf1opvy6a67y0
2013-02-28 17:37:03 +01:00
Olivier Dony b762551211 [FIX] ir.model: properly signal registry change for multi-process mode after altering model/db schema
bzr revid: odo@openerp.com-20130228113736-8novcpf3ibw7386s
2013-02-28 12:37:36 +01:00
Thibault Delavallée 3131bcaf49 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130228091737-z87qfktspdqs1l71
2013-02-28 10:17:37 +01:00
Thibault Delavallée 081ef3d91e [REV] crm: new_send_mail code is back, because can't delete code called by views.
bzr revid: tde@openerp.com-20130228091612-dtue2pr0c3y4zqz1
2013-02-28 10:16:12 +01:00
Launchpad Translations on behalf of openerp be867174aa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130228053125-9y59zz3w45ata4c1
2013-02-28 05:31:25 +00:00
Launchpad Translations on behalf of openerp 42702e15f9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130228053030-bwaxkazmgqlucg5f
2013-02-28 05:30:30 +00:00
Antony Lesuisse c353392294 [FIX] ir_attachment filestore read on windows
lp bug: https://launchpad.net/bugs/1131272 fixed

bzr revid: al@openerp.com-20130227221943-izxnxulg0picimez
2013-02-27 23:19:43 +01:00
Antony Lesuisse 1bec18f5f8 [FIX] view_list limits more sensible values
bzr revid: al@openerp.com-20130227212507-ag6ibb9x3nz5deko
2013-02-27 22:25:07 +01:00
Fabien Meghazi 8f56c19ad4 [FIX] Kanban: Can't drag and drop in the last column position under IE9
bzr revid: fme@openerp.com-20130227210715-p2rqb0pa81078nms
2013-02-27 22:07:15 +01:00
Christophe Simonis dd6a60e2bc [FIX] web: saved_action must start at index 1
bzr revid: chs@openerp.com-20130227172829-zxksmvky3hwltt7l
2013-02-27 18:28:29 +01:00
Quentin (OpenERP) 725a60dc1b [FIX] point_of_sale, usability: added help tooltip on confusing field explaining the behavior
bzr revid: qdp-launchpad@openerp.com-20130227170143-hguda59nagni1j7q
2013-02-27 18:01:43 +01:00
Quentin (OpenERP) bd09e9930f [FIX] portal: added a menuitem to see all read messages (aka 'Archives')
bzr revid: qdp-launchpad@openerp.com-20130227164706-oglo5evqv46bxfl9
2013-02-27 17:47:06 +01:00
Cedric Snauwaert 39ac4900c8 [FIX]product: change group from sale to purchase to view price information on product's procurement suppliers
bzr revid: csn@openerp.com-20130227151737-yenwf8wmw322z5i0
2013-02-27 16:17:37 +01:00