Commit Graph
70686 Commits
Author SHA1 Message Date
Christophe Matthieu 6e56422483 [IMP] view_form: radio button
bzr revid: chm@openerp.com-20130302213849-wk5snztonvy8v0vr
2013-03-02 22:38:49 +01: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
Fabien Pinckaers a9d6cf634f [IMP] typo
bzr revid: fp@tinyerp.com-20130301162806-ylfu9v0jxgfpjs7w
2013-03-01 17:28:06 +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
Christophe Matthieu d2a53be608 [IMP] cr: sales teams, display alias in one line
bzr revid: chm@openerp.com-20130301145922-5pxvjhm0kz0tq9p0
2013-03-01 15:59:22 +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
Thibault Delavallée 46a5b63cad [IMP] email_template: better management of attachments. In mass mail, we want attachments to be duplicated due to the ownership concept of attachments in OpenERP.
bzr revid: tde@openerp.com-20130301144827-762362bgng5m4nye
2013-03-01 15:48:27 +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
Christophe Matthieu 4274f4778d [IMP] crm: sales teams: kanban view, auto select alias on click
bzr revid: chm@openerp.com-20130301144333-fzyml0e6hforfwuh
2013-03-01 15:43:33 +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
Christophe Matthieu 4493f81e7e [FIX] mail alias: remove space for alias in mail group view
bzr revid: chm@openerp.com-20130301141302-2nw49e0mitwhc1ma
2013-03-01 15:13:02 +01:00
Vo Minh Thu d276f15825 [FIX] MANIFEST.in: replaced gunicorn.conf.py with openerp-wsgi.py.
bzr revid: vmt@openerp.com-20130301141212-x3my38zeht0m09qr
2013-03-01 15:12:12 +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
Christophe Matthieu 272ac97b46 [MERGE] view_form: refactoring of many2many_binary widget
bzr revid: chm@openerp.com-20130301131340-6ii88x11sudu1n31
2013-03-01 14:13:40 +01:00
Anand Patel (OpenERP) ffc1d6bc8b [IMP]Improved code for the project_mrp as Suggested
bzr revid: pan@tinyerp.com-20130301131242-87a0yo4n1k6qno9j
2013-03-01 18:42:42 +05:30
Christophe Matthieu 403233bccc [MERGE] mail: change list of attachement_ids into a list of ids
bzr revid: chm@openerp.com-20130301130959-mwvmzp02yojcqc37
2013-03-01 14:09:59 +01:00
Christophe Matthieu 1b85aafd8d [IMP] crm, hr, lunch, product, project: only one group for default_groups_ref context for quick create
bzr revid: chm@openerp.com-20130301125820-0v2zi2f6h3tn439a
2013-03-01 13:58:20 +01:00
Christophe Matthieu ac1684c59f [IMP] res_user: simplified view for quick create
bzr revid: chm@openerp.com-20130301125339-m2gdndch9tc2cv3k
2013-03-01 13:53:39 +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
Thibault Delavallée df6a3997c2 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130301111146-1s5ckk09wdt88vb4
2013-03-01 12:11:46 +01:00
Vo Minh Thu c0d302ae0e [FIX] ir.model: uninstall should not drop LOG_ACCESS_COLUMNS columns.
bzr revid: vmt@openerp.com-20130301110730-8mlnj9emjo3ifdq1
2013-03-01 12:07: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
Vo Minh Thu b4994795f1 [FIX] document_ftp: import openerp.addons.document instead of only document.
bzr revid: vmt@openerp.com-20130301103503-mnhtrxa1kyj6qsn0
2013-03-01 11:35:03 +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
Fabien Pinckaers ce2f169c31 [IMP] more pro photos for employees
bzr revid: fp@tinyerp.com-20130301084720-maiofpj07982iwff
2013-03-01 09:47:20 +01:00
DBR (OpenERP) e68263ee27 [IMP]account_analytic_analysis:
added:
  account_analytic_analysis/test/
  account_analytic_analysis/test/account_analytic_analysis.yml
Improve csv and code

bzr revid: dbr@tinyerp.com-20130301083610-09r8yorjilsjl0p8
2013-03-01 14:06:10 +05:30
Fabien Pinckaers a510050ba6 [IMP] default terms and conditions for quotations on companies
bzr revid: fp@tinyerp.com-20130301082928-bdxfr57pjdj33kyp
2013-03-01 09:29:28 +01:00
Anand Patel (OpenERP) 731a022ee0 [MERGE]Trunk
bzr revid: pan@tinyerp.com-20130301070743-aejayq1g3mif79uv
2013-03-01 12:37:43 +05:30
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
Launchpad Translations on behalf of openerp 8882eca92e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130301044347-0g40ffxeii67yxtr
2013-03-01 04:43:47 +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
Fabien Meghazi 02d4ab6597 [FIX] Make credential autocomplete per database
bzr revid: fme@openerp.com-20130228173444-th4grlsz70lewf9h
2013-02-28 18:34:44 +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