Monday, April 26, 2021
4 changes · master
Resolved issues and error corrections
This fixes an error that could occur when using the calendar in month view on a mobile device. Users can now open mobile calendar month view with events without running into a blocking issue.
Original PR description
This PR fix a bug introduced in odoo/odoo@ac13964244f54f268635b3a5d209d0b8e7d78076. On mobile, 'this.el' is empty because '_getFullCalendarOptions' is overridden and so the scope is not the same, instead we use the FullCalendar view element. Note : the use of _.str.sprintf is not needed as it introduces an unnecessary overhead. Steps to reproduce: * Open Odoo (Mobile) * Go in a calendar view * Select month view (with a event inside) => BUG -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents a web test helper from trying to load a messaging component when the related mail module is not present. It keeps automated checks stable in setups that do not include that module, reducing false failures during development and maintenance.
Original PR description
Follow up on bd67479316dfb19021de06b7007d2ae3c84284e3
This test file is not respecting Odoo module dependencies.
If the module is not defined, calling `[Symbol.for("default")]` will crash.
Old require system didn't have this syntax, the similar guard was done just
before using the class.The CRM Leads reporting list now uses the correct lead list and lets users open the matching lead form from that view. This makes reporting navigation consistent with graph, pivot, and dashboard views and removes confusion when reviewing lead analysis.
Original PR description
PURPOSE When we go to CRM -> Reporting -> Leads, It shows the analysis of leads. We can open the form view of every leads from the different views wise Graph, 'Pivot', and 'Dashboard' except the 'List' view and it's a bit odd. We should be able to open the form view from corresponding leads in the list view. Currently, the view which is coming in the 'List' view is not correct and should be replaced by the same view which is rendered by action 'crm_lead_all_leads' SPECIFICATIONS Initially, we have to fix the correct list view to be rendered and that is 'crm_case_tree_view_leads' instead of 'crm_case_tree_view_oppor'. Next, we have added the form view in addition to the list view in view_ids of the corresponding action. This is the goal of this commit. LINKS PR #17839 Task 2497936
This fixes an issue where the calendar could show an error on mobile when users opened the month view with events. The change helps mobile users view and manage calendar entries reliably without interruption.
Original PR description
This PR fix a bug introduced in odoo/odoo@ac13964244f54f268635b3a5d209d0b8e7d78076 Before this commit, on mobile, 'this' was undefined because '_getFullCalendarOptions' was overridden and so the scope was not properly passed along. After this commit, now we bind the event with the FullCalendar instance to keep the original 'this' through the override. Steps to reproduce: * Open Odoo (Mobile) * Go in a calendar view * Select month view (with a event inside) => BUG