{"push_id":2470130479,"size":79,"distinct_size":13,"ref":"refs/heads/master-sale-portal-separate-sign-and-pay-1818837-jov","head":"cfa7b92c675072c0a0c26f58b22d60442c6db004","before":"b2f20924a0ab96c79885094346a1d9e565740025","commits":[{"sha":"2875b94e036f024dcd37b72560fcaf349df27656","author":{"name":"Adrian Torres","email":"510911ca0904df843254643ba27120ccabfde1b1@odoo.com"},"message":"[FIX] osv.expression: normalize domains in combine\n\nBefore this rev:\r\n\r\n* Take 2 domains that contain at least two leaves, and at least one of\r\nthem must use the implicit `&` operator\r\n\r\ne.g.:\r\n    d1 = [('so_line', 'in', [91]), ('amount', '<=', 0.0)]\r\n    d2 = ['&', ('so_line', 'in', []), ('project_id', '!=', False)]\r\n\r\n* Perform osv.expression.OR() between both domains\r\n\r\nExpected result:\r\n    d3 = ['|', d1, d2]\r\n\r\nActual result (after normalization):\r\n    d3 = ['&', '|', d1, d2]\r\n\r\nThis is because, since the `&` is implicit for the first domain, when we\r\nOR it, we give it an explicit `|` operator, so when we pass this domain\r\nthrough the normalize_domain function, d1 no longer contains an implicit\r\n`&` operator but instead the implicit operator is the one between d1 and\r\nd2, therefore giving us a completely wrong domain.\r\n\r\nThe `combine` function states that it only accepts normalized domains,\r\nhowever neither the OR nor AND functions do, this leads to a lot of\r\ndevelopers putting non-normalized domains into these functions, and\r\nthere's no error checking or anything that obviously indicates that the\r\ndomain is incorrect, so we might as well normalize all domains being\r\npassed since it's already pretty optimized.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/2875b94e036f024dcd37b72560fcaf349df27656"},{"sha":"8e567f819d0251e32d4b029b11a00b5ae3befe99","author":{"name":"Valentin Löfberg","email":"73713a5387b9145d2b3a2d2dd39fc0dd830f3d99@gmail.com"},"message":"[IMP] project: Place every links on relative position on kanbans cards\n\nPurpose\n========\n\nThe links on the project kanban cards are not always at the same place : https://drive.google.com/file/d/1aONUYkZerqqD7fSVmgozRScgLKR-QHtA/view\n\n============\nSpecification\n============\n\nI get rid of the flex element to allow the placing of links using width\nattribute. Create the .o_project_timesheet_box class to assure that the\ntimesheet/overview link is always placed in the middle.\nI also deleted the needaction_count button to avoid breaking the display.\n\nTask: 1817850","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/8e567f819d0251e32d4b029b11a00b5ae3befe99"},{"sha":"0eb85187863cdede429ab3c553345b185bb120a0","author":{"name":"Raphael Collet","email":"fcee45b878db1f337818c5c606c1542797080a40@odoo.com"},"message":"[IMP] fields: describe `group_operator` when given on all field types","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/0eb85187863cdede429ab3c553345b185bb120a0"},{"sha":"b90b8f3d5ddd561b194f087f2337cfcfccf0614a","author":{"name":"Siddarth Gajjar","email":"56f639a018d45fd03e9fa9f1d7ad7c57cd26f556@odoo.com"},"message":"[IMP] account, hr_expense: add section for attachment preview\n\nAn empty div `o_attachment_preview` is added in expense and vendor bills form\nviews. It will be used as a container to preview the attachment.\n\nThe actual behaviour will be implemented in another commit.\n\nTask 40663","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/b90b8f3d5ddd561b194f087f2337cfcfccf0614a"},{"sha":"704755515a7b2a23b7cbb2124aea32354524de1f","author":{"name":"Jeremy Kersten","email":"56923a0c9ca793c07ff1df1013de5694062a27a6@odoo.com"},"message":"[FIX] website_sale: fix zoom wich was not always computed\n\nIn some case, (many JS like runbot with all modules), the onload event was\nbinded after that the image was loaded. So the JS code that make the zoom\nconditionnal was not executed.\n\nNow we apply the function on all images already loaded, or that will is loading\n\nCourtesy of @ged-odoo for help and review","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/704755515a7b2a23b7cbb2124aea32354524de1f"},{"sha":"3820b56c07528e7b983fc5c79bfde4c5995289df","author":{"name":"Jeremy Kersten","email":"56923a0c9ca793c07ff1df1013de5694062a27a6@odoo.com"},"message":"[IMP] website_sale: multi image by default\n\nRemove the option to switch from simple image to multi mode.\nIf only 1 image, multi image show it without carousel","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/3820b56c07528e7b983fc5c79bfde4c5995289df"},{"sha":"6e12372f9563786192b24b18aef280397ee7997e","author":{"name":"stefanorigano","email":"532f110e089ab7f9606f1ba1fe4648a4a4d5dcc2@odoo.com"},"message":"[IMP] mail: attachments list design\n\nWith this commit, the attachments displayed in a thread (typically a\nchatter) are properly styled.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/6e12372f9563786192b24b18aef280397ee7997e"},{"sha":"a5a788981a42b858c98061b5adf8c679ea33b2a5","author":{"name":"stefanorigano","email":"532f110e089ab7f9606f1ba1fe4648a4a4d5dcc2@odoo.com"},"message":"[IMP] web, mail: mimetype icons design\n\n- Redesign all mimetype icons\n- use SVG to reduce file size and improve rendering quality.\n- Add a data attribute to attachments to detect the file extension (in somes\n  cases just mimetype is not accurate)","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/a5a788981a42b858c98061b5adf8c679ea33b2a5"},{"sha":"89055c167ecbe4a948b167295e5517e0b3398642","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: add profitability report analysis\n\nThis commit provide a real reporting tool\nfor project profitability: graph and pivot\nviews.\nYou can now have a look at cost and revenues\nper project, so line, product, see which\nproject manager brings the more money, which\nproject costs many human time, ...\n\nThe project overview is based on this report\nanalysis to be consistent.\n\nHowever, a change of computation for 'amount\ninvoiced' is introduced: we now based the amount\non the price_reduce of the SO line, and not from\nthe invoice lines. Also, once a draft invoice is\ngenerated, the quantity is considered as invoiced\nat the price of the SO line (no matter is extra\ndiscount happens when validating invoices).","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/89055c167ecbe4a948b167295e5517e0b3398642"},{"sha":"ca36c22c546c54deb6afca0363fbf1dac35fd7a2","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: remove project of a Sales Order\n\nThe project of a SO will not be used anymore, as we planned\nto have a sale order creating multiple projects.\nThe concept of 'only project from SO' does not make sense.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/ca36c22c546c54deb6afca0363fbf1dac35fd7a2"},{"sha":"8f3f1827cbb7d7ee0eae132b45394fc0547f940d","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] hr_timesheet: ability to track cost without selling time\n\nThe cost of an employee should be in hr_timesheet for a long time, to\nallow user to track time on project/task: hours spent and their cost.\nThis commit simply moves fields and related views. It also moves the\n'postprocess' method from sale_timesheet to hr_timesheet since this\nmethod is responsible to set the amount (cost) on AAL.\n\nUser can now track their time and cost, without having sale_timesheet\ninstalled.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/8f3f1827cbb7d7ee0eae132b45394fc0547f940d"},{"sha":"7782265a8aa0376f69afdb3271f0fa74a59aace1","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: add wizard to link multiple task to SO lines\n\nAdding a wizard to assign multiple task to the same\nsale order line. This will allow user to invoice\ntimesheet created before SO confirmation.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/7782265a8aa0376f69afdb3271f0fa74a59aace1"},{"sha":"60a8b88cc96abd9a8ee1f7142cf15599d413d245","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: revamp project overview\n\nThe project overview is kind of badly design. This\ncommit does not solve all the issue but tries to make\nit simpler and more efficient:\n- Does not depends on AAL anymore: the overview search\nis now about projects. You can see the overview of multiple\nprojects. Even when no timesheet are encoded, the plan will\nnot be empty.\n- \"Time by people\" displays each employee assigned to task,\neven if no timesheet are recorded.\n- Code now use reporting view to keep consistency and simple\ncode in overview controller.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/60a8b88cc96abd9a8ee1f7142cf15599d413d245"},{"sha":"3dd3e2648329995ddc309081787e19005d48ccd0","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] project: a project is not an analytic account anymore !\n\nThis commit removes the inheritS between account.analytic.account and\nproject.project. This means :\n- When a project is created, an analytic account is not necessarily\ngenareted\n- project has now its own name, company_id and partner_id fields\n- an analytic account can be linked to several project\n- project module does not depend anymore of analytic, but hr_timesheet\ndoes.\n\nThis change implied\n- an analytic account is required on project to timesheet on\nits tasks. So, when checking 'allow_timsheets', if an AA is not\nprovided at project creation, an AA will be generated.\n- to timesheet on project, an active AA is required. We don't want\ntimesheeting on project linked to unused AA to avoid bad analytic\nentries.\n\nThis prepare the fact a sale order can create multiple project, sharing\nthe same analytic account (the one from the SO).","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/3dd3e2648329995ddc309081787e19005d48ccd0"},{"sha":"9774b788525f9458fea7baec6459bc648f7ad9dc","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale: analytic_account field edition\n\nNow that an analytic account can be linked\nto several projects, you might want to change\nthe analytic on the SO.\nBefore this commit, the user was allow to create\nan analytic account on a confirmed SO but not\nmodify it. This was usefull when you wanted to\nreinvoice an expense on a SO without AA set.\nThis is now solved (AA is automatically created\nwhen validated expense).\nNow, we want to allow set manually the AA before\nconfirming SO to match the one of potential\nprojects.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/9774b788525f9458fea7baec6459bc648f7ad9dc"},{"sha":"236a7011b87b12e1ac79ea87c79dd4dab64d58a0","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[REF] sale_timesheet: project/task generation from SO\n\nWhen confirming a SO, only one project will be created, even if\nsome so lines would create a project. Only the first line will\ncreate the project, the other will not be linked to its.\n`project_id` field is added on so line, to keep track of the\ngenerated project, as already done for the task.\n\nThe '_timesheet_service_generation' method has been rewritten\nto be execute in batch and improve performance and prefetching.\n\nOn SO confirmation, no message are now post in chatter to avoid\nhaving one message per so line that should have created a task.\nA message is only posted when user manually add SO lines on\nconfirmed SO.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/236a7011b87b12e1ac79ea87c79dd4dab64d58a0"},{"sha":"eb5cb1359b11990159c6348ba82ec94dbc0862ed","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: improve tests","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/eb5cb1359b11990159c6348ba82ec94dbc0862ed"},{"sha":"460f57f510be49910d10a786aa178c0fad1e420e","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: selling project based on template\n\nSelling product creating project can now be based\non project template. When setting a project template\non product, this will copy the project (like a duplicate)\nand replace its customer, ... with information from the\nSO line, on SO confirmation.\n\nThere is only one project without template per SO, and\none project per template per SO (so 2 SO lines with the\nsame project template on their product will only create\none project with this template).","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/460f57f510be49910d10a786aa178c0fad1e420e"},{"sha":"abfa921009dd39b50d66763913822086d73f8554","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: tasks linked to SOL of project\n\nWhen selling a project from a sale order, the SO line\ncreates the project. When we create a task in that\nkind of project, by default, the task will be linked\nto the SO line of its project.\nHowever, for the SO line field to be visible on the\ntask form view, the customer must be set. This commit\nset the customer from the SO line when changing\nthe project (billable project only).","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/abfa921009dd39b50d66763913822086d73f8554"},{"sha":"30f3d4144fea13557dc48d27ae277296860e57cb","author":{"name":"jem-odoo","email":"6964489703ed973b467c16e75b2abe91a57e12f6@openerp.com"},"message":"[IMP] sale_timesheet: plan project when timesheet only\n\nThe code of the project overview is split to be used when only\ntimesheet is installed (no forecast). The table part only\ndisplay column for timesheeted time per month.\nWhen forecast is installed and activated, other columns\ncomes to complete this table.\n\nThis commit also makes visible SO line having no timesheet\nlinked in project overview.","distinct":false,"url":"https://api.github.com/repos/odoo-dev/odoo/commits/30f3d4144fea13557dc48d27ae277296860e57cb"}]}
{"actor":{"display_login":"jorenvo"}}