Daily updates from Odoo
Friday, May 3, 2024
7 changes · master
New functionality added to Odoo
This adds barcode lookup integration so product details can be found and autofilled from barcode data. It helps teams create products more quickly in inventory workflows when a scanned item is not yet in the database.
Original PR description
*: product, pos, website_sale, stock_barcode product - Add a widget to display lookup results. - find products in barcodelookup.com from barcode field pos, website_sale - Include a barcode field in the product creation form. stock_barcode - Display a popup to create a product if the scanned product is not available in the database. Co-authored-by: meji-odoo meji@odoo.com Co-authored-by: rare-odoo rare@odoo.com task-3871453
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.
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
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)
Resolved issues and error corrections
This fixes missing Chilean localization behavior in Point of Sale after a prior system refactoring. Businesses using Chilean electronic invoicing in POS should see the correct local tax and document handling restored.
Original PR description
After the refactoring in enterprise 60017 certain modifications were missing from the Chilean localization. This commit adds the missing modifications to the Chilean localization for the POS. Community PR: odoo/odoo#164194
Production planning now filters purchase order lines correctly after a recent platform change altered how empty filters are interpreted. This prevents unrelated purchase data from being included, improving the accuracy of manufacturing planning information.
Original PR description
Since https://github.com/odoo/odoo/commit/450f5c9307a71d3ccd7b1ba2ce6d5d90f8a352f3, `[]` in `OR` domain combination is evaluated as a True leaf while it was a False leaf before. Meaning the domain on purchase order lines is always `True`. runbot-64554