Daily updates from Odoo
Wednesday, March 13, 2024
7 changes · master
New functionality added to Odoo
Adds Cyprus-specific Balance Sheet and Profit and Loss reports so businesses can prepare local financial statements more easily. This improves reporting coverage for companies operating in Cyprus and supports localized accounting needs.
Original PR description
This commit will add the Balance sheet and Profit and Loss reports for Cyprus. task: 3640438
The Maltese localization now includes standard Balance Sheet and Profit & Loss reports. This helps businesses in Malta prepare and review key financial statements directly in Odoo using localized reporting structures.
Original PR description
Add the Balance Sheet and Profit & Loss to the Maltese localization. Community PR: odoo/odoo#147902 Task link: https://www.odoo.com/web#id=3627705&model=project.task task-3627705
Enhancements to existing features
Material resources such as tools and machines will no longer automatically receive a standard working calendar when created in Planning. This better reflects that equipment does not usually follow employee working-hour restrictions and keeps list views focused by hiding irrelevant scheduling data.
Original PR description
Currently, a working calendar is set by default on material resources which doesn't make a lot of sense as tools and machines don't have the same capacity limitations and hours restrictions as human resources do. Remove the default value for the working time. It need to be done at 2 places for the folowing reasons: - `default_get`: When creating a shift on the planning, when we create a new resource, it need to be set without the default working time. - `_onchange_company_id`: When creating a resource from the planning material list view, the `_onchange_company_id` function from the resource module is called and don't take into account that the `default_get` already changed the value, so we need to override it to ensure it won't reset the `calendar_id`. task-3692156
Users can now drag and reorder child items within expanded Knowledge favorites without accidentally moving the parent favorite. This makes organizing Knowledge content smoother and keeps the ordering in sync across the related section.
Original PR description
In the favorite section of knowledge, it was possible to unfold a favorite and see its children, but it was not possible to resequence them, and dragging them would start a `drag` operation on their ancestor (which is set as a favorite). Now it is possible to resequence them at the same level, and it will actually resequence them in their respective section synchronously. task-3555651
Checkout now retrieves UPS delivery options together with their prices, reducing the need for extra steps or delayed price updates. This should make shipping selection clearer for customers and help improve the checkout experience.
Original PR description
todo
Australian businesses registered for Deferred GST can now account for import GST in their Activity Statement instead of treating it as payable at the border. This helps keep tax reporting aligned with the Deferred GST scheme and prepares the workflow for amounts received through online services and SBR.
Original PR description
In Australia, when you import goods, you have to pay a tax for import as soon as it arrives at the border and as the tax is computed by the border security. However, if the business registered for Deferred GST, the computed tax has to paid at the next Activity Statement (their form of tax report) submission. The computed tax amount is then received through online services and SBR (implemented in another task). task-3681250
Resolved issues and error corrections
Fixed an issue where buttons in the Planning calendar could send users to a page not found error. The calendar now loads in a way that preserves the information needed for correct redirects, so users can navigate from the front-end planning view as expected.
Original PR description
Behaviour prior to fix: Whenever we used any of the buttons in the planning front-end we would get a page no found error when being redirected. Cause: The planning and employee tokens could not be fetched from the DOM as we did before because the calendar view was not properly rendered with the update to FC v6. This lead to the tokens being undefined when clicking the buttons and thus the redirect leading to the page-not- found errors. Fix: Changed the element that we mount to the FC to more specifically be the calendar widget. That way DOM of the calendar post render more closely resembles what it looked like before the update to v6 and thus the buttons work again. task-3791067