Daily updates from Odoo
Friday, August 30, 2019
6 changes · master
Enhancements to existing features
Point of Sale can now print Arabic receipts by sending the receipt as an image instead of plain text. This improves receipt readability for Arabic-speaking customers and helps businesses using ESC/POS printers serve those customers more reliably.
Original PR description
Make it possible to print Arabic tickets by printing images instead of text. Because escpos cannot print in Arabic the pos should send images instead of text to solve this problem. task: https://www.odoo.com/web#id=1872569&action=333&active_id=1428&model=project.task&view_type=form&menu_id= 
This change updates Odoo's IoT and Point of Sale integration so PoS can work with the Blackbox IoT driver. It also improves how multi-word device types are displayed on the IoT homepage, making device names easier to read for users.
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
Fields marked to show only in read-only or edit mode now behave correctly in embedded list views inside forms. This keeps list headers and values consistently hidden or shown, reducing confusion when users edit records.
Original PR description
Task: https://www.odoo.com/web?#id=1949618&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.a80bef5d908739485b8ca61ee4595be8 task- 1949618 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
Point of Sale users can now enable the IoT module directly from the PoS settings when it is not already installed. This makes it simpler to connect and manage IoT Boxes, with a direct link to the IoT Boxes overview once available.
Original PR description
Forward-port of different #3072 to 12.1 as the field is_installed_iot is not necessary anymore when you can update everything.
Resolved issues and error corrections
This fixes an installation problem when using demo data with the India sales localization module. Demo records are now loaded as demo data instead of regular data, helping test or trial databases install correctly without affecting normal business use.
Original PR description
Task: https://www.odoo.com/web#id=2049679&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.9875706d9cb0fbc1e2827d4bf72dc578 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
This fixes a test setup issue in the point of sale IoT scale workflow that could interfere with other automated checks. By isolating the scale test behavior, future changes can be validated more reliably without unintended side effects.
Original PR description
Before this, in the pos_scale js tour, `DeviceProxy` was overriden, which causes issues when other tests use the class. Instead now we extend DeviceProxy and replace the scale in `posmodel.iot_device_proxies` with an instance of that new class.