Tuesday, September 17, 2024
11 changes · saas-17.4
Resolved issues and error corrections
DIN5008 invoices, sales, purchase, and repair documents now display dates using the user's configured date format instead of always showing YYYY-MM-DD. This keeps printed business documents consistent with company and localization preferences.
Original PR description
Versions -------- - saas-17.4+ Steps ----- 1. Set document layout to DIN5008; 2. create an invoice; 3. print invoice. Issue ----- Dates are formatted as YYYY-MM-DD, regardless of date formatting preferences. Cause ----- Commit 6d36b380315 moved DIN5008 formatting logic from Python to XML. In doing so, dates were no longer getting formatted. Solution -------- Add the `date` widget to the XML fields to format them accordingly. opw-4172138 Enterprise PR: https://github.com/odoo/enterprise/pull/70142
The CRM Sales menu now opens My Quotations as a list of quotations instead of starting on a new quotation form. This helps sales users quickly review their existing quotations and avoids confusion when navigating from CRM.
Original PR description
In version 17.4, "My Quotations" (in the CRM module) opens a new quotation in the form view, rather than displaying a list of all quotations. Steps to reproduce the issue: Go to the CRM module. Navigate to Sales -> My Quotations. This fix ensures that the "My Quotations" menu correctly opens the list view of all quotations. OPW-4150236 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Grouped Kanban views no longer show record counts when there are no real records and only sample data is displayed. This avoids misleading users with counts that do not reflect actual business data.
Original PR description
Since [1], a display of the number of records was added in a kanban view when grouped. This commit removes this display when the Kanban view does not have any records and the sample data is used. [1]: https://github.com/odoo/odoo/commit/f486bca505cb6ef9bf477e5d02d06c420b27de56
Users can once again filter tasks by project when adding a blocking task. This makes it easier to find tasks from another project without searching across all projects manually.
Original PR description
Before this commit, due to some changes in #153989, the project field is no longer displayed in the search view displayed in the modal displayed when the user would like to add a task as blocking…
Before this commit, due to some changes in #153989, the project field is no longer displayed in the search view displayed in the modal displayed when the user would like to add a task as blocking task. This commit reverts the invisible condition added on that field in the search since that change was not really needed for project sharing since project sharing feature does not really use that search view. Steps to reproduce: ================== 1. Install project 2. Enable `Task dependencies` feature in Settings > Configuration of project app. 3. Create a project with `Task dependencies` feature enabled. 4. Add a new task in that project and click on `Add a line` in `Blocked By` tab inside the form view. 5. Search another project inside the search by taping the name of another project. Current behavior ---------------- The project field is not in the search and so it is impossible to quickly search tasks in another project. Expected behavior ----------------- The project field should be displayed in the search view to be able to search tasks in another project instead of search in all projects (if the default filter is removed).
This fixes an issue where archived product pages could fail to preview on the website when certain product recommendation blocks were present. Website managers can now access those archived product pages without encountering an error, improving reliability during catalog maintenance.
Original PR description
Currently, an exception was generated when the user added a dynamic filter like 'Recently Sold Products', 'Accessories for Product', or 'Products Recently Sold With Product' to the product website…
Currently, an exception was generated when the user added a dynamic filter like 'Recently Sold Products', 'Accessories for Product', or 'Products Recently Sold With Product' to the product website view and tried to preview archived products from website. Steps to produce: 1. Create a product with Alternative Products from the sales tab. 2. Archive this product 3. Click on Go to Website Icon >> error occurs Error: `TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'` This is because we receive 'product_template_id' as None, and when [1] tries to convert it onto Integer, it will generate an exception. With the recently merged https://github.com/odoo/odoo/commit/d526b6c70bcf21bf84be83615daefee5ad972d14, added this code but not handled case with product_template_id as None. This commit will resolve the above issue by setting 'current_template' as false when `current_template` is None. [1] - https://github.com/odoo/odoo/blob/2aa4ee0d66af8079694a42b84d341fe118f12c0b/addons/website_sale/models/website_snippet_filter.py#L216 sentry-5704306029 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Customer invoices now display the payment reference field as expected. This helps users see and confirm the correct payment details directly on the invoice, reducing confusion during payment follow-up.
Original PR description
In version 17.4, the payment reference field is invisible for customer invoices. This fix ensures that it is visible for customer invoices. OPW-4156009 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sale order totals with very large amounts now adjust their text size in the customer portal so the amount stays on one line. This improves readability and presentation for customers viewing sale order previews.
Original PR description
Version: - saas-17.4 Steps to reproduce: - create a sale order - add a product with bigger amount - open customer preview Issue: - when total amount is too big it shows amount in two lines which is not looks good. Cause: - total amount is displayed in two lines due to font size of text is not get reduce according to length of amount Solution: - adapt size of text based on length of total amount to display amount in one line task-4103473 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
DIN5008 invoices and related reports now display dates using each user's preferred date format instead of always showing a fixed YYYY-MM-DD style. This makes printed documents clearer and consistent with company localization settings.
Original PR description
Versions -------- - saas-17.4+ Steps ----- 1. Set document layout to DIN5008; 2. create an invoice; 3. print invoice. Issue ----- Dates are formatted as YYYY-MM-DD, regardless of date formatting preferences. Cause ----- Commit 7f63dab38a6 moved DIN5008 formatting logic from Python to XML. In doing so, dates were no longer getting formatted. Solution -------- Add the `date` widget to the XML fields to format them accordingly. opw-4172138 Community PR: https://github.com/odoo/odoo/pull/180415
This fixes an error that occurred when users tried to set the DateV Vendor field on a partner contact in the German reporting module. The change ensures the company-specific value is handled correctly, preventing interruptions in accounting data setup.
Original PR description
Open a partner contact Go to Accounting tab Try to set 'DateV Vendor' field Issue: Traceback will raise ''' psycopg2.errors.UndefinedColumn: column "l10n_de_datev_identifier" does not exist LINE 3: WHERE l10n_de_datev_identifier != 0 ''' This occurs because l10n_de_datev_identifier is set as comapny_dependant, so its value isn't stored on the model table, but it is registered as `ir.property`. opw-4163804
Fixed an issue where users could not find Sales Order Items when adding time billing details to a Helpdesk ticket. This restores expected search results, helping teams link support work to the correct customer billing item.
Original PR description
Steps ----- On runbot: 1. Enable Time Billing for a Helpdesk team. 2. Create a ticket for Deco Addict. 3. Remove the "Sales Order Item". 4. Try to search a "Sales Order Item". ** No results appear ** Change ----- Correct domain, `commercial_partner_id` needs to be unquoted or it will be interpreted as a string. opw-4177705
Project update panels now display budgets only when they are confirmed or done, excluding revised budgets. This keeps project budget information aligned with finalized statuses and reduces confusion for users reviewing project progress.
Original PR description
Before this commit: - In the project update, budgets in the 'Confirmed', 'Revised' and 'Done' state are visible in the project update panel. After this commit: - In the project update, only budgets in the 'Confirmed' or 'Done' state are visible in the project update panel. Task-4180079