Thursday, February 15, 2024
6 changes · master
Enhancements to existing features
The web interface now avoids automatically opening the on-screen keyboard when users select values from certain menus on touch devices. This makes mobile and tablet interactions smoother and reduces interruptions during everyday navigation.
Original PR description
This commit brings back the use of this hook, that was lost during the dropdown refactor [1]. The hook is safer to use, since it does not focus the input when a touch device is being used. This prevents having the virtual keyboard popping up on the screen too often when simply selecting a value in a list. [1]: 28c366746ddf144313a508159d6a22d2726159fb
Invoices and credit notes sent through Send & Print now display a clear Sent stage, making it easier for users to distinguish items that are only posted from those already sent to customers. This improves visibility in the invoice workflow without changing the underlying accounting status.
Original PR description
New stage 'Sent' for invoices/Credit notes sent with Send & Print. Users can see difference between Posted and Sent more easily. - Add state 'sent' to account move. - Add this state to the widget bar, but only visible for invoices and credit notes. For those, only visible if move is sent. - Change invisibility criteria for buttons, so they still show in sent moves. Still to do by updating the commit once I have olma's perspective: add decoration to the sent stage, add 'sent' to posted filter. task-3639958
Website editors can now choose whether dynamic product carousels show every product variant or only the main product. This gives businesses cleaner merchandising options while still letting shoppers configure variants when needed.
Original PR description
**Version** - master Before this PR, the dynamic product carousel displayed the products including their variants. After this, users can decide whether they want to show the variants or not. With this PR, - Introduced a toggle button in the editor panel for a dynamic product carousel to switch between `products with variants` and `products without variants`. 1. Added `show variant` toggle option:  2. Product carousel with show variant = False. It will display only the main product.  3. Product carousel with show variant = True. It will display all product variants.  task-3266832 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory operation settings now determine whether serial-numbered products should be treated as tracked or untracked during stock moves. This makes warehouse workflows more consistent when both options to create new serials or use existing ones are disabled.
Original PR description
Before this commit: =================== There is no relationship between the 'create new' and 'use existing one' fields and serial-tracked products. If both fields are disabled, there is no effect on serial-tracked products. After this commit: ================== - If both 'create new' and 'use existing one' fields are disabled in the inventory operation type, then the serial-tracked product lines will be considered as non-tracked product. - Test cases are update because both fields 'create new' and 'use existing one' will be access through picking_id in stock_barcode. Task: 3443228
Invoice and credit note lists now show whether each document has been sent using Send & Print. Users can also filter documents by sent or not sent status, making follow-up and tracking easier.
Original PR description
This commit adds information about the sent state to the outgoing moves views, making it easier to see if an invoice/CN was sent via Send & Print or not. A new Selection computed field was created to display whether move was 'Sent' or 'Not Sent' as a badge. This commit: - Creates a computed selection field, not stored, that changes according to is_move_sent value - Adds column Sent in list view, displaying a bagde - Adds filters Sent and Not Sent to invoices and credit notes task:3689248
Barcode delivery flows now treat serial-tracked items like regular product lines when creating or using serial numbers is disabled for the operation type. This makes the number pad available and provides a more consistent, simpler interface for warehouse staff.
Original PR description
Before this commit: =================== There is no relationship between the 'create new' and 'use existing one' fields and serial-tracked products. If both fields are disabled, there is no effect on serial-tracked products in barcode. After this commit ============= - If both 'create new' and 'use existing one' fields are disabled in the inventory operation type, then in the barcode, the serial-tracked product lines will be considered as one line, like non-tracked product line. - The 'Digi pad (Number pad)' in the barcode will be visible when both fields are disabled. - The UI view for serial-tracked products will be the same as for non-tracked products when both fields are disabled in the barcode." Task: 3443228