{"push_id":2960279299,"size":10,"distinct_size":5,"ref":"refs/heads/12.0-fixes-dam","head":"b74a2776b31d2dc7cb2de5d42215c996b613d3bb","before":"6f5b5e2d8db493bfd6be4b48044427d28c9cefde","commits":[{"sha":"4691c6be182dbf274b37f74d5ee4581e5cf50e2b","author":{"name":"qsm-odoo","email":"75b324bb495ac8d4f83496f7c52eda774af7ed7a@odoo.com"},"message":"[FIX] website_blog: missing padding on s_latest_posts descriptions\n\ncloses odoo/odoo#27693","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/4691c6be182dbf274b37f74d5ee4581e5cf50e2b"},{"sha":"dcb56412d667231c5427b0cd76cfc1c6c4b1dd3c","author":{"name":"Denis Ledoux","email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com"},"message":"[IMP] server.py: implements limits (real) for multi-threading\n\nThe multi-threaded server graceful stop policy is now as follows:\n - shutdown the server so it does not accept new requests (the socket remains open),\n - wait for remaining requests to finish up to a certain time (e.g. 1 second)\n\nPreviously, the multi-threaded server waited indefinitely for requests to finish.\n\nThe reload policy when a thread reaches a limit is as following:\n - wait there is no other running requests, up to 1 minute\n - then stop the server (with the above graceful stop policy applied),\n - then reload the server, therefore accepting new requests again.\n- The socket is not closed during this operation.\n  This allows the inverse proxy to queue the requests arriving during\n  the time the server is shutted down and therefore not accepting new requests.\n  This allows a transparent restart for the users, as their\n  requests done during the shutting down of the server are not rejected but queued.\n- When a thread reaches a limit, we reload the whole threaded server instead of\n  just killing this thread. Killing a thread is not a good practice as it could\n  lead to dead locks in case these threads acquire locks.\n  Killing a thread that acquired a lock would lead for this lock to never be\n  released.\n\nRegarding the override of `_handle_request_noblock`:\n  In `socketserver`,\n  when `shutdown` is called\n  `__shutdown_request` is set to True,\n  https://github.com/python/cpython/blob/6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d/Lib/socketserver.py#L241-L249\n  This tells the server to no longer accept requests. Callstack below:\n  - https://github.com/python/cpython/blob/6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d/Lib/socketserver.py#L231-L234\n  - https://github.com/python/cpython/blob/6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d/Lib/socketserver.py#L308\n  - https://github.com/python/cpython/blob/6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d/Lib/socketserver.py#L487\n\n  Unfortunately, this is very possible the HTTP server is already polling for a request when this flag is set\n  to `True` by the main thread:\n  - https://github.com/python/cpython/blob/6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d/Lib/socketserver.py#L232\n  As the poll_interval is set to 0.5s:\n  - https://github.com/python/cpython/blob/6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d/Lib/socketserver.py#L215\n  if a request arrives within 500ms after the server is shut down,\n  the request is accepted, while the server is shutdown.\n\n  We want to prevent this: Once the server is marked as shut down, we want it to no longer accept requests:\n  so the inverse proxy knows it has to queue the request.\n\ncloses odoo/odoo#24982","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/dcb56412d667231c5427b0cd76cfc1c6c4b1dd3c"},{"sha":"2018d0be35b53065accbee80388e8835c2c697f3","author":{"name":"Romain Derie","email":"6f930d3bd0de990ac0bcf874ce1aea4937bfd0d7@odoo.com"},"message":"[FIX] website_sale: wrong form selector on shipping change\n\nClass `.hide` was replaced by `.d-none` with BS4 7f10b55a503\nBut the JS selector was still trying to retrieve the `.hide` form which lead to\nan unexisting element, thus sending empty form.\n\nFixes #27714, closes #27774","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/2018d0be35b53065accbee80388e8835c2c697f3"},{"sha":"38f6983df7b9ed8a0600918a34d1655dd0cc734e","author":{"name":"Nicolas Seinlet","email":"ab382f291bd3e88e67361105a0ebfb3eced16f6c@openerp.com"},"message":"[FIX] mass_mailing: don't forward context\n\nDon't forward context from mass mailing to partners view.\nWhen grouping mass mailing by state, passing context makes\nOdoo trying to group partners by state, and then get a traceback.\n\ncloses odoo/odoo#27775","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/38f6983df7b9ed8a0600918a34d1655dd0cc734e"},{"sha":"42c6db5e0161d0e5788af2dafa73f30776f6cdae","author":{"name":"Nicolas Martinelli","email":"771435c469f83f6aa9c405ac5e1ed06314a94f2d@odoo.com"},"message":"[FIX] pos_sale, sale: wrong currency stored\n\n- Set the compay currency in USD\n- Set the rate of USD to 1.0, the rate of EUR to 2.0\n- Create a SO for a product costing 100, validate\n- Go to Sales > Reporting > Sales\n\nThe product is evaluated at 400.\n\nThis is because the currency rate sotred is incorrect. The rate stored\nis 0.5 instead of 2.0.\n\nopw-1890778\n\ncloses odoo/odoo#27769","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/42c6db5e0161d0e5788af2dafa73f30776f6cdae"},{"sha":"f2ff47403fc061aec7d6f77898962859b05e75de","author":{"name":"Lucas Perais (lpe)","email":"42d29efea96f3992aa24782120ec2948e42548fa@odoo.com"},"message":"[FIX] website: multiwebsite supports optional 'subviews'\n\non the webiste sale, have a category with a subcategory\nThen in the customize menu, enable \"ecommerce categories\"\n\nBefore this commit, the option to have collapsible categories wasn't there\nThis was because, due to multi_website, the children views of the \"categories\"\nthat were inactive weren't written upon when copying their parent\n\nAfter this commit, the functionality is back\n\nOPW 1893169\n\ncloses odoo/odoo#27796","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/f2ff47403fc061aec7d6f77898962859b05e75de"},{"sha":"cc2a35a904a1cc57c25d2c3946bd781c945f8939","author":{"name":"Mathieu Duckerts-Antoine","email":"296ef2014ffd08ea17aef007044f4f7851daa33d@odoo.com"},"message":"[REF] doc: update search view documentation","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/cc2a35a904a1cc57c25d2c3946bd781c945f8939"},{"sha":"7bcab7e36113e7943b2a198b9ebc51b8d33097f6","author":{"name":"Mathieu Duckerts-Antoine","email":"296ef2014ffd08ea17aef007044f4f7851daa33d@odoo.com"},"message":"[FIX] web: avoid empty graph line when not necessary\n\nIn line charts, it has been decided to not\ndisplay datapoints with a label 'undefined'\nfor the first groupby. However this turns out\nto be misleading when all datapoints are\ndiscarded for the above mentionned reason.\nIndeed in that case nvd3 display \"no data\navailable\".\n\nThere is also a true bug occuring in the case\nof several groupbys selected since in that case\nthis.state.data is not empty but graphData\nfiltered version) is empty. This causes a\ntypical error \"cannot read 'key' of undefined\".\n\nThis commit fixes that situation.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/7bcab7e36113e7943b2a198b9ebc51b8d33097f6"},{"sha":"29607379f7e1f889123127b8b93d7c032763bea7","author":{"name":"Mathieu Duckerts-Antoine","email":"296ef2014ffd08ea17aef007044f4f7851daa33d@odoo.com"},"message":"[FIX] web: JournalDashboardGraph widgets appear at kanban views updates","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/29607379f7e1f889123127b8b93d7c032763bea7"},{"sha":"b74a2776b31d2dc7cb2de5d42215c996b613d3bb","author":{"name":"Mathieu Duckerts-Antoine","email":"296ef2014ffd08ea17aef007044f4f7851daa33d@odoo.com"},"message":"[IMP] web: remove space between currency symbol and value (in that order)","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/b74a2776b31d2dc7cb2de5d42215c996b613d3bb"}]}
{"actor":{"display_login":"Polymorphe57"}}