Daily updates from Odoo
Monday, August 8, 2022
14 changes · master
Enhancements to existing features
The VoIP call record wording has been updated so call type is now described as call direction. This makes incoming and outgoing call information clearer and keeps the system aligned with related upgrade changes.
Original PR description
Upgrade: odoo/upgrade#3748 Part of task-2946324.
Resolved issues and error corrections
The timesheet planning report now shows the correct breadcrumb when opened from the related action. This reduces navigation confusion for users moving between project, timesheet, and planning views.
Original PR description
This commit fixed the breadcrumb entry created by the `open_timesheets_planning_report` model action.
This fixes the spreadsheet global filter side panel so offset options appear only for date filters, avoiding confusing settings on text or relational filters. It also corrects list names shown in the side panel, making filter setup easier to understand.
Original PR description
The offsets in the field matching of the global filters are displayed for text and and relational global filters. they should only be displayed for date fitlers. The name of the lists were also not properly displayed in the side panel. Odoo task [2946615](https://www.odoo.com/web#id=2946615&cids=1&menu_id=4720&action=333&active_id=2328&model=project.task&view_type=form)
This fixes an issue where the OnSIP VoIP credential status could incorrectly stay marked as set when it should be cleared. The change helps ensure users see the correct credential state and avoids misleading VoIP setup information.
Original PR description
The default value of areCredentialsSet is false, meaning that if the compute returns the field command `clear()`, we would expect the value to be reset to false. However, casting the `clear` command to a boolean would result in true, which is the opposite of what is expected. This commit pulls the call to super from the boolean cast so that possible field commands as return value aren't wrongly converted to true.
This update adjusts an automated test so it clicks only on an element that is actually visible. It helps keep accounting report testing stable after changes in the testing system, with no expected impact on everyday users.
Original PR description
This PR changes the selector s.t. the clicked element is visible, as it is now required by the tour system [1]. [1] odoo/odoo#96865
Code cleanup and technical improvements
This update removes redundant record existence checks after database searches across several business apps. It should slightly reduce unnecessary system work without changing user-facing behavior.
Original PR description
Making a `exists()` on a record got by a `search()` is useless and lead to a extra useless query. Remove them. WIP
Miscellaneous changes
The pull request makes a minor update to the repository README. This is documentation-only and does not affect business workflows, product behavior, or users.
In this commit ============== Improve vendor document XML 1. TAC_1 tag value get from invoice_partner instead of company_partner 2. TCR_1 tag value get from company_partner instead of invoice_partner 3. IDE section only sends in `Vendor Bill` 4. REF section should be after the CDN section 5. Added IAE section Forward-Port-Of: odoo/enterprise#30058
Original PR description
In this commit ============== Improve vendor document XML 1. TAC_1 tag value get from invoice_partner instead of company_partner 2. TCR_1 tag value get from company_partner instead of invoice_partner 3. IDE section only sends in `Vendor Bill` 4. REF section should be after the CDN section 5. Added IAE section Forward-Port-Of: odoo/enterprise#30058
** = sale_timesheet_account_budget Currently,In project update when try to create project update without any profitability in the analytic account of a project it will give you traceback. So in this commit fixed trace back issue by checking costs available in profitability if it available it give costs otherwise it gives o. task-2918914 Forward-Port-Of: odoo/enterprise#29466
Original PR description
** = sale_timesheet_account_budget Currently,In project update when try to create project update without any profitability in the analytic account of a project it will give you traceback. So in this commit fixed trace back issue by checking costs available in profitability if it available it give costs otherwise it gives o. task-2918914 Forward-Port-Of: odoo/enterprise#29466
Steps to reproduce: - Create a task not linked to a project - Go to the timesheet grid and make a custom filter that either "contains" a part of the task name either "does not contain" something random that is not a part of the task name Current behavior: Error with traceback Expected behavior: The created task should not appear as only tasks linked to projects can have timesheets Explanation: In the search function for timesheets we create a dictionnary of domains for the task
Original PR description
Steps to reproduce: - Create a task not linked to a project - Go to the timesheet grid and make a custom filter that either "contains" a part of the task name either "does not contain" something…
Steps to reproduce: - Create a task not linked to a project - Go to the timesheet grid and make a custom filter that either "contains" a part of the task name either "does not contain" something random that is not a part of the task name Current behavior: Error with traceback Expected behavior: The created task should not appear as only tasks linked to projects can have timesheets Explanation: In the search function for timesheets we create a dictionnary of domains for the tasks/projects called "domain_project_task", this dictionnary for its tasks domain does not contain a condition to avoid tasks without project (that should not be an option in a timesheet context). Later if a task with no project is in the possibilities it can create an error in the read_row_fake_value as task.project_id.name_get() returns an empty list. To solve the issue we add an element to the domain to restrict the search to tasks with project_id. opw-2906233 Forward-Port-Of: odoo/enterprise#30171 Forward-Port-Of: odoo/enterprise#29603
Before this commit, the column customization icon sometimes covers the last column header in list views (or the 'ordering carret' icon). Steps to reproduce: - open Survey in list view => Avg Score column header overlaps with the icon This commit adapts the headers last column's padding to avoid overlapping. task-2816987 Related PR https://github.com/odoo/odoo/pull/90584 Forward-Port-Of: odoo/enterprise#30144 Forward-Port-Of: odoo/enterprise#26974
Original PR description
Before this commit, the column customization icon sometimes covers the last column header in list views (or the 'ordering carret' icon). Steps to reproduce: - open Survey in list view => Avg Score column header overlaps with the icon This commit adapts the headers last column's padding to avoid overlapping. task-2816987 Related PR https://github.com/odoo/odoo/pull/90584 Forward-Port-Of: odoo/enterprise#30144 Forward-Port-Of: odoo/enterprise#26974
This adds a logger warning in case of a credit error returned by the call of partner_autocomplete. Forward-Port-Of: odoo/enterprise#30003 Forward-Port-Of: odoo/enterprise#29526
Original PR description
This adds a logger warning in case of a credit error returned by the call of partner_autocomplete. Forward-Port-Of: odoo/enterprise#30003 Forward-Port-Of: odoo/enterprise#29526
Add balance sheet and profit and loss for Bulgarian localization Task-id: 2694779 Signed-off-by: Ruben Gomes <rugo@odoo.com> Forward-Port-Of: odoo/enterprise#30127 Forward-Port-Of: odoo/enterprise#25895
Original PR description
Add balance sheet and profit and loss for Bulgarian localization Task-id: 2694779 Signed-off-by: Ruben Gomes <rugo@odoo.com> Forward-Port-Of: odoo/enterprise#30127 Forward-Port-Of: odoo/enterprise#25895
After this PR: The cron tasks that send l10n-cl daily sales book reports, and ask for their status have an auto-disable code from August 2nd, 2022. Since the requirement to send the daily sales book will be derogated by the SII from that date. Thus, in versions 14.0 and 15.0 even when the daily sales book code is still available, the cron task that sends this report will be automatically disabled by this PR from August 2nd 2022. The cron task that checks for the status will be disable
Original PR description
After this PR: The cron tasks that send l10n-cl daily sales book reports, and ask for their status have an auto-disable code from August 2nd, 2022. Since the requirement to send the daily sales book will be derogated by the SII from that date. Thus, in versions 14.0 and 15.0 even when the daily sales book code is still available, the cron task that sends this report will be automatically disabled by this PR from August 2nd 2022. The cron task that checks for the status will be disabled as well but from August 2nd. in order to ensure the status update for the July 2022 reports. If for any reason the user still has pending reports (only reports for July 2022), he has the chance to enable this by hand. Forward-Port-Of: odoo/enterprise#29620