Commit Graph

68484 Commits

Author SHA1 Message Date
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
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
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
niv-openerp 5c3eebcb4d [FIX] crash in editable list o2m when a record is saved
bzr revid: nicolas.vanhoren@openerp.com-20130227141941-phigsnt3x3rj0atu
2013-02-27 15:19:41 +01:00
Xavier ALT 06cd1f368c [MERGE] OPW 585958: sale: fix usage of map_account() for advance invoice, except fposition_id param as browse_record
bzr revid: xal@openerp.com-20130227134143-hzcoen5qin2hcw0h
2013-02-27 14:41:43 +01:00
Quentin (OpenERP) b4949e3ca4 [FIX] crm: if email_from was not valid, the convert of lead to opportunity was crashing with 'list index out of range' error (trying to reach first element of []). FP-style merge to correct the inner commit message
bzr revid: qdp-launchpad@openerp.com-20130227124440-9z6c9hzsi1tb7rau
2013-02-27 13:44:40 +01:00
Quentin (OpenERP) d1219f9a97 [FIX] crm: if email_from was not valid, the merge of lead was crashing with 'list index out of range' error (trying to reach first element of [])
bzr revid: qdp-launchpad@openerp.com-20130227121506-guwlypemmyl2tvgk
2013-02-27 13:15:06 +01:00
Xavier ALT 95ac70f834 [MERGE] OPW 583541: point_of_sale: computing product taxes should only considere taxes from current order's company
In a multi-company setup, if POS session is started on the main company and product have multiple taxes
  (from current and child companies), tax computation should only consider current order's company taxes

bzr revid: xal@openerp.com-20130227115645-2oqyzd8blj9s5qap
2013-02-27 12:56:45 +01:00
niv-openerp 5a9bf08f46 [FIX] lot of potential bugs, mainly due to quickly clicking on menu items
bzr revid: nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz
2013-02-27 12:31:32 +01:00
Xavier ALT e141ed8546 [MERGE] OPW 583829: procurement: do not duplicate procurement related to stock.move on stock.picking duplication
forward-port of v6.0 addons revid: xal@openerp.com-20130227112039-ftdb0kbx1midtuvu

bzr revid: xal@openerp.com-20130227112652-nq88898nlk431u15
2013-02-27 12:26:52 +01:00
niv-openerp 1b4337f8e6 [IMP] Added utility method to better handle asynchronous calls and destruction of objects.
Critical to help solve many bugs.

bzr revid: nicolas.vanhoren@openerp.com-20130227111619-dwhjt84tz8wpd6vp
2013-02-27 12:16:19 +01:00
Xavier ALT 41ea6e7ccd [TEST] add unit test to ensure POS only considere product taxes from current session's company
bzr revid: xal@openerp.com-20130227104505-9ndnub6zs8sjfhzj
2013-02-27 11:45:05 +01:00
niv-openerp 650ff2dd5e [FIX] remove useless debug messages
bzr revid: nicolas.vanhoren@openerp.com-20130227104226-d75fgyg4iu4igftr
2013-02-27 11:42:26 +01:00
Xavier ALT cf49af54a0 [FIX] account: add missing import preventing warning exception from r8731 to display correctly
fixup missing import from qdp-launchpad@openerp.com-20130220092832-cvge2q1xxw2aya4c

bzr revid: xal@openerp.com-20130227083820-8v0dw1toxesanyvu
2013-02-27 09:38:20 +01:00