Daily updates from Odoo
Friday, May 3, 2024
7 changes · master
Enhancements to existing features
Ecuador electronic documents can now include a product auxiliary code on invoices and credit notes. This helps businesses meet local electronic invoicing requirements and makes the code visible on invoice reports.
Original PR description
- Add a new field to the product template for the auxiliary code required for electronic documents
Adds options in the Barcode app to hide the expected quantity during inventory counts and require counting all products in a scanned location. This helps businesses get more accurate physical inventory results by reducing shortcut counting and lowering the risk of missed items, while also fixing scrolling for grouped barcode lines.
Creating a spreadsheet in Documents will no longer show a template selection dialog when no templates are available. This restores the previous behavior, reducing unnecessary steps for users who just want to create an empty spreadsheet.
Original PR description
This reverts commit 6d0af6cf42dbf033fe2b886d8ba60daec611f104. Task: 3761476
This update streamlines accounting-related test preparation so tests create fewer unnecessary default records, such as extra currencies and companies. It helps keep internal validation faster, simpler, and easier to maintain without changing day-to-day product behavior.
Original PR description
Removal of chart_template_ref and other arguments of setUpClass Avoid second currency and company created by default For currencies setup in test, avoid the data object Also removed the Test class `TestSaleTimesheetEnterpriseMultiCompany` as it is not used
Point of Sale users now use one input field for customer contact details instead of separate fields for WhatsApp and email. The available send options for SMS, WhatsApp, and email are highlighted automatically based on what the user enters, making receipt sharing clearer and faster.
Original PR description
Before this commit: =================== There were two separate input boxes for WhatsApp and email, each functioning differently. After this commit: =================== With this commit, a single input box is implemented to handle all communication channels, including SMS, WhatsApp, and email. Buttons will now dynamically highlight and activate based on the input value. task- 3411407
Document-related screens now allow long titles to wrap onto multiple lines instead of being cut off or forced into one line. This makes longer folder, rule, and facet names easier for users to review without losing context.
Original PR description
Earlier the title was stuck to the single line in various models of the documents. This PR addresses the issue and provides multiline support for the titles. Task-3870149
Users can now collapse the Documents inspector panel to free up more space for viewing and previewing documents. The collapsed panel keeps quick access to reopening the inspector and opening the chatter, improving usability without removing key actions.
Original PR description
This PR adds the possibility of collapsing the documents inspector panel in order to have more space to view and preview documents. It adds a `toggle button` to the documents inspector. In the…
This PR adds the possibility of collapsing the documents inspector panel in order to have more space to view and preview documents. It adds a `toggle button` to the documents inspector. In the uncollapsed form of inspector, this button allows to 'fold' the inspector. While in the collapsed inspector form, the toggle button allows to 'unfold' the inspector sidebar. Apart from the 'unfold' button, the collapsed sidebar contains the 'open chatter' button, which works similarly as it does in the uncollapsed form of inspector. **Technical:** The boolean `isFolded` is introduced to manage the folded/unfolded state of the documents inspector. On the basis of this boolean, all the inspector sections are displayed as follows: _**`isFolded` is 'True' i.e. the inspector is collapsed:**_ - - It applies the sidebar width and displays only toggle and chatter buttons. `d-flex` class is added to sidebar and margin is added to chatter button to ensure the buttons are aligned properly. - Does not display documents preview and info sections. - Applies the title 'Unfold' to the toggle button and changes its icon to indicate the same. _**`isFolded` is 'False' i.e. the inspector is uncollapsed:**_ - It applies the documents inspector width and displays all inspector buttons. - It now displays both the documents preview, and info sections. - Applies the title 'Fold' to the toggle button and changes its icon to indicate the same. This PR adds a margin to both, toggle and chatter buttons, to ensure that there is an appropriate gap between the buttons in the uncollpased form of the inspector. Task: [3741366](https://www.odoo.com/web#id=3741366&menu_id=4722&cids=2&action=333&active_id=965&model=project.task&view_type=form)