Monday, July 11, 2022
5 changes · master
New functionality added to Odoo
Inventory users can now reverse a previous inventory adjustment directly from the adjustment history. This helps correct stock count mistakes faster by creating an opposite adjustment and clearly marking it as reverted.
Original PR description
Purpose ====== Purpose of the task is checking the inventory adjustment history and doing an opposite adjustment by using `Revert Inventory` button. So in this commit, I have added `Revert Inventory` button in Inventory Adjustments > History. when you checking the history and click on the `Revert Inventory` button, this method create opposite adjustment history with prefix `[reverted]`. TaskID - 2859490
Enhancements to existing features
Knowledge users can now add a dynamic table of contents that lists the headings on a page. This makes long articles easier to navigate, with clicks scrolling directly to the selected section and briefly highlighting it.
Original PR description
Purpose ======== Allow users to create a table of contents dynamically listing all headers in the page. When clicking on a section name, the page will scroll (both in back end and front end view) to the selected heather and highlight it for a brief interval of time. Task-2818474 Co-authored-by: Aurélien Warnon <awa@odoo.com> Co-authored-by: julien-banken <jbn@odoo.com> Co-authored-by: abd-msyukyu-odoo <abd@odoo.com> Co-authored-by: fbarbe00 <faba@odoo.com> Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now better detects video meeting links from Outlook events and stores them as the event’s video call location. This helps users join Teams or other online meetings directly from synced calendar entries instead of searching through the location field.
Original PR description
Basically, a Outlook event may contain a videocall URL in 2 different ways: 1) the event location may be a specific URL (such as `https://teams.microsoft.com/...`). In this case, we use it as `videocall_location` instead of classic `location`. We use a list of patterns to identify these specific URLs among classic locations. 2) the event may have an attribute `isOnlineMeeting` set to `True` and the attribute `onlineMeetingUrl` set with the URL. In this case, we use this `onlineMeetingUrl` as `videocall_location`. opw-2601669 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing work orders now receive the correct expected duration automatically when production orders are created outside the standard form flow. This makes integrations such as XML-RPC easier and reduces the risk of incorrect planning times being set manually.
Original PR description
With this revision, the expected duration is correctly set when creating a production order with work orders without the need of onchanges, through a form. For instance, this allows an easier…
With this revision, the expected duration is correctly set
when creating a production order with work orders without the need of
onchanges, through a form.
For instance, this allows an easier implementation to create a production
order with work orders through XMLRPC API calls,
as you will not need to manually set the expected duration value
or to call onchanges manually to set it.
For instance, without this change to remove the `default=60.0`,
the part added by this revision in the test `test_update_quantity_3`
would fail
```
2022-07-11 09:15:14,644 21 ERROR master odoo.addons.mrp.tests.test_order: FAIL: TestMrpOrder.test_update_quantity_3
Traceback (most recent call last):
File "/home/odoo/src/odoo/master/addons/mrp/tests/test_order.py", line 347, in test_update_quantity_3
self.assertEqual(production.workorder_ids.duration_expected, 90)
AssertionError: 60.0 != 90
```
while it just does the same thing than the existing `test_update_quantity_3` test
but without the use of a form / onchanges.The signing dialog buttons were updated to make the main signing action easier to find and understand. Users now see clearer button labels, a less prominent cancel option, and faster movement to the next required signing field.
Original PR description
In this commit , we improve the visibility of sign all button,change the name of adopt and sign button to sign and converted cancel button a btn-link. Previously the animation of scrolling when clicking on next but was 1000ms which is reduced by 500 ms .