Friday, October 18, 2024
5 changes · saas-17.2
Resolved issues and error corrections
This fixes demo data setup for several country-specific payroll accounting and Mexican invoicing modules after a platform change stopped loading demo data by default. It ensures trial or demo environments include the expected sample configuration, reducing setup issues during evaluation and testing.
Original PR description
After https://github.com/odoo/odoo/commit/ca5dc74def3760bbd08b81c2f723392c444dc677 the demo loading is not done by default. It should be set explicitly in the demo data. task-no
General Ledger spreadsheet exports now handle journal entries with an empty number field without crashing. This prevents export errors and helps finance users reliably download reports even when some entries are unnamed.
Original PR description
Steps to reproduce: ------------------- - Create or rename any journal entry to have an empty name (Number). - Open GL and make sure that this entry is included in the report. - Click XLSX export, will give error: "TypeError: float() argument must be a string or a real number, not 'NoneType'". Cause ----- Since #50004, dynamic column width calculation for xlsx was added without handling the case where a filed can be empty. A typecast to float was done with exception for ValueError only. Fix --- Add condition to check if the field is non empty before casting.
Project visibility changes will continue to appear in the project’s own activity log, but they will no longer be repeated in individual task discussions. This keeps task chatter cleaner and focused on task-specific updates.
Original PR description
The project's visibility should be tracked in the chatter of the project, but not in the tasks chatter. This PR will set the tracking of the "project_privacy_visibility" field to False, so that it is no longer displayed in the tasks chatter. task-4210181
Closing a template-saving dialog from the full mail composer no longer triggers an error. This prevents an unnecessary traceback and keeps the message composer stable when users close related pop-ups before saving or cancelling.
Original PR description
- open a composer in full view - click to save a template - close the modal before saving/cancelling - get a traceback The issue is that `onClose` when passed to an action is called even if the dialog closed did not come from the original action. This seems intended as documented by `_removeDialog`. `onClose` needs to be able to handle the composer not being in the DOM at all. task-4246399
Receipts in Point of Sale no longer show a product/cart image when an order has no items. This avoids confusing or cluttered receipt previews and makes empty orders display more appropriately.
Original PR description
Before this commit: == - When there is no order line(s) in the order, a message saying 'Start adding products' along with a cart icon will be displayed on the receipt. After this commit: == - Added a check for the product image, which will be displayed when order line(s) exist. task - 4267700 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr