{"push_id":1245188734,"size":433,"distinct_size":1,"ref":"refs/heads/master-website-sale-suggested-product-shp","head":"ebe503f0c8e8523a40c5577f2fbe739c8e35e618","before":"e155024a903cfec4a20833faa30ccb38c7bcf4c0","commits":[{"sha":"a3585b84b5903bfa9c668e91d741ce08297fab3b","author":{"name":"qsm-odoo","email":"a99e73845cc00a5cb1ee6b97643be9934fdddc33@odoo.com"},"message":"[FIX] website(_*): stop launching old tours on installation\n\nOn website/theme installation and other website_* module installation,\nan action was triggered to launch tours. These tours are now used only\nfor tests and should not be used as onboarding anymore.\n\nNote: in master these tours will be removed to use the new test system.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/a3585b84b5903bfa9c668e91d741ce08297fab3b"},{"sha":"290e73f22d344400994d8a9632d3dc65b9704f45","author":{"name":"Martin Trigaux","email":"c739784485baa37b6c500547d280ba9d1fc1d6e5@odoo.com"},"message":"[FIX] base_setup: warn users about enterprise module\n\ninter_company_rules is an enterprise module and can not be installed in\ncommunity version.\nDisable the installation and warn the users about it.\n\nFixes #12800","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/290e73f22d344400994d8a9632d3dc65b9704f45"},{"sha":"691949c4b831c087d2706ce279c4960ddac7f350","author":{"name":"Odoo Translation Bot","email":"37c6687308ede3fe79bb1a180e74d2248ff33c40@odoo.com"},"message":"[I18N] Update translation terms from Transifex","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/691949c4b831c087d2706ce279c4960ddac7f350"},{"sha":"fa9782d24d95a4b3d04a04a63ed220f0b60daeda","author":{"name":"Olivier Dony","email":"eec35bf09a0d88c013b6be9d67fd35a70f649681@openerp.com"},"message":"[FIX] website_sale: avoid caching browse_records\n\nThe migration of `website_sale` to the new API at revision\n788c1334e2cbe26fa26d4c6d4974dc413dbff608\nrepeated this problem initially fixed by PR #8795.\n\nA browse_record returned by a cached method will be\nbroken at the next use, because it is bound to a\nclosed cursor.\nThe symptom is weird exception in the middle of a future\nrequest:\n   ```OperationalError: Unable to use a closed cursor.```\n(which refers to an old cached cursor, not the cursor of the\ncurrent request!)\n\nSolution: workaround the problem by returning IDs in the\nmethod that needs to be cached (`_get_pl_partner_order`),\nand re-browse them as needed in caller methods.\nIn addition, remove the useless extra caching of `_get_pl`,\nas all it does is browse() the result of the former method,\nand that would trigger the very same bug again.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/fa9782d24d95a4b3d04a04a63ed220f0b60daeda"},{"sha":"9df6f6d5765c4f0e568d910cb1119fd19ba0ea2e","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX] sale: making an advance payment in percent\n\nWhen making an advance payment in percent, the function onchange_advance_payment_method\nset the Down Payment Product to False. Then each time an advanced payment in percent\nwas made, a new down payment product was created and set in sale.config.setting in the field\ndeposit_product_id_setting.\n\nNow the function onchange_advance_payment_method let the Down Payment Product\neven if the payment method is in percent.\n\nopw:683167","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/9df6f6d5765c4f0e568d910cb1119fd19ba0ea2e"},{"sha":"fbca56111be85f7c6f8b5a9cef43d143d69449fe","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX] account: sign of a fixed amount tax\n\nThe sign of a fixed amount tax must be the same as the base amount.\nInspired from the computation of a percent tax.\n\nopw:682407","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/fbca56111be85f7c6f8b5a9cef43d143d69449fe"},{"sha":"b22082ac8e64db704bc28466bc6b6bdd702ad373","author":{"name":"qsm-odoo","email":"a99e73845cc00a5cb1ee6b97643be9934fdddc33@odoo.com"},"message":"[FIX] website_sale: stop using field before its creation\n\nSince using new api for the website_sale module with commit 788c1334e2cbe26fa26d4c6d4974dc413dbff608,\nthe website_sale module cannot be installed after the sale_stock module\nis installed. The problem has not been detected on the runbot as, by\nchance, the website_sale module seems to be installed before.\n\nThe problem here is that on installation, the _default_website_sequence\nmethod is called to add a default value for the added website_sequence\nfield. In this method, a search() is done, ordered by this field values\nthen a read() is performed. The problem is that the read does not use\nthe given order value and use always the default one, which uses the\nwebsite_published field which happens to not be created at that time.\n\nHowever the creation order of a model fields is difficult to determine\nwhich is why when sale_stock is not installed, the bug does not appear,\nthe website_published being created, by chance, before calling the\n_default_website_sequence method in that case.\n\nTo fix the problem, refactore the method by using a SQL query so that\nthe website_published field is not used. This also makes the method\neasier to understand and more efficient.\n\nThanks to @rco-odoo","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/b22082ac8e64db704bc28466bc6b6bdd702ad373"},{"sha":"6cf275cc6b73a7d817a7db023ca3206c09527d62","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX] account: Computation of a fixed amount tax\n\nWhen an order with a fixed amount tax was returned the sign of the tax\nwas wrong because amount_base was negative and quantity was negative too,\nthen the tax was positive due to math.copysign(self.amount, base_amount) * abs(quantity)\n\nThe sign of the base amount already takes into account the the sign\nof the quantity.\n\nopw:682407","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/6cf275cc6b73a7d817a7db023ca3206c09527d62"},{"sha":"44ca4317a93c4cd9a80aadba4cebf3c708bd1513","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX] website_sale: the field lst_price appears twice\n\nopw:683343","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/44ca4317a93c4cd9a80aadba4cebf3c708bd1513"},{"sha":"399e2bcf6dd16955e04f57f52c292f708beaa040","author":{"name":"Olivier Dony","email":"eec35bf09a0d88c013b6be9d67fd35a70f649681@openerp.com"},"message":"[FIX] ir.attachment: simplify xhtml-like mimetypes matching\n\nSimplify/complements revision f6090e69e648d5891cb887e82fbfcbc868b574ac,\nforcing text/plain for xml-like files.\n\nIgnore forced `mimetype` when downloading attachments, if the model\nhas its own mimetype or if we can guess it.\n`default_mimetype` still available as a fallback.\n\nSee also the list of mimetypes supported by common browsers, e.g.:\n\n - Firefox: CParserContext::SetMimeType in:\n    https://hg.mozilla.org/firefox/file/default/parser/htmlparser/CParserContext.cpp\n\n - Chrome:  kSupportedNonImageTypes constant:\n    https://cs.chromium.org/chromium/src/components/mime_util/mime_util.cc?sq=package:chromium&rcl=1467904650&l=89","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/399e2bcf6dd16955e04f57f52c292f708beaa040"},{"sha":"82142475f70517045f1fbbd700e202b8dd0a522b","author":{"name":"Olivier Dony","email":"eec35bf09a0d88c013b6be9d67fd35a70f649681@openerp.com"},"message":"[FIX] mail,base: import XML attachments as text","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/82142475f70517045f1fbbd700e202b8dd0a522b"},{"sha":"36e875e79677551d1c267d1d4efd9cbfd99d74bf","author":{"name":"Olivier Dony","email":"eec35bf09a0d88c013b6be9d67fd35a70f649681@openerp.com"},"message":"[FIX] ir.http: make browsers trust our mime types\n\nWe determine the mime types of the files we server\nautomatically + manually, and browsers should not\ntry to second-guess it.\n\nBrowser mime-guessing is there for the myriads of\nbadly configured web servers out there.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/36e875e79677551d1c267d1d4efd9cbfd99d74bf"},{"sha":"05645343c326bee607af750623d1257a1c5d9ba3","author":{"name":"Wolfgang Taferner","email":"95b15144cfe7a51af82b6b11ed20a56c91dde5e9@users.noreply.github.com"},"message":"[FIX] account: fix typo introduced by forward-port\n\nBroken by forward-port 3cdcc670fc234cd81cfb9a1d0c100cd9f4e33f3d\n\nFixed by using correct model and method name.\n\nCloses #12818","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/05645343c326bee607af750623d1257a1c5d9ba3"},{"sha":"02d686f9e1da4e094cb6807748f204651fea6174","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX] account_set: ensure_one in compute_depreciation_board\n\nAn error was raised when trying to call compute_depreciation_board with\na recordset containing more than one record.\n\nopw:683341","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/02d686f9e1da4e094cb6807748f204651fea6174"},{"sha":"523209379a96b922f31a266f1bb1390b045ca5ab","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX] calendar, openerp: Remove deprecated set and get on ir.values\n\nSince version 6.1 the functions set and get on ir.values are deprecated.\n\nThe overwrite of the function get on \"ir.values\" didn't set the context\nat the right argument.\n\nopw:682883","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/523209379a96b922f31a266f1bb1390b045ca5ab"},{"sha":"7111ec0b7b18246d29c6c2f42e0814bd551faa48","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[IMP] web, openerp: Remove the function ir_set on model ir.model.data\n\nThe function ir_set is deprecated since 9.0\nRefactorisation of load_actions_from_ir_values","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/7111ec0b7b18246d29c6c2f42e0814bd551faa48"},{"sha":"22090d3648f4d8cc34104f33b23fce70812d3be6","author":{"name":"Tanguy Charlier","email":"9aa870a8fc458d0c564544fdf3c4cfe0ae813056@odoo.com"},"message":"[FIX] sale_timesheet: don't count expenses as timesheets\n\nOn sale orders, the timesheets stat button should display the number of related timesheets.\n0b55f2ee6d55365ae0f06473585d543f1cc7b259 changed the computation system to have the number of timesheets\ninstead of the total time for several reasons, but used a domain which also includes expenses.\n\nThis commit changes the domain to make sure that the stat button only displays the number of timesheets,\nand that the action leads to a list view of timesheets only.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/22090d3648f4d8cc34104f33b23fce70812d3be6"},{"sha":"25ce72d7a1778e1c6587abdfc63aed2df367c64b","author":{"name":"qsm-odoo","email":"a99e73845cc00a5cb1ee6b97643be9934fdddc33@odoo.com"},"message":"[FIX] website: remove theme-dependant tour step description\n\nA tour step mentionned the \"features\" block and selected the nth\nsnippet. The problem is that the nth snippet is not the features\nblock for every theme.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/25ce72d7a1778e1c6587abdfc63aed2df367c64b"},{"sha":"2757ec3d0cfbbe4cd951f5e4c5d369293fe87192","author":{"name":"Stefan Rijnhart","email":"6fe76ede026e27600863a1ff38da4e776dcaecdf@opener.am"},"message":"[FIX] web: prevent kwargs position confusion\n\nThe fith arguemnt of the search method in count in new API.\nPassing all arguments as positional arguments will make the context passed for\nthe value of the `count` argument.\n\nbbc67ec is a similar fix in 9.0\n\nCloses #12830","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/2757ec3d0cfbbe4cd951f5e4c5d369293fe87192"},{"sha":"946b9415cdfe562185d2f375141963c5e92090aa","author":{"name":"qsm-odoo","email":"a99e73845cc00a5cb1ee6b97643be9934fdddc33@odoo.com"},"message":"[FIX] website: correct mobile preview design\n\n* Remove double scrollbar which appeared on chrome\n* Remove strange whitespace on top of the preview due to the removal\nof the odoo navbar (the code was wrongly adapted)","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/946b9415cdfe562185d2f375141963c5e92090aa"}]}
{"actor":{"display_login":"dmo-odoo"}}