Daily updates from Odoo
Monday, August 12, 2019
17 changes
Enhancements to existing features
Accounting processes can now recalculate invoice details for several invoices in one operation instead of handling them one by one. This improves efficiency for batch updates and automated workflows that need to refresh invoice lines.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: You can only recompute one invoice at a time (through xml e.g.) Desired behavior after PR is merged: You can recompute multiple at the same time -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The partner/contact form is streamlined to make everyday customer and supplier setup easier. Bank account details now show whether an IBAN appears valid, and new partners are treated as companies by default to better match common business workflows.
Original PR description
Description of the issue/feature this PR addresses: Clean form view and add a new widget to check if IBAN account number is correct Current behavior before PR: Desired behavior after PR is merged: The view is cleaned and a widget indicate is the IBAN account number is correct on accounting page of partner. When creating a partner, it's a company by default. id=2025362 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the usability of employee profile pages, making HR-related information easier to access and manage. It also aligns related user profile views across communication, forum, and live chat areas for a more consistent experience.
Original PR description
Description of the issue/feature this PR addresses: Improve the usability of the employee profile in 12.2 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
The web export wizard is easier to use, with searchable and alphabetized fields, simpler template controls, and clearer tools for managing exported fields. Exports now use XLSX, allowing much larger spreadsheets and better compatibility with modern office tools.
Original PR description
This PR includes various improvements in the export wizard as follow.
- Remove options in the middle ('add', 'remove', etc).
- Add 'handle' widgets and 'bin' icons to edit the list of fields to export.
- Export to XLSX instead of XLS. With XLSX format export rows limit are increased to `1048576`.
- Added search bar to filter fields by keywords.
- All available fields are sorted alphabetically (case sensitive).
- An export mode is now handled with a single checkbox instead of two radios.
- Improve UX/UI for export templates.This update makes purchasing screens and related unit-of-measure and stock views easier to use. It helps purchasing teams work more efficiently by streamlining common interactions and improving the clarity of information shown during purchase operations.
Original PR description
Description of the issue/feature this PR addresses: Improve usability task 2040826 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
Cash basis accounting now uses the actual payment date rather than the invoice date. This makes tax and accounting records better reflect when money was received or paid, improving reporting accuracy for businesses using cash basis rules.
This update prevents point-of-sale settings from being changed while related sessions, including rescue sessions, are open. It helps avoid mismatches between sales already entered and the payment, journal, or pricing options available in the POS configuration.
Original PR description
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
Form pages now keep status indicators and action buttons on one line by automatically moving extra buttons into a More menu when space is limited. This makes forms easier to read and use, especially on smaller screens or crowded records.
Original PR description
This rev. improves the way the content of the <header> tag in form views is rendered, such that the statusbar buttons are always displayed in a single line. The buttons take as much space they need, and the statusbar take the remaining space. It computes how many buttons it can display, and if there is not enough space for all buttons, the remaining ones are automatically put in a 'More' dropdown. Task 1932190 Co-authored-by: Parth Choksi <pch@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
Documents now shows a progress bar for each file being uploaded in the kanban view. This gives users clearer feedback while uploads are in progress, reducing uncertainty when adding documents.
Original PR description
This commit adds progress bars to represent the uploads in documents, each upload in documents has a progress bar in the kanban view. Task: #2002553
Payroll contract creation now narrows salary structure type choices based on the relevant company and automatically fills the field when only one option is available. This reduces manual entry and helps prevent selecting an incorrect payroll setup for employees.
Original PR description
When creating contract, the field structure type is empty by default. Domain on hr.contract for structure type depends of company. If there are only one structure type available for this company, set it by default. id=2034498
The Gantt planning view now handles its own validation within the Gantt module, making future maintenance simpler and less risky. It also adds a safer way to choose which form opens from Gantt items, reducing the chance of context-related issues for users.
Helpdesk teams now have a clearer option for when tracked time should be reinvoiced to customers. Ticket forms are simplified so project and task details only appear when they are needed for customer billing, reducing confusion for support teams.
Shipping teams can now choose whether the sender or recipient pays duties and customs fees for dutiable international shipments. This makes DHL, FedEx, and UPS shipping charges more flexible and better aligned with customer agreements or business policies.
Original PR description
Added the possibility to choose who will pay the tax. Task id: 1970027 Add field to DHL
The form status bar layout has been improved so status steps adapt better when space is limited. This helps users read and navigate workflow statuses more comfortably, especially on smaller screens or crowded forms.
Original PR description
This rev. is the counterpart of odoo/odoo#34293
Resolved issues and error corrections
This fix improves how portal message attachments are handled so attached files are properly linked and emails still send even when the message text is empty. It also makes send failures appear immediately with clearer user-facing errors instead of a generic crash page.
Original PR description
Follow up of 61de1c2 - Remove the dangerous **kw from the route in favor of specifying useful args. - Use the existing method to link attachments to message instead of duplicating the logic in an incomplete manner. - Fix an issue where the actual email would not be sent if the message was empty but an attachment was defined. - Ensure the send attempt is done immediately instead of after the cr commit. The goal is to show potential error messages correctly to the user with the crash manager instead of a generic error page. This also increases the send timeout and prevents the error in the first place in most situations.
This fix ensures Odoo can still format numbers and amounts when a user's browser language is not installed in the system. It prevents avoidable errors for customers using unsupported language settings and keeps pages or reports working normally.
Original PR description
- Since commit https://github.com/odoo/odoo/commit/f5cd483216af01001f44a41f7d48f042b9f56ff9 the method `_lang_get` doesn't fallback on a language if the asked language isn't found. This causes issues with `formatLang` that uses the language on the context, which is the language set on the client browser (in most cases). Meaning, if 'en_US' is the only installed language and a customer has set his browser to `fr_FR`, when calling `formatLang` this will crash since no language has been found and `format` on `res.lang` requires a singleton. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes incorrect tax calculations when invoices or point-of-sale orders use layered or price-included taxes. Businesses get more accurate tax journal entries and totals, reducing accounting errors in complex tax scenarios.
Original PR description
task: https://www.odoo.com/web#id=39945&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr