Tuesday, August 11, 2020
6 changes · master
Enhancements to existing features
Odoo Studio now lets users choose the year view as the default calendar display. This gives teams a broader planning option when setting up calendar views, making long-term scheduling easier to review at a glance.
Original PR description
Year mode has added to calendar view in PR: https://github.com/odoo/odoo/pull/54268 This commit adds an option to select year mode as default. Task: 2193921
Resolved issues and error corrections
The referral and Twitter wall sharing links now use LinkedIn’s current sharing address. This keeps social sharing working reliably for users and aligns Odoo with LinkedIn’s latest supported format.
Original PR description
## Description
Replace the old linkedin share link with the new one. (See official doc https://docs.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/plugins/share-plugin)
Actual : https://www.linkedin.com/shareArticle?mini=true&url={url}
New one: https://www.linkedin.com/sharing/share-offsite/?url={url}Miscellaneous changes
Before 13.0, Odoo created one `account.move` by `pos.order` From 13.0, Odoo creates one `account.move` by `pos.session`, therefore including multiple `pos.order` in the same `account.move`. However, when upgrading to 13.0, the upgrades doesn't attempt to merge the moves by order into one move for these orders session, as this is clearly risky. However, the field `account_move` on `pos.order` is kept. We can therefore use it to be able to tell the move is linked to a refunded pos ord
Original PR description
Before 13.0, Odoo created one `account.move` by `pos.order` From 13.0, Odoo creates one `account.move` by `pos.session`, therefore including multiple `pos.order` in the same `account.move`. However, when upgrading to 13.0, the upgrades doesn't attempt to merge the moves by order into one move for these orders session, as this is clearly risky. However, the field `account_move` on `pos.order` is kept. We can therefore use it to be able to tell the move is linked to a refunded pos order. Upgrade request 52011 M1902139746591 Forward-Port-Of: odoo/enterprise#12284 Forward-Port-Of: odoo/enterprise#12277
Add a check on params given to the reload function. Now we can modify "All timesheet" grid without error. Forward-Port-Of: odoo/enterprise#12233 Forward-Port-Of: odoo/enterprise#11272
Original PR description
Add a check on params given to the reload function. Now we can modify "All timesheet" grid without error. Forward-Port-Of: odoo/enterprise#12233 Forward-Port-Of: odoo/enterprise#11272
Currently, When someone starts the timer and click on stop button at that time it was first to stop the timer by the super method and then open the time dialog so timer vanishes and the Start button is displayed again. After this commit, when click on stop button do not stop the timer by calling a super method of mixin just open the dialog with minutes spent and on click of SAVE in dialog stop the time and unlink the related timer entry and on click of CANCEL of dialog it will not stop t
Original PR description
Currently, When someone starts the timer and click on stop button at that time it was first to stop the timer by the super method and then open the time dialog so timer vanishes and the Start button is displayed again. After this commit, when click on stop button do not stop the timer by calling a super method of mixin just open the dialog with minutes spent and on click of SAVE in dialog stop the time and unlink the related timer entry and on click of CANCEL of dialog it will not stop the timer. Task-ID: 2230217 Forward-Port-Of: odoo/enterprise#12234 Forward-Port-Of: odoo/enterprise#11561
…turns from POS as refunds when they don't generate an invoice Before that, the tax report did not apply a -1 multiplier on the total amount for those move lines (even though the refund tags were properly assigned). We fix that by introducing a hook function into account_reports, and overriding it in a new pos_account_reports module, so that those lines are properply detected as coming from a credit note. opw 2238358 X-original-commit: 2c537f7c6d8070a245067aaff126f89c0ff0b404 Forward-P
Original PR description
…turns from POS as refunds when they don't generate an invoice Before that, the tax report did not apply a -1 multiplier on the total amount for those move lines (even though the refund tags were properly assigned). We fix that by introducing a hook function into account_reports, and overriding it in a new pos_account_reports module, so that those lines are properply detected as coming from a credit note. opw 2238358 X-original-commit: 2c537f7c6d8070a245067aaff126f89c0ff0b404 Forward-Port-Of: odoo/enterprise#12231 Forward-Port-Of: odoo/enterprise#12221