{"push_id":3091484656,"size":20,"distinct_size":8,"ref":"refs/heads/12.0-configurator-seb","head":"275cc9b46f836a5c6a6f59b7e816984ed3089642","before":"a216877c8d87587dd9b68c2f644803e023e93cc1","commits":[{"sha":"136fee6fcf976cc7b23a699732b832d643473fdd","author":{"name":"XavierDo","email":"a1a56fd5af677733fcc9fce69c49c5e66d550efa@odoo.com"},"message":"[FIX] mail_bot: only display odoobot once in mention suggestions\n\nBefore this commit odoobot was appearing twice in mention\nsuggestions when talking to odoobot.\n\nThe initial need to be able to ping odoobot from everywhere led to the\noverride of channel_fetch_listeners. This is not usefull anymore.\n\nThis fix simply removes this override to avoid this problem since we\ndon't have a real use case where we need to ping odoobot in another\nchannel.\n\nTask 1907142\n\ncloses odoo/odoo#28791","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/136fee6fcf976cc7b23a699732b832d643473fdd"},{"sha":"e942c3520bb67c1d9c0756be1c35a1d022a92025","author":{"name":"Nicolas Lempereur","email":"2907e499a003d1c3ab7944c0a40c6df46e3e3c2f@odoo.com"},"message":"[FIX] hr_org_chart: 3 level num subordinate right\n\nOn the third level of a organization chart, the number of subordinates\non the right but over the container boundary.\n\nFor the second level there was already a special case:\n\n  padding-left: $tmp-gap-base;\n\nSo for the third a fix could have been:\n\n  padding-left: $tmp-gap-base*2;\n\nBut this changeset replaces margin by padding so invisible content does\nnot create a horizontal scrollbar (since we had 100% width with\nmargin-left that busted it out of its container).\n\nopw-1912437\ncloses #29043","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/e942c3520bb67c1d9c0756be1c35a1d022a92025"},{"sha":"3b0a6a6c352684c76f0628c3a2fcfb26cf0b3ced","author":{"name":"Pierre Paridans","email":"7d1043473d55bfa90e8530d35801d4e381bc69f0@odoo.com"},"message":"[FIX] crm: form field alignment\n\nIn the Lead form view, properly align \"Planned Revenue\" and \"Probability\" fields\nside-by-side and adjust their styling in mobile.\n\nRelated to task 1891955\n\ncloses odoo/odoo#28763","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/3b0a6a6c352684c76f0628c3a2fcfb26cf0b3ced"},{"sha":"dbe0337555a496d3fa925498b5a8b78d6c3d292e","author":{"name":"Nicolas Lempereur","email":"2907e499a003d1c3ab7944c0a40c6df46e3e3c2f@odoo.com"},"message":"[FIX] mail: mention escape let original intact\n\nWhen selecting a mention we will add a mention in a list of selection\nfrom the list of mention.\n\nIn 10f0766b3 that mention in list of selection was escaped so this would\nmatch the text that would be escaped when the mention was searched in\nit.\n\nBut the object are the same so the change modified the original list.\n\nModified test failed with:\n\n```\n  10. first partner mention should still display the correct partner\n      name (Expected: \"ЅpëciãlUser<&>\\\"`' ツ\" Result:\n      \"ЅpëciãlUser<&>\\\"`' &lt;&amp;&gt;&quot;&#x60;&#x27; ツ\")\n```\n\nopw-1909300\ncloses #29098","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/dbe0337555a496d3fa925498b5a8b78d6c3d292e"},{"sha":"ba75ffde805c77cc6dd3ec812924f4d12441af66","author":{"name":"Yenthe V.G","email":"0415e5ee47019c8f53123acbd7566dc70e1754fb@gmail.com"},"message":"[FIX] website_forum: show correct title on hover over accept answer","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/ba75ffde805c77cc6dd3ec812924f4d12441af66"},{"sha":"135d3d61e0652d45950ce101f10d0ac92a4936f0","author":{"name":"Yenthe V.G","email":"0415e5ee47019c8f53123acbd7566dc70e1754fb@gmail.com"},"message":"[FIX] website_forum: update .pot file with correct translation","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/135d3d61e0652d45950ce101f10d0ac92a4936f0"},{"sha":"0fb85032a781216b4f5ae2536fc7b8b782e1cf77","author":{"name":"Robot Odoo","email":"e5b8af77144c7ab3b64f7d349223922596815c76@odoo.com"},"message":"[FIX] website_forum: show correct title on hover over accept answer\n\nDescription of the issue/feature this PR addresses: Fix wrong title on hover\n\nCurrent behavior before PR: When hovering over the icon to accept an answer on the forum it will show the text \"Send answer\":\n![image](https://user-images.githubusercontent.com/6352350/49157862-1a914b00-f321-11e8-8cd0-d98175ab9741.png)\n\nDesired behavior after PR is merged:\nThe text says \"Accept answer\" as you're accepting an answer, not sending one.\n![image](https://user-images.githubusercontent.com/6352350/49157238-97bbc080-f31f-11e8-81f7-c36950f7138e.png)\n\n--\nI confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr\n\ncloses odoo/odoo#29101","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/0fb85032a781216b4f5ae2536fc7b8b782e1cf77"},{"sha":"a3210dc31409e72d44aaeaa85f7a8aa189cd9324","author":{"name":"Romain Derie","email":"6f930d3bd0de990ac0bcf874ce1aea4937bfd0d7@odoo.com"},"message":"[FIX] base: fix asset generation when there is .less files\n\nSince commit f7130556bbcb the compiled assets would be returned in a loop\nbefore executing the rest of the `preprocess_css` method.\nBut every loop would override the previous one as it is `=` and not `+=`.\n\nFixes #27922\n\ncloses odoo/odoo#29109","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/a3210dc31409e72d44aaeaa85f7a8aa189cd9324"},{"sha":"7a3c05cea77db4c797be48bc4df2ae3496da404b","author":{"name":"Yenthe V.G","email":"0415e5ee47019c8f53123acbd7566dc70e1754fb@gmail.com"},"message":"[FIX] im_livechat: show correct path for configuration and improve sentence","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/7a3c05cea77db4c797be48bc4df2ae3496da404b"},{"sha":"548268c82c55268616b954b8f08eb2920ba54c32","author":{"name":"Yenthe V.G","email":"0415e5ee47019c8f53123acbd7566dc70e1754fb@gmail.com"},"message":"[FIX] im_livechat: update translation term for improved sentence","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/548268c82c55268616b954b8f08eb2920ba54c32"},{"sha":"00e7de8079cb56fa91ba8b2fe47c73920442f15b","author":{"name":"Robot Odoo","email":"e5b8af77144c7ab3b64f7d349223922596815c76@odoo.com"},"message":"[MERGE][FIX] im_livechat: correct configuration path and improved sentence\n\nIn the form view of a livechat, the instructions to configure with Odoo\nwebsite CMS was still referring to \"Website Admin\", instead of\n\"Website\".\n\nIn addition to fixing this error, the sentence has been slightly improved,\nas we have to regenerate the term anyway.\n\ncloses odoo/odoo#29115","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/00e7de8079cb56fa91ba8b2fe47c73920442f15b"},{"sha":"fb460f8800f4999c8b526f2b1931deb05416f455","author":{"name":"Nimesh Jethva","email":"b6bfafe73e53241a70573145410e740049e49a2a@odoo.com"},"message":"[IMP] stock: hide PO/SO on lot view during create&edit\n\nIt's not needed to see the many2many of PO and SO during the create and\nedit since the lot could not be already sell or buy during its creation.\n\nTask 1909002\n\ncloses odoo/odoo#28817","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/fb460f8800f4999c8b526f2b1931deb05416f455"},{"sha":"c5788e267a9387ded26004137ecdeb92897bc6d9","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[FIX] base: fix print pdf with --test-file command","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/c5788e267a9387ded26004137ecdeb92897bc6d9"},{"sha":"afd6a2c34767766720114d53e6e3d36a5e9a2d17","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[FIX] sale_quotation_builder: remove warning when installed\n\nWe don't need to clutter the interface with this warning once the module is installed.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/afd6a2c34767766720114d53e6e3d36a5e9a2d17"},{"sha":"0c5a38752bd6455710c0c2b826d9945446d9c215","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[IMP] product: improve variant demo data\n\nActivate variant by default with demo data: since we have demo data creating\nvariants, the database will be more consistent if the option is also activated\nby default. It also allows to gain time when making a demo or testing feature\nusing them on a new database.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/0c5a38752bd6455710c0c2b826d9945446d9c215"},{"sha":"ae2e60d456e0ba7bc048c9dad6f9e866beb392ec","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[IMP] web_tour: allow simulating click without leave\n\nThis is important if the mouse must stay on the element after it has been\nclicked. This is the case for the product image zoom, which will be tested in\nthe following commit.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/ae2e60d456e0ba7bc048c9dad6f9e866beb392ec"},{"sha":"701ead49e85cc6f723ff6fe763cd67787613ba4e","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[FIX] website_sale: fix product variant image zoom\n\nThe product image zoom was computed in the start method, and an \"on load\" event\nwas set in some but not all cases.\n\nThis commit makes sure the load event is always set, to correctly recompute the\nzoom feature when the image is later changed (for example, changing variant).","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/701ead49e85cc6f723ff6fe763cd67787613ba4e"},{"sha":"bd1f8c75829a7a54e4ae8d1ec6a90910d60e6091","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[FIX] sale,website: fix variant alert style\n\nIt should be warning instead of danger, and use appropriate BS4 classes.\n\nWithout this commit, the resulting style might be wrong with some themes.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/bd1f8c75829a7a54e4ae8d1ec6a90910d60e6091"},{"sha":"4b61e5e202ebcf1c0dd80a8b8f8fe0834cd62bbb","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[FIX] sale: fix indent of product configurator templates\n\nThis will make the diff of the following commit easier to read.","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/4b61e5e202ebcf1c0dd80a8b8f8fe0834cd62bbb"},{"sha":"275cc9b46f836a5c6a6f59b7e816984ed3089642","author":{"name":"Sébastien Theys","email":"62d754cc350e84d3b1c32ae79f976f5348e74a40@odoo.com"},"message":"[FIX] product,(website_)sale(*): fix product configurator\n\nThis commit has several parts:\n\n- fix ordering of attributes and values\n- fix/create python logic (notably for checking the possibility of a combination\n\tand for price computing)\n- fix currency\n- display correct info on the views without the need of JS (prevent flickering)\n- fix various issues with website and SO\n- add a lot of tests (both unit and tour)\n\n================================================================================\n\n*** Make consistent the filtering and ordering of product variants ***\n\nFilter & Check possibility\n==========================\n\nThe first variant shown on the website should always be possible.\n\nWhen activating the customize \"list view of variants\", we don't want to show\nimpossible combination on the list.\n\nWe also don't want the user to be able to add to cart an impossible variant.\n\nShow appropriate messages when no combination is possible.\n\nOrder\n=====\n\nWe want the variant order to be consistent with what the user selected with the\nsequence fields. The display order on the website should be the same than the\ndisplay on the various backend views.\n\nThis implies also fixing the order of:\n- product.attribute\n- product.attribute.value\n- product.template.attribute.line\n- product.template.attribute.value\n\nThe general order is now: parent, sequence, name, id.\n\nBefore, it was already a mix of those, but not always in the same order, and not\nevery key for every model.\n\nOn the website, the first combination shown by the python should be the same as\nthe one that will be computed by the JS to prevent flickering.\n\nIdeally there should be no RPC at page loading if the python has computed\neverything correctly, but it is currently not possible to achieve because the\nview logic for website_sale_stock is only in JS.\n\n================================================================================\n\n*** Fix product template and variant price computation ***\n\nMove and improve the get_combination_info method:\n\n- take into account tax included/excluded settings (B2B/B2C)\n- take into account pricelist discount policy (striked price)\n- fix inconsistencies when price after pricelist would be 0\n- use proper rounding and discount compute with the currency helper methods\n- fix an issue where context \"partner\" would have a mix of id and recordset\n\n================================================================================\n\n*** Fix currency conversions ***\n\nThe list_price and lst_price of a product are always encoded using the currency\nof the product.\n\nThe results of \"combination info\" are always returned using the currency of the\npricelist if given, or the currency of the product.\n\nThe prices on an order (line) are encoded with the currency of its pricelist.\n\n================================================================================\n\n*** Fix dynamic variants access rights ***\n\nPublic users on the e-commerce should be able to create product variants if the\nconfiguration of the attributes of the product template is set as \"dynamic\".\n\nThis uses \"sudo\" to bypass create security rules for public users.\nMultiple checks are done to ensure that it creates a valid product variant.\n\n================================================================================\n\n*** Miscellaneous bugs, tracebacks and necessary improvements ***\n\nIn general:\n - correctly show warning when no variant is possible\n - don't let user add to cart an impossible variant (from optional product\n \tmodal or from any RPC), both in interface and controller logic\n - fix as much flickering as possible by correctly pre-computing in python/views\n - move business logic from controllers to models\n\nSale order:\n - fix traceback when emptying the product_id field from configurator\n\nwebsite_sale:\n - correctly compute first image / carousel, and correctly swap images when\n \tchanging variants, without duplicate image or zoom problems\n - don't use list view of variants when it doesn't make sense\n - added missing product info when adding a no_variant attribute to cart\n - fix cart accessory product computation\n\nwebsite_sale_wishlist:\n - fix it with dynamic variants, no_variant and is_custom\n\nwebsite_sale_comparison:\n - fix it with dynamic variants (comparison and alternative products)\n\nwebsite_sale_stock:\n - fix it in general (some flickering still present)\n\n================================================================================\n\nAuthored by @seb-odoo with contribution from @awa-odoo\n\ntask-1910821","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/275cc9b46f836a5c6a6f59b7e816984ed3089642"}]}
{"actor":{"display_login":"seb-odoo"}}