Daily updates from Odoo
Wednesday, March 13, 2024
11 changes
2 changes
Enhancements to existing features
This update enhances the Odoo accounting system to correctly handle Value Added Tax (VAT) for Kenyan businesses. Specifically, VAT payable and receivable accounts have been created and linked to all tax groups, ensuring accurate tax reporting and compliance with local regulations. This change simplifies VAT management within Odoo.
Original PR description
In this pr I renamed account 220100 to KRA - VAT payable and created the new KRA - VAT receivable accounts. These accounts are now used as the Tax Payable and Tax Receivable accounts on all the tax groups task: 3725559 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#153646
This update enhances the payment term preview in the accounting module by using colors and borders to make the preview more visually distinct. This helps users quickly understand the results of their changes and clearly identifies the editable fields that control the preview. It’s a small improvement that boosts usability.
Original PR description
Emphasize the preview with colors and field borders to: - visually outline the preview result - clarify to the user that there are editable fields which customize the preview task: 3751514 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#155367
5 changes
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
This update corrects spelling mistakes in internal comments and documentation within the Knowledge app code. It does not change how users interact with Knowledge, but it helps developers maintain the feature more easily and avoid repeated misspellings in tools.
Original PR description
Currently, there are a lot of typos in the comments and docstrings of the Knowledge codebase. This commit aims to fix those typos. The auto-completion algorithms implemented on most code editors should then stop suggesting misspelled words. task-3725136
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
4 changes
Enhancements to existing features
When users try to restore a knowledge article item whose parent article is in the trash, they now receive a clear, helpful error message explaining that the parent article must be restored first. Previously, users saw a confusing technical validation error that didn't explain the actual problem or how to fix it.
Original PR description
When a user attempts to restore an article with a parent in the trash, a validation error occurs. This is due to the article item getting detached from its parent, violating an SQL constraint that…
When a user attempts to restore an article with a parent in the trash, a validation error occurs. This is due to the article item getting detached from its parent, violating an SQL constraint that mandates every article item to have a parent. The existing error message lacks clarity regarding the issue and its resolution. This commit aims to enhance the error message for this specific scenario. Steps to reproduce the error: 1. Open Knowledge 2. Create an article 3. Insert an embedded view of article items with /kanban or /list 4. Create an article item (-> The "New" button from the embedded view) 5. Delete the parent article using the "more options" panel 6. Click on the "Open the Trash" button 7. From the list view, click on the article item you created at step 4 8. Click on the "Restore" button from the banner => The user receives a validation error indicating that the article item should have a parent. This error occurs because the parent article is in the trash, and the article item cannot be detached from its parent. TO BE: The user should receive an error message indicating that the article item cannot be restored and that the user needs to restore the parent article first in order to restore the article item.
The barcode scanning application now responds much faster when handling large orders with many line items, especially on mobile devices. This update optimizes how the system checks which line is selected, reducing processing time from 7.5 seconds to 600 milliseconds when working with 2,000 lines, making the app more responsive and user-friendly for warehouse staff.
Original PR description
When the barcode application has many lines, it becomes slow and unresponsive, especially on mobile devices, which are widely used with the barcode app. Before this commit: Selecting a line in the barcode application triggers the rendering of the whole view. Each line rendered calls the getter `get selectedLine` multiple times, which is slow as it loops over all lines to find the currently selected line. After this commit: Do not call the getter to check whether the current line is selected or not. This reduces the complexity from O(n^2) to O(n). Benchmark: On a laptop and with 2000 lines, selecting the last line took 7.5s before, and 600ms with this commit. opw-3754849 Forward-Port-Of: odoo/enterprise#58182
This update improves Kenya's tax accounting setup by renaming and organizing VAT accounts. The changes establish dedicated KRA (Kenya Revenue Authority) accounts for tracking VAT that the company owes (payable) and VAT that customers owe the company (receivable). These accounts are now properly linked to all tax groups, ensuring accurate tax reporting and compliance with Kenyan tax requirements.
Original PR description
In this pr I renamed account 220100 to KRA - VAT payable and created the new KRA - VAT receivable accounts. These accounts are now used as the Tax Payable and Tax Receivable accounts on all the tax groups task: 3725559 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The payment term preview interface has been enhanced with better visual design using colors and field borders. This makes it clearer to users which fields they can edit to customize the preview results, improving the overall user experience when setting up payment terms.
Original PR description
Emphasize the preview with colors and field borders to: - visually outline the preview result - clarify to the user that there are editable fields which customize the preview task: 3751514 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr