Friday, February 4, 2022
3 changes · master
Enhancements to existing features
The barcode app now handles delivery package barcodes correctly again, including selecting the right package when packing shipments. It also starts faster by reducing background server calls, while outdated barcode handling on stock picking forms has been removed so scanning is focused in the barcode app.
Original PR description
Barcode scanning no longer handled scanning delivery package barcodes correctly due to a refactoring of stock_barcode at some point. To address this PR addresses the following 3 improvements: 1. Reduce the number of RPCs at start of barcode app + make it easier to load additional records by barcode in other modules via extension without additional RPC calls. 2. Add in the ability to scan delivery package barcodes via the barcode app (and remove obsolete code that no longer worked). 3. Remove barcode handing from `stock.picking` form view to prevent having to do parallel maintenance when we expect most users to just use the barcode app to do their barcode scanning. Community PR: odoo/odoo#49337 Upgrade PR: odoo/upgrade#1703
DHL deliveries now include the information needed to generate commercial invoices for international shipments, including India-specific declarations. The update helps shipments meet customs requirements and adds support for returns and optional shipping insurance.
Original PR description
Before this commit, the required informations to generate a commercial incoice were not sent to dhl. **Commercial invoice Notes**: - We only create commercial invoices for international shipping and India (India needs to declare goods in order to ship). - The commercial invoice is left as an attachment to a lognote in the concerned shipping. - The InvoiceNumber is chosen in the following way: `invoice_name` if invoice is 'posted' *or* `sale_order_name` if exists *or* `picking_name`. **Declaration of Goods Notes**: - Weight == GrossWeight - the Quantity is expressed in terms of `pieces`, which is a generic term. - the description is the name of the product, limited to 75 characters. task-2701428
Expense receipt uploads now feel cleaner and faster: redundant attachment messages are removed, newly scanned expenses are easier to spot, and OCR processing starts sooner after upload. The update also prevents errors when currency recognition fails in multi-currency setups.
Original PR description
Old enterprise PR - odoo/enterprise#23360 Community PR - odoo/odoo#81904 Upgrade PR - odoo/upgrade#3206 This commit is addressing the following: we used to log a message when we attached the receipt to the expense form. The message is redundant with the overview available in the chatter and the files attached to the record. Thus we removed it. We show the expenses that are scanned from the list view (before they are processed by OCR and fields updated) at the top of the list - muted. Now we trigger cron (that updates expense fields that are processed by OCR) 'immediately' after uploading attachments. Before, in case we had multiple active currencies and OCR didn't manage to recognize the currency, we got an error. Now it is fixed. task - 2687999