{"push_id":1417152225,"size":20,"distinct_size":17,"ref":"refs/heads/9.0","head":"c7b17125924ad4339eb653353600317d7648d6bf","before":"95abb2224d3541bf37f77717f81eee290d9fcd4f","commits":[{"sha":"6b55032e1ac86030fbdf2e057c71bbec0aea504a","author":{"name":"Odoo Translation Bot","email":"37c6687308ede3fe79bb1a180e74d2248ff33c40@odoo.com"},"message":"[I18N] Update translation terms from Transifex","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/6b55032e1ac86030fbdf2e057c71bbec0aea504a"},{"sha":"f9f562339fa2e47ad54e3350a54671e68ddc6d4f","author":{"name":"Odoo Translation Bot","email":"37c6687308ede3fe79bb1a180e74d2248ff33c40@odoo.com"},"message":"[I18N] Update translation terms from Transifex","distinct":false,"url":"https://api.github.com/repos/wtaferner/odoo/commits/f9f562339fa2e47ad54e3350a54671e68ddc6d4f"},{"sha":"bcf1e38af8cdd800e5ef516895a83e3d64af83e8","author":{"name":"Nicolas Martinelli","email":"76fd54f3784bbe4be7fb6e989b36e7f74a3407b8@odoo.com"},"message":"[FIX] stock_account: refund supplier invoice\n\nWhen Anglo-Saxon accounting is activated:\n- Use two different accounts for Input/Output for Stock Valuation\n- Create a vendor bill ==> by default, the Input Account for Stock\n  Valuation is used\n- Validate the vendor bill\n- Refund the vendor bill\n\nWhen the refund is created, the Output Account for Stock Valuation is\nused. There is actually no obvious reason to use this account instead of\nthe account originally used.\n\nopw-691571","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/bcf1e38af8cdd800e5ef516895a83e3d64af83e8"},{"sha":"a572b8115cdaa3a28f5c977a6006ddfa95647987","author":{"name":"Nicolas Martinelli","email":"76fd54f3784bbe4be7fb6e989b36e7f74a3407b8@odoo.com"},"message":"[FIX] purchase: do not reset expected date\n\nA misleading behavior occurs with the recomputation of scheduled date.\nHere is the use case:\n- Create a PO with 2 products\n- For the product 1, set the scheduled date to today + 7 days\n- For the product 2, set the scheduled date to today + 14 days\n\nWhen saving, the scheduled date of product 2 is reset to today + 7 days.\n\nThis is of course unexpected, but moreover, a different behavior can\nhappen depending on how the scheduled dates are modified. In the\nprevious case (both products have now the same scheduled date), one can\nobserve 2 situations.\n\nCase 1.\nFor the product 2, set the scheduled date to today + 14 days and save.\nIn this case, the scheduled date of product 2 is not reset.\n\nCase 2.\n- For the product 1, set the scheduled date to today + 8 days\n- For the product 2, set the scheduled date to today + 14 days\n\nIn this case, the scheduled date of product 2 is reset to today + 8 days\nwhen saving\n\nThe reason of a different behavior in the 2 situations is that the\nscheduled date of the PO is changed in case 2 and not in case 1. Since\nthe scheduled date of the PO is changed, it triggers the inverse\nfunction `_inverse_date_planned`.\n\nWhen saving, it is not possible to know whether the scheduled date of\nthe PO was changed on purpose by the user or recomputed. There are 2\nsolutions to get a consistent behavior:\n\n- Force the scheduled date of each line to be the same than the\n  scheduled date of the PO. However, this makes the scheduled date of\n  the line useless.\n- Do not change the scheduled date of the lines when the schedued date\n  of the PO is changed. However, this removes the ability to reset\n  automatically the scheduled date of the all lines at once.\n\nThis is the second solution which is chosen with this commit.\n\nopw-682934\nopw-684063\n\nCloses #12904\n\nBackport of rev: https://github.com/odoo/odoo/commit/4326d864d83125abc8f82dfb0089021abf22f9ca\n\nopw-692873","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/a572b8115cdaa3a28f5c977a6006ddfa95647987"},{"sha":"401a3cfaf6fd09f594e45c181e908900acba3777","author":{"name":"Nicolas Martinelli","email":"76fd54f3784bbe4be7fb6e989b36e7f74a3407b8@odoo.com"},"message":"[IMP] purchase: set scheduled date of lines\n\nCommit a572b8115cdaa3a28f5c977a6006ddfa95647987 removes the inverse function of the `date_planned`. This\nis necessary to avoid unexpected changes of the scheduled dates.\nHowever, this removes the ability to set the scheduled dates of all\nlines at once.\n\nThis commit introduces back the functionality thanks to a new button.\nThis way, the functionality remains without unexpected behavior.\n\nBackport of rev: https://github.com/odoo/odoo/commit/2cf80e00752c68e443b0cd442ee50f7d6daaa455\n\nopw-692873","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/401a3cfaf6fd09f594e45c181e908900acba3777"},{"sha":"a6e3ae6b8c08b3e2abfda248b5f77a1781244683","author":{"name":"Nicolas Lempereur","email":"20b6a29c46d1a38278b1511d2765b429bce35dfb@odoo.com"},"message":"Revert \"[IMP] web_editor: don't lose modified code view content\"\n\nThis reverts commit 897290dd3ff218ddc12dcdc6c936a8725813cefe.\n\nIt seems it breaks other use case, since this was fixing more a\nusability thing (need to click back on code view to save code view\nchanges) it is better to revert than to add drawback.\n\nA better fix should be introduced, or the solution would be to not fix\nit and have a warning indicating what needs to be done.\n\nopw-693052","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/a6e3ae6b8c08b3e2abfda248b5f77a1781244683"},{"sha":"849911154f1ab0b5a2567a6b8587f11494e8778d","author":{"name":"Pierre Masereel","email":"33e027554dcc45ee7cf3a13539b861cbf8bf6bff@odoo.com"},"message":"[FIX] stock: recheck quants availbility when partially available\n\nWhen a picking is partially available, and the company works in 'just in\ntime', they often need to re-check the availability of some products\njust before sending them.\n\nIn 8.0, it was totally possible, to recheck the availabilty of products.\n\nTo fix this, we just add a button when the picking state is 'partially\navailbale', which does exactly the same as 'Reserve', but is secondary\nand contains the label 'Recheck availability'.","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/849911154f1ab0b5a2567a6b8587f11494e8778d"},{"sha":"954fb6da3c1ccc7453e434eaa652785df1988cd7","author":{"name":"Jairo Llopis","email":"59e2a9fdeb13a1b0400edb47ba678395b6f9e3fa@gmail.com"},"message":"[FIX] website_event_sale: Preserve context when updating cart\n\nWithout this patch, when a product was added to cart, if this addon\nwas installed, it always landed in English in the SO.\n\nThis happened because the context, containing the current language,\nwas being aborted here (`context=None` instead of `context=context`).\n\nThis commit closes #14340","distinct":false,"url":"https://api.github.com/repos/wtaferner/odoo/commits/954fb6da3c1ccc7453e434eaa652785df1988cd7"},{"sha":"37c1070495448e872e2e008489636a305bac456c","author":{"name":"Goffin Simon","email":"27fb2926b4ed71baf246c49114acdb9ea83f3eb6@odoo.com"},"message":"[FIX]account: customer invoices with analytic account\n\n-amount_currency in model account.analytic.line is a related field to move_id.amount_currency\nwhere move_id is an account.move.line\n\n-amount_currency is computed in function create on model account.move.line by considering that\namount = debit - credit (since 8.0)\n\n-amount in model account.analytic.line is computed by considering that\namount = credit - debit (since 8.0) in the function _prepare_analytic_line.\n\nSo when creating a customer invoice with an analytic account in another currency, the created\nanalytic line has an amount which is the opposite of its currency_amount.\n\nThis commit also reverts the commit 7fca8ad89eeb53844724c429e983085f8ddc6c4a to keep the same\nbehavior as in 8.0 for the creation of an analytic line from:\n\n- an expense\n- an invoice\n- a task\n\nThe computed not stored field analytic_amount_currency displays the currency amount with the right sign.\n\nopw:694085","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/37c1070495448e872e2e008489636a305bac456c"},{"sha":"67c9e4f64367e9c19a631fb9126222be620cfb20","author":{"name":"Christophe Simonis","email":"84bba2d08f6fd6acde0684f0160e633f516e3b61@odoo.com"},"message":"[MERGE] forward port branch 8.0 up to 954fb6d","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/67c9e4f64367e9c19a631fb9126222be620cfb20"},{"sha":"00bdac72802daa1471bc041db87d23ec52883173","author":{"name":"Christophe Simonis","email":"84bba2d08f6fd6acde0684f0160e633f516e3b61@odoo.com"},"message":"[MERGE] forward port branch saas-6 up to 67c9e4f","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/00bdac72802daa1471bc041db87d23ec52883173"},{"sha":"c3756b7d9aa71fd929be3b6ed71d492de37e272e","author":{"name":"Martin Trigaux","email":"c739784485baa37b6c500547d280ba9d1fc1d6e5@odoo.com"},"message":"[FIX] base: avoid duplicated translations after update\n\nThis commits fixes the following scenario:\n\n1. load the translations for any language\n2. modify the source of a translated record (e.g. email template body)\n3. click on 'load translations' button (flag)\n4. execute the translation wizard for the same language (to refresh)\nThe translation of the modified record was duplicated.\n\nThis was due to the field src in the database being different than the msgid in\nthe po file. The src value is updated on the insert_missing call.\n\nThe matching on src for type='model' translations is only needed due to the\ntranslations that are split (e.g. xml views or html content). For the other\ntranslations, matching on the rec_id is enough.\n\nDetects the xml_translate and html_translate fields to avoid matching on src for\nthese translations.\n\nopw-691752\nCloses #14310","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/c3756b7d9aa71fd929be3b6ed71d492de37e272e"},{"sha":"290601e28f1056d1d529374fbe65751900ab4974","author":{"name":"Pierre Masereel","email":"33e027554dcc45ee7cf3a13539b861cbf8bf6bff@odoo.com"},"message":"[FIX] purchase: update order_lines date_planned\n\nWhen we are trying to use the button 'set date to all order lines, we\nget a traceback saying, that update cannot be done, because it ensure\nthat there's only one record. (After 9.0, there is no more this\n'ensure_one').\n\nThis bug has been introduced in rev: https://github.com/odoo/odoo/commit/401a3cfaf6fd09f594e45c181e908900acba3777\n\nTo fix it, we iterate over the order lines, and do the update of each\nline.","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/290601e28f1056d1d529374fbe65751900ab4974"},{"sha":"8f4558574cd9712f08fba34e637e3b3a8bf92830","author":{"name":"Olivier Dony","email":"eec35bf09a0d88c013b6be9d67fd35a70f649681@openerp.com"},"message":"[FIX] pos: increase delay between scale readings\n\nThe hw_scale module uses its own internal thread\nfor reading weights, independently of the polling\ndone by the POS screen.\nThe shortest internal reading interval is around\n200ms, so polling every 50ms is useless.\n150ms seems a good compromise in terms of perception\nand resource use.","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/8f4558574cd9712f08fba34e637e3b3a8bf92830"},{"sha":"b73518fe579f3902171969ce6ac7438bce64f925","author":{"name":"Olivier Dony","email":"eec35bf09a0d88c013b6be9d67fd35a70f649681@openerp.com"},"message":"[FIX] web: do not cancel edition on o2m list when pressing Enter\n\nRev. 3f7d350fe21d9e2afb35a9ce3e2652940e3f259d1 introduced\nauto-cancellation of the edit mode when the user clicks\noutside the edited line.\n\nThe unfortunate downside was the auto-cancellation of the\nedit mode also when the user presses ENTER while the\nline is not valid.\n\nThis is especially annoying when using barcode scanners to\nfill in values, as scanners usually send an ENTER keystroke\nat the end of the input sequence.\nWhen a many2one field is focused this event will often occur\nbefore the autocompletion popup has a chance to open. At that\npoint the line is considered invalid, and the edition mode\nis cancelled! If no field is considered dirty yet on the line\nthis simply drops the whole line, otherwise it will open a\nnavigation confirmation popup. Both results equally prevent\nthe use of barcode scanners.\n\nThis patch makes sure the edit mode is only cancelled when the\nuser indeed clicked outside the line, and not for other cases\nwhere save() is requested, such as an ENTER keystroke.","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/b73518fe579f3902171969ce6ac7438bce64f925"},{"sha":"fbdac9c8536675483a103163de0609c216851366","author":{"name":"Jairo Llopis","email":"59e2a9fdeb13a1b0400edb47ba678395b6f9e3fa@gmail.com"},"message":"[FIX] website: fix search in existing pages\n\nPrevious implementation did not allow the user to search for pages 'name'\nbut only on the slugified name.\n\nNow we slugify the needles before to find a match.\n\n1. Create a new page: 'The new'\n2. add a link on your website and try to find this page...\n    - Before this commit, the only ways was to type 'the-new'\n    - After this commit 'the new', 'The new', 'The-new', ... will match\n\nThis commit closes #10771","distinct":false,"url":"https://api.github.com/repos/wtaferner/odoo/commits/fbdac9c8536675483a103163de0609c216851366"},{"sha":"27b6d245e79cc0ae5cbd1cdc9ee1fe388075d333","author":{"name":"Nicolas Martinelli","email":"76fd54f3784bbe4be7fb6e989b36e7f74a3407b8@odoo.com"},"message":"[FIX] account, account_tax_cash_basis: rounding\n\nWhen tax cash basis is used, the user might face the error \"Wrong credit\nor debit value in accounting entry !\". A detailed use case can be found\nin issue #14158.\n\nThe reason is that a float representation of `1.0` of the field\n`matched_percentage` will become `1.000...2` when used in Python.\nTherefore, such an expression such as `line.credit_cash_basis -\nline.credit * matched_percentage` might lead to a slightly negative\nvalue for the credit/debit, which will not pass the condition `CHECK\n(credit+debit>=0)`.\n\nFixes #14158\nopw-692797","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/27b6d245e79cc0ae5cbd1cdc9ee1fe388075d333"},{"sha":"7196896e014f43973f1784a27e9e7e53e4be7651","author":{"name":"Pierre Masereel","email":"33e027554dcc45ee7cf3a13539b861cbf8bf6bff@odoo.com"},"message":"[FIX] web_tip: destroy method set call off() on undefined\n\nIn some cases, when the destoy method of 'Tip' calls the off() function on\n'$breathing', even if this one is not defined.\n\nTo fix this error, we check that '$breathing' is not 'undefined' before\ncalling off() on it.","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/7196896e014f43973f1784a27e9e7e53e4be7651"},{"sha":"9780551bb7aa0334d751e9cd42b5ff84b1af3a73","author":{"name":"Christophe Simonis","email":"84bba2d08f6fd6acde0684f0160e633f516e3b61@odoo.com"},"message":"[MERGE] forward port branch 8.0 up to fbdac9c","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/9780551bb7aa0334d751e9cd42b5ff84b1af3a73"},{"sha":"c7b17125924ad4339eb653353600317d7648d6bf","author":{"name":"Christophe Simonis","email":"84bba2d08f6fd6acde0684f0160e633f516e3b61@odoo.com"},"message":"[MERGE] forward port branch saas-6 up to 9780551","distinct":true,"url":"https://api.github.com/repos/wtaferner/odoo/commits/c7b17125924ad4339eb653353600317d7648d6bf"}]}
{"actor":{"display_login":"wtaferner"}}