Daily updates from Odoo
Navigate
Branch
Tuesday, April 28, 2020
13 changes
Enhancements to existing features
The mobile app now refreshes account information when a user profile changes, such as name, language, or profile picture updates. This prevents mismatches between the server profile and what employees see in the mobile app.
Original PR description
Before this commit, the mobile device wasn't notified on user's profile modifications, like updated username, account picture, etc.. This creates a data desynchronization between the user's profile on the server and in the mobile app. This commit adds the necessary native bindings and hooks into both the startup of the webclient and when the user changes his own preferences to trigger an update in the mobile application. Task ID: 2176479
Field service task views no longer show a date-range arrow when no date is set. This makes the task screen cleaner and avoids confusing users with an empty date indicator.
Original PR description
Task ID 2234526
New tags in several apps are automatically assigned a random color when created. This saves users time, makes the color option easier to benefit from, and ensures tags appear on kanban cards by default.
Original PR description
Purpose ======= For a tag to be displayed on a kanban card, it needs to have a color set. We won't be changing that behaviour, since it would mean having two options > the color, and whether or not to show it in the kanban The purpose of this task is to set a color on new tags to make the user save a bit more time, set a color for him as he might not find the feature, and make sure the tag will be on the kanban cards. Specification ============= For each of the following models, at creation, set a random integer between 1 and 11 in field 'color' Models: res.partner.category crm.tag project.tags hr.applicant.category helpdesk.tag hr.employee.category event.track.tag mrp.eco.tag repair.tags TaskID: 2234527
The payroll salary rule form now has a cleaner layout with less excessive spacing between labels and fields. This makes the form easier to read and use for payroll administrators without changing payroll calculations or business rules.
Original PR description
Informations tabs Distance between label & field is too large in payroll salary rules form view. so fix the view. TaskID: 2237400 Closes: #10058
Read-only timesheet grids now hide empty drill-down icons and prevent importing or creating entries from related list views. This reduces confusion for users by removing actions that cannot produce useful results, while also preventing newly copied timesheet lines from being incorrectly marked as validated.
Original PR description
purpose: when the grid view is in read-only and the duration = 0, the magnifying glass icon opens a list view which is completely useless as it is empty and creation is prohibited and it should be non-importable.
before: magnifying glass icon is there when grid view is in readonly mode.
when move to tree view from that magnifying icon then it is importable tree view.
after this pr magnifying glass icon will be hide and next tree view after clicking on it will be non-importable when grid view is in read only.
task-2184268Records without an assigned user will no longer display a generic default profile image, reducing confusion for users viewing work items. This improves clarity across several business apps and updates Studio previews to match the new behavior.
Original PR description
*account_budget, helpdesk, mrp_plm, planning, quality_control, sale_subscription The default image displayed when the record is unassigned is confusing, so we are removing it. FP request Task 2234524
The My Timesheets menu now shows fewer, more relevant filters by removing options that did not fit that view. The project filter has also been renamed to My Projects and corrected so users see timesheet lines tied to their own work.
Original PR description
Currently, some filters of the 'My Timesheets' menu do not make proper sense. So, purpose of this task is to remove those filters from the 'My Timesheets' menu. In this commit, we remove the following filters from the 'My Timesheets' menu: Employee, Department, My Timesheets, My Team. Also, rename the 'My Project' filter into 'My Projects' and fix that filter. LINKS PR #9564 TaskID: 2224472
Code cleanup and technical improvements
The IoT local network scan has been reorganized to make it easier to maintain and more reliable. Device discovery can now run more requests in parallel for faster scans, and users can enter a single IP address instead of scanning a full range.
Original PR description
Cleaning - Code was complicated to understand, split in 3 different widgets - Part of the code and templates was a wizard, the other part was JS Performance - We thought that the browser limited us to 6 HTTP connections in parallel. This limit only applies to connections to the same domain. We can increase the number of requests done in parallel to speed up the scan. We cannot perform all requests at the same time because the browser has troubles processing the responses and valid answers timeout. Improvements - Add the possibility to enter a single IP instead of a full range
Miscellaneous changes
The appraisal report is a Postgresql view which can't be updated. Currently, a traceback is raised if you drag & drop an entry in the gantt view or if you try to Add an entry. This commit prevent the user to 1) move an entry by drag & dropping 2) add a new entry Task 2243819 Forward-Port-Of: odoo/enterprise#10149
Original PR description
The appraisal report is a Postgresql view which can't be updated. Currently, a traceback is raised if you drag & drop an entry in the gantt view or if you try to Add an entry. This commit prevent the user to 1) move an entry by drag & dropping 2) add a new entry Task 2243819 Forward-Port-Of: odoo/enterprise#10149
- Create a vendore bill - Apply a Tax Cloud fiscal position - Validate - Cancel the bill An error message prevents of doing so. The error message should only be applied to customer invoices and credit notes. opw-2245012 Forward-Port-Of: odoo/enterprise#10249 Forward-Port-Of: odoo/enterprise#10233
Original PR description
- Create a vendore bill - Apply a Tax Cloud fiscal position - Validate - Cancel the bill An error message prevents of doing so. The error message should only be applied to customer invoices and credit notes. opw-2245012 Forward-Port-Of: odoo/enterprise#10249 Forward-Port-Of: odoo/enterprise#10233
The rules were not added for transient models of localizations Forward-Port-Of: odoo/enterprise#8395
Original PR description
The rules were not added for transient models of localizations Forward-Port-Of: odoo/enterprise#8395
- In unit of measures, modify the Days unit (Units of Measure / Days); - Add the field "timesheet_widget" on the form view; - The value is "float_toggle", change it to "float_factor"; - Go to the general settings page, timesheets module, change the encoding unit (timesheet_encode_uom_id) value to "Days" in time encoding section; - Go to timesheets app, list view, create a line, add 1 as time value(meaning 1 day); - Go to grid view. Before this commit, the value is converted in hour
Original PR description
- In unit of measures, modify the Days unit (Units of Measure / Days);
- Add the field "timesheet_widget" on the form view;
- The value is "float_toggle", change it to "float_factor";
- Go to the general settings page, timesheets module, change the encoding unit
(timesheet_encode_uom_id) value to "Days" in time encoding section;
- Go to timesheets app, list view, create a line, add 1 as time value(meaning 1 day);
- Go to grid view.
Before this commit, the value is converted in hours (8), but the encoding unit is Days.
Now, the value are correctly shown in Days.
opw-2239401
Forward-Port-Of: odoo/enterprise#10240-Select My Belgian Company -Select contract: CDI - Laurie Poiret - Experienced Developer -Generate Simulation Link -Marital Status: Divorced Forward-Port-Of: odoo/enterprise#9829
Original PR description
-Select My Belgian Company
-Select contract: CDI - Laurie Poiret - Experienced Developer
-Generate Simulation Link
-Marital Status:
Divorced
Forward-Port-Of: odoo/enterprise#9829