Sunday, April 7, 2024
4 changes
2 changes
Miscellaneous changes
This pr backports some fixed for python3.11 and introduces new fixes for Ubuntu Noble, such as timezones. Forward-Port-Of: odoo/odoo#160842 Forward-Port-Of: odoo/odoo#151989
Original PR description
This pr backports some fixed for python3.11 and introduces new fixes for Ubuntu Noble, such as timezones. Forward-Port-Of: odoo/odoo#160842 Forward-Port-Of: odoo/odoo#151989
Commit[1] aimed to fix a layout issue inside the eCommerce categories form view on mobile devices. Prior to Commit[1], a .oe_left class was applied to the content of the sheet, moving it "out of the flow", resulting in a wrong sized form_sheet. To fix the issue, we removed the `.oe_left` class, but doing such a change introduced a risk for users's customizations. To prevent this issue, we reintroduce the initial lines, and will provide a fix in another PR. Commit[1]: 9837396 Rela
Original PR description
Commit[1] aimed to fix a layout issue inside the eCommerce categories form view on mobile devices. Prior to Commit[1], a .oe_left class was applied to the content of the sheet, moving it "out of the flow", resulting in a wrong sized form_sheet. To fix the issue, we removed the `.oe_left` class, but doing such a change introduced a risk for users's customizations. To prevent this issue, we reintroduce the initial lines, and will provide a fix in another PR. Commit[1]: 9837396 Related to task-3847917 Forward-Port-Of: odoo/odoo#160859 Forward-Port-Of: odoo/odoo#160701
2 changes
Miscellaneous changes
Follow-up of odoo/odoo#151714: To avoid error like "Loading module from “/web/static/lib/pdfjs/build/pdf.mjs” was blocked because of a disallowed MIME type (“application/octet-stream”)." when JavaScript Modules using .mjs file extension are served from some common HTTP server (i.e. Nginx [1]), this commit renames PDF.js assets who uses this extension (introduced in commit [2]) to a more traditional .js extension. opw-3844829
Original PR description
Follow-up of odoo/odoo#151714: To avoid error like "Loading module from “/web/static/lib/pdfjs/build/pdf.mjs” was blocked because of a disallowed MIME type (“application/octet-stream”)." when JavaScript Modules using .mjs file extension are served from some common HTTP server (i.e. Nginx [1]), this commit renames PDF.js assets who uses this extension (introduced in commit [2]) to a more traditional .js extension. opw-3844829 opw-3850119 [1]: https://trac.nginx.org/nginx/ticket/2216 [2]: odoo/odoo@0216dc4f9ecef49e8b799bb0d52b59250f5f23e8 Forward-Port-Of: odoo/enterprise#60162
Steps to reproduce: - create a new spreadsheet - insert an image - duplicate the spreadsheet - delete the original spreadsheet (deleted, not archived) => the image in the duplicated spreadsheet is gone. An upgrade script will fix the existing wrong attachment. A better version version of this fix will come in master. Task: 3775364 Forward-Port-Of: odoo/enterprise#59637 Forward-Port-Of: odoo/enterprise#58295
Original PR description
Steps to reproduce: - create a new spreadsheet - insert an image - duplicate the spreadsheet - delete the original spreadsheet (deleted, not archived) => the image in the duplicated spreadsheet is gone. An upgrade script will fix the existing wrong attachment. A better version version of this fix will come in master. Task: 3775364 Forward-Port-Of: odoo/enterprise#59637 Forward-Port-Of: odoo/enterprise#58295