{"push_id":888727115,"size":9,"distinct_size":2,"ref":"refs/heads/9.0-binary_content-url-chm","head":"f62952763259760b368022925eacb7226e756863","before":"ba4ae2b8c7a5101cae62dbe57070915796c57041","commits":[{"sha":"f07e0c1af2091cc8f1d1c035a962c974e561e852","author":{"email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com","name":"Denis Ledoux"},"message":"[FIX] account: force `amount_residual` recomputation on post\n\nThe `amount_residual` computation depends on the fact\nthe `acccount_id` of the move line does allow reconciliation\nor not. If it doesn't, the amount residual will always be 0.0.\n\nSo, if you check the \"allow reconciliation\" on the account\nafter creating the journal items or after changing the\ndebit/credit amount, the amount residual is not recomputed.\n\nWe do not set the `depends` directly on `account_id.reconcile`,\nas, if we do, and a user checks/unchecks this box on an account\nhaving a lot of records, this will recompute this residual\namount on all lines, and this is something we do not want\nto happen.\n\nThe work-around when this case happens,\nthat the amount residual is not correct due to the fact\nthe `allow reconciliation` on the account\nwas checked after having posted the entry,\nis to cancel the entry and repost it. This\nwill recompute the residual amount.\n\nopw-656972","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/f07e0c1af2091cc8f1d1c035a962c974e561e852"},{"sha":"6e96da625560d0a074ca61d57ec4db59a2443e47","author":{"email":"771435c469f83f6aa9c405ac5e1ed06314a94f2d@odoo.com","name":"Nicolas Martinelli"},"message":"[FIX] mrp_operations: product serial numbers\n\nWhen raw materials of finished products are tracking with lot or serial\nnumber, using the \"Play\" button on the work orders will never trigger\nthe pop-up asking for the numbers.\n\nThis fix prevents the MO to be set on \"Done\" if any product with\ntracking activated is found. This will force the user to click on\n\"Produce\" to finish the process, and therefore enter the serial numbers.\n\nopw-657586","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/6e96da625560d0a074ca61d57ec4db59a2443e47"},{"sha":"33ac65c805c30fafac4e2cf5490c57c7eaf74b4a","author":{"email":"40b904fd8852297daeaeb426b1bca46fd2454aa3@odoo.com","name":"Aaron Bohy"},"message":"[FIX] mail: redirection handling in chat windows\n\n- clicking on a channel mention (or a user) from a chat window opens a new chat\n  window for that channel\n- clicking on any other link in a chat window correctly opens the corresponding\n  document\n\n2 minor changes were required:\n- use do_show() instead of on_reverse_breadcrumb() to update control panel and\n  url in client action, as other actions can be stacked over the client action,\n  e.g. by clicking on a document link in a chat window. In that case, the\n  on_reverse_breadcrumb callback wouldn't be set, and thus the control panel and\n  url wouldn't be updated by coming back to client action using the breadcrumbs.\n- channel_join() now checks whether or not the channel has already been joined\n  (i.e. if it is in the JS cache) before performing the RPC. This check was\n  performed by each caller, so this simplifies the code.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/33ac65c805c30fafac4e2cf5490c57c7eaf74b4a"},{"sha":"e7cb3dcaa8a26b254a78d07cb0eb95946440edaa","author":{"email":"40b904fd8852297daeaeb426b1bca46fd2454aa3@odoo.com","name":"Aaron Bohy"},"message":"[FIX] mail: don't redirect to user's own partner form view\n\nClicking on the author of a message opens a DM with the corresponding user if\nthere is one, and opens the corresponding partner's form view otherwise.\n\nWhen the author is the current user, obviously we don't want to open a DM with\nourself, but we probably don't want to open our partner form view either, which\nwas exactly the behavior before this rev.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/e7cb3dcaa8a26b254a78d07cb0eb95946440edaa"},{"sha":"7bea8412c5a7ac89d1b89ff2ba685d3d99434a5a","author":{"email":"40b904fd8852297daeaeb426b1bca46fd2454aa3@odoo.com","name":"Aaron Bohy"},"message":"[FIX] mail: href of mention links in sent messages\n\nThose messages can be read from the client action interface, where the onclick\nredirection is properly handled, but they are also sent by email. The\ngenerated links should thus have a correct href.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/7bea8412c5a7ac89d1b89ff2ba685d3d99434a5a"},{"sha":"8017a9569cbd648b3ff205c198efb8c5a9530d7d","author":{"email":"40b904fd8852297daeaeb426b1bca46fd2454aa3@odoo.com","name":"Aaron Bohy"},"message":"[FIX] mail: ondelete cascade on mail_channel_partner relation\n\nThe problem occurred when the im_livechat cron 'cron_remove_empty_session'\nremoved empty livechat channels (a public user clicked on the livechat button,\ncreating a new channel, but never sent any message in it). The empty channel\nwas deleted by the cron, but the two records in the mail_channel_partner\nrelation table (linking the channel with the public user and the livechat\noperator) wasn't removed, and the value of their field 'channel_id' was None.\n\nWhen this happenned, it broke the SQL query of 'channel_search_to_join()', the\nRPC call performed when clicking on '+' new to public channels in the client\naction, resulting in no result displayed in the dropdown.\n\nWith this fix, records in the relation table are automatically deleted when\ntheir corresponding channel or partner is deleted.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/8017a9569cbd648b3ff205c198efb8c5a9530d7d"},{"sha":"5fdfd38b7e72549c65acd56cd91f388b358f8f4d","author":{"email":"40b904fd8852297daeaeb426b1bca46fd2454aa3@odoo.com","name":"Aaron Bohy"},"message":"[FIX] im_livechat: don't remove empty sessions created recently\n\nThe 'cron_remove_empty_session' is performed every day and removes livechat\nchannels that contain no message.\n\nThe problem was that the cron might have been executed between the moment a\npublic user clicked on the livechat button, creating a new empty channel, and\nthe moment this user sent the first message through that channel. If that\nhappenned, the message was sent in an unexisting channel, and obviously never\nreceived by the operator.\n\nThis fix makes sure that removed empty channels haven't been created or\nmodified within the last hour.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/5fdfd38b7e72549c65acd56cd91f388b358f8f4d"},{"sha":"c5844f69c20e880db471c4514b74d51f8dbdb9f4","author":{"email":"5eb57d5681a94807b8a6b9df065489a56e118269@odoo.com","name":"Christophe Matthieu"},"message":"[FIX] web_editor: img classname is removed when change the url","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/c5844f69c20e880db471c4514b74d51f8dbdb9f4"},{"sha":"f62952763259760b368022925eacb7226e756863","author":{"email":"75b324bb495ac8d4f83496f7c52eda774af7ed7a@odoo.com","name":"qsm-odoo"},"message":"[IMP] web: return file content for url attachments\n\nURL attachments are now returned as data and not redirection.\nIf the url does not match with a module file, the 301 status\n(redirection) is still returned.\n\nThis allows to use the /web/image/<xmlid>/<dimension> route\nand get an image attachment with correct dimensions.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/f62952763259760b368022925eacb7226e756863"}]}