{"push_id":3606889002,"size":14,"distinct_size":2,"ref":"refs/heads/12.0-opw1981665-wact-len","head":"18dd744023cd500422e4be05849ef9c332116035","before":"87fdabb54f57d2d2264fe348a77a7fd80dafa380","commits":[{"sha":"538f99ccce90cb1487bd19e38b4bc8310b0677f6","author":{"name":"Julien Castiaux","email":"611046fadbce425f90f3e6c162671e428dd59ee2@odoo.com"},"message":"[FIX] web_editor: restoreRange on invalid node\n\nIn a web editor, add some text, select the text, add a link and\nimmediately discard the link modal. Traceback.\n\nThe traceback is a DOM `IndexSizeError`, that error is thrown when the\nboundaries of a DOM Range (`document.createRange`) are outside of the\nranged elements. In this context, the error happens because the element\nis empty and the range has an end bound set to the size of the selected\ntext.\n\nOdoo wrap code does some text node split in order to attach the link\njust on the selected text. If it correctly re-set the underlying\nstructure, it does not update the $(editable) structure used to restore\nranges.\n\nopw-1981751\n\ncloses odoo/odoo#33257\n\nSigned-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/538f99ccce90cb1487bd19e38b4bc8310b0677f6"},{"sha":"2a99a28004f8fcec96c73f847cbb6f3939fec4ab","author":{"name":"Antoine Prieels","email":"34b8a7f77bd6717c7eda95ef8dec5a61d3408017@odoo.com"},"message":"[FIX] point_of_sale: Taxes absent from sale detail\n\nSince the changes introduced in cdcdebc6cb1158902d955444c47696ab53171642,\nthe tax amounts were not showing in the Sale Details Report.\n\ncloses odoo/odoo#33007\n\nSigned-off-by: Quentin Lejeune (qle) <qle@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/2a99a28004f8fcec96c73f847cbb6f3939fec4ab"},{"sha":"232a7283a55cb7efe1750ea038b9244df06031e3","author":{"name":"Odoo Translation Bot","email":"e7f5472e9a159f4d404f1091c7e345bf7ac1ddb0@odoo.com"},"message":"[I18N] Update translation terms from Transifex","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/232a7283a55cb7efe1750ea038b9244df06031e3"},{"sha":"d4317a67d1f7bcf8c9336111408f6f12ac5b1e2c","author":{"name":"Jorge Pinna Puissant","email":"52c05351c1e024f822a0ec03b4a6cce073666ac8@odoo.com"},"message":"[FIX] crm: default probability in crm lead\n\nWhen creating a new crm lead from the kanban view, using the quick add\nbutton, the default probability is the one of the first stage, and not\nthe one of the selected stage.\n\nNow, the default probability is the one of the selected stage.\n\nopw-1986047\n\ncloses odoo/odoo#33267\n\nSigned-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/d4317a67d1f7bcf8c9336111408f6f12ac5b1e2c"},{"sha":"23689499591aba5bf5a645423082ee37b049608f","author":{"name":"Goffin Simon","email":"b3ed2cf313e7546085c3c50622143ff31e467d23@odoo.com"},"message":"[FIX] mrp_byproduct: Impossible to process a work order\n\nSteps to reproduce the bug:\n\n- Create two storable products A and B\n- Create a BOM for A with B as component and A as by product\n- Set this BOM as \"To manufacture\"\n- Create a MO for A and try to process it\n\nBug:\n\nEnsure one error was raised by function check_finished_move_lots defined in module mrp\nbecause the variable produce_move must be one record.\n\nNow, it's not possible to create a MO for A if A has a BOM with A as by product.\n\nopw:1974863\n\ncloses odoo/odoo#33280\n\nSigned-off-by: Simon Goffin (sig) <sig@openerp.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/23689499591aba5bf5a645423082ee37b049608f"},{"sha":"611eea839cb8c6d3b587c319a97892db0e847fe3","author":{"name":"Denis Ledoux","email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com"},"message":"[FIX] website: don't change public user of website when saving general settings\n\nBefore this revision, the public user of your website could be changed\nupon saving the general settings if you added users in the public group.\n\nCase:\n- Install website\n- Add a user in the \"public\" group,\nwith a login sorted alphabetically before \"public\", let's say \"1public\"\n- Open the general settings and save directly\n- Notice the public user of the website has been changed to \"1public\",\nand it did not keep \"public\", while you haven't changed anything\nin the settings.\n\nThat said, the current heuristic to find the public user of a company\nmight not be the best, as you could automatically find users in the group\npublic that you would not like to use as the public user of your website.\n\nIn master, maybe a field `public_user_id` could be added on\n`res.company`, and the `user_id` of the website could become\na related of the company public user.\nIn addition, when `_get_public_user` creates a new public user,\nit could link it to the company in `public_user_id` field.\n\ncloses odoo/odoo#33332\n\nSigned-off-by: Denis Ledoux <beledouxdenis@users.noreply.github.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/611eea839cb8c6d3b587c319a97892db0e847fe3"},{"sha":"d273bdfed7c3d2292be235b05240c2ecd72752ad","author":{"name":"Johan Demaret Rivarola","email":"e64525f0749d51060e37ecf30bb67d5ec20f5b99@odoo.com"},"message":"[FIX] survey: unregistered tour\n\nThis commit aims to make unit tests pass when creating a new database\nwith only 'survey' installed.\n\nThe tour 'test_survey' was not loaded before reaching /survey/start,\ncausing tests to fail.\n\nThe js asset is now loaded within web.assets_common because the tour\nshould also work with the 'public' user. For this reason,\n'web.assets_backend' is not a good fit.\n\nWidget 'root.widget' was undefined too. Appropriate js file is now\nloaded.\n\nCloses #33330\n\nSigned-off-by: Christophe Simonis <chs@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/d273bdfed7c3d2292be235b05240c2ecd72752ad"},{"sha":"de4278c6760837439cee2d9401e8c9d68d0cf9eb","author":{"name":"Christophe Monniez","email":"c96e125261f5e7e830d26ea98a02884db1f08bc3@odoo.com"},"message":"[FIX] server: use SIGXCPU on supported platform only\n\nWhen Odoo is stopped using CTRL+C on Windows, a Traceback is thrown\nbecause the SIGXCPU signal does not exists on Windows.\n\nWith this commit, the check for SIGXCPU only occurs on supported\nplatforms.\n\nFixes #33311\n\ncloses odoo/odoo#33333\n\nSigned-off-by: Christophe Simonis <chs@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/de4278c6760837439cee2d9401e8c9d68d0cf9eb"},{"sha":"babef9ecfc9ef87c1435feae3751d6023261faf0","author":{"name":"Christophe Monniez","email":"c96e125261f5e7e830d26ea98a02884db1f08bc3@odoo.com"},"message":"[FIX] web: add a small delay before starting clickEverywhere\n\nWhen the clickEverywhere js test is started with base only, the\nweb client opens the first app by default (see openFirstApp call in\nweb_client.js). Unfortunately, the test clicks immediately on the apps\nmenu and the client does not invalidate openFirstApp.\nThen, when trying to click on a filter, it does not exists anymore and\nleads to a timeout.\n\nThe present timeout should solve the problem without refactoring the web\nclient.\n\ncloses odoo/odoo#33339\n\nSigned-off-by: Christophe Monniez (moc) <moc@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/babef9ecfc9ef87c1435feae3751d6023261faf0"},{"sha":"3303f871028f7f84539020c12125ee6c3b3dd5e4","author":{"name":"Nicolas Martinelli","email":"771435c469f83f6aa9c405ac5e1ed06314a94f2d@odoo.com"},"message":"[FIX] account: reconciliation multi-company\n\n- Create 2 companies C1 and C2\n- Do not share partners between companies\n- Create a partner P1 in C1:\nName: PartnerA\nAccountNumber: 1234\n- Create a partner P2 in C2:\nName: PartnerA\nAccountNumber: 1234\n- Create an invoice in C2 for P2, validate and pay\n- Add the fields `account_number` and `partner_name` to the bank\nstatement lines for convenience.\n- Create a bank statement with a line:\nPartner Name: PartnerA\nAccount Number: 1234\n- Run the following query (on which no record rule is applied for bank\nstatement reconciliation):\n\n```sql\nSELECT\nst_line.id                          AS id,\nCOALESCE(p1.id,p2.id,p3.id)         AS partner_id,\np1.id AS p1,\np2.id AS p2,\np3.id AS p3\nFROM account_bank_statement_line st_line\nLEFT JOIN res_partner_bank bank ON bank.id = st_line.bank_account_id OR bank.acc_number = st_line.account_number\nLEFT JOIN res_partner p1 ON st_line.partner_id=p1.id\nLEFT JOIN res_partner p2 ON bank.partner_id=p2.id\nLEFT JOIN res_partner p3 ON p3.name ILIKE st_line.partner_name\nWHERE st_line.id IN (XX);\n```\n\nThe result is:\n\n|       id |   partner_id|      p1|    p2|    p3|\n|----------|-------------|--------|------|------|\n|        XX|           P1|    null|    P1|    P1|\n|        XX|           P2|    null|    P2|    P1|\n\nP1 should not appear in any of the results. In some configuration, P1\nwill be selected for matching and will trigger an access error.\n\nCommit 1fc0b08e146d3c256b05780fa71f26bd1c57fd3f introduced the record\nrules for `p3`, but was wrongly set at the end of the query. We\nintroduce the rules for `p3` as well as `bank`, so the result is now:\n\n|       id |   partner_id|      p1|    p2|    p3|\n|----------|-------------|--------|------|------|\n|        XX|           P2|    null|    P2|  null|\n\nWhich is the expected result.\n\nFixes #32954\nopw-1974649\n\ncloses odoo/odoo#33245\n\nSigned-off-by: Nicolas Martinelli (nim) <nim@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/3303f871028f7f84539020c12125ee6c3b3dd5e4"},{"sha":"c13298fdacf52aedb2d2fee4db98203247c5e523","author":{"name":"Parth Choksi","email":"8a841e5ee538422e3e749158644b5c16a7cfaad9@odoo.com"},"message":"[FIX] sale: display right quantity in sales by channel report\n\nBy this commit, in sales by channel report of product page we are able to show the quanity of product which is just in 'sale' and 'done' state.\n\nBefore this commit, the quantity of product included every state except 'cancel'.\n\nThis commit is related to issue: #27643\n\ncloses odoo/odoo#28948\n\nSigned-off-by: Damien Bouvy (dbo) <dbo@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/c13298fdacf52aedb2d2fee4db98203247c5e523"},{"sha":"99a12a94c2158db8415cb094592fdcbbbd0456b6","author":{"name":"Damien Bouvy","email":"26cc0816b78fc1f1d6597524ae2f7230dc232c77@odoo.com"},"message":"[FIX] point_of_sale: useless field can degrade perfs\n\nThe field session_ids is fetched from the server for what seems to be no\ngood reason at all; for database with a lot of sessions (test case with\n40k+ sessions), this can lead to an extremely slow dashboard.\n\ncloses odoo/odoo#33303\n\nSigned-off-by: Nicolas Martinelli (nim) <nim@odoo.com>","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/99a12a94c2158db8415cb094592fdcbbbd0456b6"},{"sha":"476a53bbf0c28a97caabff4ac2950df3132dd743","author":{"name":"Andrius Laukavičius","email":"6014edb2129a2a558f00ac17870541aecea1742d@focusate.eu"},"message":"[FIX] sales_team: ignore inactive team\n\nWhen using `sales_team.team_sales_department` as fall back default\nteam, last condition that checks if such team can be default was\nincorrect, because `active` value check was mixed with lead type check.\n\nIn other words: True or False and False => True\nBut intention is: (True or False) and False => False\n\nopw 1997715\n\ncloses odoo/odoo#33316\n\nSigned-off-by: Damien Bouvy (dbo) <dbo@odoo.com>","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/476a53bbf0c28a97caabff4ac2950df3132dd743"},{"sha":"18dd744023cd500422e4be05849ef9c332116035","author":{"name":"Nans Lefebvre","email":"a573b540d2dde90ba6da3b9d6286c8ec60c10044@odoo.com"},"message":"[FIX] website_sale: clean the action to send recovery cart\n\nThe action to send cart recovery mails is really made to be automated.\nHowever it was written in a way requiring either manual input, to use\naction_recovery_email_send.\nTo make an automated action, you basically need to put the code of it\ndirectly into the action itself, or it would be made incorrectly.\n\nopw 1981665","distinct":true,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/18dd744023cd500422e4be05849ef9c332116035"}]}
{"actor":{"display_login":"len-odoo"}}