{"push_id":3177698535,"size":24,"distinct_size":21,"ref":"refs/heads/11.0-imp-installation-time","head":"2628c604400d4b3f0f7fbeb36b3a6be474c3ed94","before":"25565b01381fe2d11d7e57da6ab9d5cd06164087","commits":[{"sha":"8373bafbc2a49bca7007ce32e96fb719fd74f1de","author":{"name":"Nicolas Martinelli","email":"771435c469f83f6aa9c405ac5e1ed06314a94f2d@odoo.com"},"message":"[FIX] account: missing translation\n\n- Install a second language, e.g. French\n- Set Parter A language to French\n- Create an invoice for A with a date due in the past\n- On the partner form view, print the 'Due Payments'\n\nThe body of the letter is not translated in French.\n\nSomething quite weird appears:\n- The corresponding string is exported in the `stock` module\n- It is linked to the demo data `stock.res_company_1`, which corresponds\n  to 'My Company, Chicago'.\n\nTherefore, the translation cannot be found by the corresponding query\ngenerated in `_generate_translated_field` and `_read_from_database`:\n```\nSELECT \"res_company\".\"id\" as \"id\",COALESCE(\"res_company__overdue_msg\".\"value\", \"res_company\".\"overdue_msg\") as \"overdue_msg\" FROM \"res_company\" LEFT JOIN\n                (SELECT DISTINCT ON (res_id) res_id, value\n                 FROM \"ir_translation\"\n                 WHERE name='res.company,overdue_msg' AND lang='fr_BE' AND value!=''\n                 ORDER BY res_id, id DESC)\n             as \"res_company__overdue_msg\" ON (\"res_company\".\"id\" = \"res_company__overdue_msg\".\"res_id\")\n                        WHERE \"res_company\".id = 1  ORDER BY \"res_company\".\"sequence\" ,\"res_company\".\"name\"\n```\n\nIndeed, `res_company.id` is 1, while `res_company__overdue_msg.res_id`\nis 3.\n\nThe root cause has been solved in v11, to we only export the necessary\nterm.\n\nopw-1908337\n\ncloses odoo/odoo#29525","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/8373bafbc2a49bca7007ce32e96fb719fd74f1de"},{"sha":"a91ffcf1a72f7d8759704405cd5026cf32c21a7f","author":{"name":"Denis Ledoux","email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com"},"message":"[IMP] product: product & template name_get performance\n\nBy prefetching only the fields required for the `name_get`\n\n`product.product` & `product.template`\nhave a huge number of fields,\nand prefetching them just to compute\nthe name is overkill.\n\nEspecially, as the browse was done using\nsudo, the prefetch was a bit useless as\nit was stored in the sudo user cache,\nwhich was most-likely not used afterwards\nby the callee of name_get\n\nFor a database with 50.000 products,\nthis reduce the processing time\nby 15 (from 60 seconds to 4 seconds measured)","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/a91ffcf1a72f7d8759704405cd5026cf32c21a7f"},{"sha":"738e60c6ebf69bfbd7238fb35b4763fee4ca17d9","author":{"name":"Nans Lefebvre","email":"a573b540d2dde90ba6da3b9d6286c8ec60c10044@odoo.com"},"message":"[FIX] service: fix integrity error display\n\nDuring the installation of a module, an IntegrityError can be raised,\ne.g. if some module data already exists in the database\n(as in the case of a module which uninstallation did not remove its data).\n\nIn Python2 it was possible to use such a psycopg2.IntegrityError with i[0]\nto get its error message, while this raises an exception in Python3,\ni.args[0] is needed.\n\nAs a result the log would contain an exception within an exception instead of\ndisplaying an error to the user.\n\nopw 1916374\n\ncloses odoo/odoo#29787","distinct":false,"url":"https://api.github.com/repos/etobella/odoo/commits/738e60c6ebf69bfbd7238fb35b4763fee4ca17d9"},{"sha":"912f88b98044151391fbcc5d658fe7cfa687217f","author":{"name":"Odoo Translation Bot","email":"e7f5472e9a159f4d404f1091c7e345bf7ac1ddb0@odoo.com"},"message":"[I18N] Update translation terms from Transifex","distinct":false,"url":"https://api.github.com/repos/etobella/odoo/commits/912f88b98044151391fbcc5d658fe7cfa687217f"},{"sha":"138550fd2eb86f856b5c28ad2a06442a1db602de","author":{"name":"Wolfgang Taferner","email":"d693146fc9abbf3fddac74055f815e7ddcd5574b@users.noreply.github.com"},"message":"[FIX] stock_picking_batch: do not lock batch model on transient model\n\ncloses odoo/odoo#29722","distinct":false,"url":"https://api.github.com/repos/etobella/odoo/commits/138550fd2eb86f856b5c28ad2a06442a1db602de"},{"sha":"d3e84f80f422ab89e867058f77f1021c0490311c","author":{"name":"Lucas Perais (lpe)","email":"42d29efea96f3992aa24782120ec2948e42548fa@odoo.com"},"message":"[FIX] purchase: prevent div by zero in purchase.report\n\nSpinoff of 6cd12694d86e52601d80cecfd605f9dc282a2c18\n\nOPW 1916964\n\ncloses odoo/odoo#29828","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/d3e84f80f422ab89e867058f77f1021c0490311c"},{"sha":"06ad641b0a978296e3eaef40f54157360e97075e","author":{"name":"wan","email":"622054d39590fdce6fcb4705fc8d581a01daa24c@odoo.com"},"message":"[ADD] l10n_nl: tax codes for 9%\ncloses issue #29352\nThe Dutch taxes will change the low tax 6% to 9% on 01/01/2019. Please add these tax code in the system and also change the affected fiscal positions. Both 6% and 9% needs to exist during the transition period.\n\ncloses odoo/odoo#29375","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/06ad641b0a978296e3eaef40f54157360e97075e"},{"sha":"12df3c6a98e4a925a8aa2e1232497a01cb4f8d69","author":{"name":"Denis Ledoux","email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com"},"message":"[FIX] product: name_get, products can share the same template\n\nOversight in revision\na91ffcf1a72f7d8759704405cd5026cf32c21a7f\n\nMultiple products can have the same template.\n\nPassing multiple times the same template id\nto the search domain to get the sellers\nworks, but better avoid the repetition\nfor the performances.","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/12df3c6a98e4a925a8aa2e1232497a01cb4f8d69"},{"sha":"5856dab38026524d7f28fd1b1adf2a8c0b3e3015","author":{"name":"Denis Ledoux","email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com"},"message":"[IMP] product: name_get, use mapped to gain some memory\n\nThis revision is related to\n12df3c6a98e4a925a8aa2e1232497a01cb4f8d69\n\nThe above revision serve its purpose as well,\nbut by avoiding to store the result in a variable,\nand using the records cache instead,\nwe gain some memory, which is noticeable\nwhen there are hundred of thousands products.\n\nThe sudo() is important, as it must be the\nsame environment then the above call to read\nto use the same cache.\nOtherwise the values won't be in the cache\nof self (without sudo),\nand it will go get it and prefetch other fields\nin the database.","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/5856dab38026524d7f28fd1b1adf2a8c0b3e3015"},{"sha":"6bf8b25b70c9c967b5f9a658485167cb1f338b6f","author":{"name":"David Tran","email":"974b3ee67adc6ac137836f1aec7a70454c71365e@tvtmarine.com"},"message":"[IMP] base: Vietnam Dong should have 1.00 as rounding.\n\nNo decimal part in Vietnam Dong (đ - Việt Nam Đồng)\n\ncloses odoo/odoo#29650","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/6bf8b25b70c9c967b5f9a658485167cb1f338b6f"},{"sha":"cc217569b7d45cca72e7a3d0d5c1580531443bb0","author":{"name":"Thibault Delavallée","email":"2d325771bb6e8870d87f0f3f7b45589a8338e550@odoo.com"},"message":"[FIX] base: fix name_search on res_partner when searching on linked users\n\nCurrently name_search on res_partner holds code to be done by a customized SQL\nquery allowing to speedup the search [1]. However when dealing with given args\nthere may be a crash if there is a domain based on user_ids fields.\n\nIndeed this field is defined as auto_join [2]. It means the result of get_sql\nreturns where parameters based on joined tables. Those tables are not available\nin the from clause in the original query.\n\nThis commit fixes that issue by correctly taking the from_clause from get_sql.\nThat way joined tables are available. Small update of the query is necessary\nas fields are now res_partner.{id/email/vat/reference} as there may be several\ntables linked in the query.\n\nA test has been added to avoid regression.\n\n[1] See https://github.com/odoo/odoo/commit/05ec12692f99b69924765fd0ce384632547f03f9 for a recent modification\n    and implementation of this query, even if it exists since a looooong time\n[2] See https://github.com/odoo/odoo/commit/db8203c27a21acdbcad2cf1c394b6fea3cf13688 for the auto_join addition\n\ncloses odoo/odoo#29827","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/cc217569b7d45cca72e7a3d0d5c1580531443bb0"},{"sha":"076c83554497affc0d254148d7076fb8825f1b38","author":{"name":"Odoo Translation Bot","email":"e7f5472e9a159f4d404f1091c7e345bf7ac1ddb0@odoo.com"},"message":"[I18N] Update translation terms from Transifex","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/076c83554497affc0d254148d7076fb8825f1b38"},{"sha":"9ef7802520d9bdffd85861d31eaa28b5b094c39a","author":{"name":"wan","email":"622054d39590fdce6fcb4705fc8d581a01daa24c@odoo.com"},"message":"[ADD] l10n_nl: tax codes for 9%\ncloses issue #29352\nThe Dutch taxes will change the low tax 6% to 9% on 01/01/2019. Please add these tax code in the system and also change the affected fiscal positions. Both 6% and 9% needs to exist during the transition period.\n\ncloses odoo/odoo#29374","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/9ef7802520d9bdffd85861d31eaa28b5b094c39a"},{"sha":"f5fe1f4064219c0ec9652d55cff4b27ef3119480","author":{"name":"Josse Colpaert","email":"1f46e7f017caa89a77c9557ed26b800e8d5d7700@odoo.com"},"message":"[IMP] l10n_no: Norway tax update, see #28422\n\ncloses odoo/odoo#29852","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/f5fe1f4064219c0ec9652d55cff4b27ef3119480"},{"sha":"874425c69e8c3780da5ba7c1ccab00b62b2f8527","author":{"name":"Nans Lefebvre","email":"a573b540d2dde90ba6da3b9d6286c8ec60c10044@odoo.com"},"message":"[FIX] stock_account: fix default field value in wizard\n\nDefault time was set to default=fields.Datetime.now() instead of\ndefault=lambda self: fields.Datetime.now(),\nresulting in a discrepancy when printing the report.\n\nopw 1917523","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/874425c69e8c3780da5ba7c1ccab00b62b2f8527"},{"sha":"1d672b33a7f319f920b6770db91e725fb6d1f0dc","author":{"name":"Christophe Simonis","email":"0e117f2b429bfa19751522a564765b352cb7b946@odoo.com"},"message":"[MERGE] forward port branch 10.0 up to 9ef7802520d","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/1d672b33a7f319f920b6770db91e725fb6d1f0dc"},{"sha":"015f2582add1fff50280f5ef0e7d56b02d8dba7d","author":{"name":"Christophe Simonis","email":"0e117f2b429bfa19751522a564765b352cb7b946@odoo.com"},"message":"[MERGE] forward port branch saas-14 up to 1d672b33a7f","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/015f2582add1fff50280f5ef0e7d56b02d8dba7d"},{"sha":"a80bde859cb4fab030d4b02203090810468f44be","author":{"name":"Christophe Simonis","email":"0e117f2b429bfa19751522a564765b352cb7b946@odoo.com"},"message":"[FIX] base: correct res.partner name_search\n\nOversight of previous forward-port when adapting cc217569b7d45cca72e7a3d0d5c1580531443bb0","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/a80bde859cb4fab030d4b02203090810468f44be"},{"sha":"6e933e42efb8e11087db63cfb5302f37f8e8b72d","author":{"name":"Christophe Simonis","email":"0e117f2b429bfa19751522a564765b352cb7b946@odoo.com"},"message":"[MERGE] forward port branch saas-14 up to a80bde859cb","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/6e933e42efb8e11087db63cfb5302f37f8e8b72d"},{"sha":"c8de59ad2b235d3c13f6c7c0b4c9421ed6856a9b","author":{"name":"Enric Tobella","email":"202dd384b331e51db3a269ade70f2dd355585f3c@creublanca.es"},"message":"[CLA] siognature for Enric Tobella\n\ncloses odoo/odoo#29593","distinct":true,"url":"https://api.github.com/repos/etobella/odoo/commits/c8de59ad2b235d3c13f6c7c0b4c9421ed6856a9b"}]}
{"actor":{"display_login":"etobella"}}