Daily updates from Odoo
Navigate
Branch
Wednesday, July 15, 2020
6 changes
Resolved issues and error corrections
Point of Sale loyalty sample records are now treated as demo content instead of being loaded as regular operational data. This prevents example loyalty information from appearing in real business databases unless demo data is explicitly enabled.
Original PR description
`pos_loyalty` demo data were loaded as plain data. TaskID: 2296281
Point of Sale loyalty sample data is now treated as demo content instead of regular system data. This prevents example loyalty configuration from being loaded in non-demo environments, keeping production setups cleaner.
Original PR description
`pos_loyalty` demo data were loaded as plain data. TaskID: 2296281
This fix updates how manufacturing work order pedals communicate with connected devices. It helps prevent pedal input failures caused by earlier interface changes, making shop floor workflows more reliable.
Original PR description
`pedal_form` used to call the `iot_longpolling` and the call to addListener wasn't adapted even though its signature was changed in odoo/enterprise#11708. To avoid this kind of errors in the future, we use DeviceProxy to communicate with pedals.
Code cleanup and technical improvements
Marketing email and SMS tracking has been aligned with Odoo’s standard message notification system. This reduces duplicated tracking logic and helps keep campaign delivery statuses more consistent across marketing automation features.
Original PR description
[REF] mass_mailing: prepare mailing trace to merge with notification - The 'mail_mail_id' field has been change into 'mail_id' in the mailing.trace model. Update code according. - The field has been renamed 'ignored' field into 'canceled'. Update code according. [REF] mass_mailing(_sms): merge mailing trace with notification model Update codes after the merge of the mailing trace (mass mailing) and the mail notification model (mail) in community. Related to: - odoo/odoo#40409 - odoo/upgrade#828 task-2083854
Miscellaneous changes
- There was an error with the CSS rendering the QR code, the CSS was forcing the dimensions of the QR code to 180x180 pixels but the call to the controller that renders the QR code was returning an image of 600x100 pixels, that style was stretching the image and the QR looked odd, in order to fix it the dimensions of 180x180 were passed directly to the controller and the style was removed, this way the image is in native size. - There was another error with the original string, it was
Original PR description
- There was an error with the CSS rendering the QR code, the CSS was forcing the dimensions of the QR code to 180x180 pixels but the call to the controller that renders the QR code was returning an…
- There was an error with the CSS rendering the QR code, the CSS was forcing the dimensions of the QR code to 180x180 pixels but the call to the controller that renders the QR code was returning an image of 600x100 pixels, that style was stretching the image and the QR looked odd, in order to fix it the dimensions of 180x180 were passed directly to the controller and the style was removed, this way the image is in native size. - There was another error with the original string, it was being chopped by an old style that was not necessary since the default style for divs makes the automatic jumplines. **BEFORE** <img width="1118" alt="Screen Shot 2020-07-14 at 12 22 58" src="https://user-images.githubusercontent.com/3836433/87457175-95c67400-c5cd-11ea-971e-b5ff348efdee.png"> **AFTER** <img width="1118" alt="Screen Shot 2020-07-14 at 12 24 31" src="https://user-images.githubusercontent.com/3836433/87457184-98c16480-c5cd-11ea-8d2f-95c19f648165.png"> opw#2284258 Forward-Port-Of: odoo/enterprise#11840
Steps to reproduce: - install accounting, l10n_be - change your company name so that it includes "&" (eg: "cool & co") - set a random vat number for your company - go to accounting > reporting > Partner VAT Intra > export (xml) - go to myminfin.be > select the interVAT portal and upload the file as a periodic declaration Previous behavior: myminfin refuses the document (error notification). The special character "&" in the company name triggers the error Current behavior: special
Original PR description
Steps to reproduce: - install accounting, l10n_be - change your company name so that it includes "&" (eg: "cool & co") - set a random vat number for your company - go to accounting > reporting > Partner VAT Intra > export (xml) - go to myminfin.be > select the interVAT portal and upload the file as a periodic declaration Previous behavior: myminfin refuses the document (error notification). The special character "&" in the company name triggers the error Current behavior: special characters are escaped from the company name opw-2295963 Forward-Port-Of: odoo/enterprise#11826