- Nov 29, 2022
-
-
Kevin Baptiste authored
1/ When approving / refusing a leave spanning multiple days, the overtimes were only recomputed for the starting date and not the whole period. 2/ Overtimes should be computed whatever the kind of time off that's been taken (Absence or Other). task-3073155 closes odoo/odoo#106736 X-original-commit: 116d7cb4 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Nov 27, 2022
-
-
Odoo Translation Bot authored
-
- Nov 24, 2022
-
-
Odoo Translation Bot authored
-
- Nov 20, 2022
-
-
Odoo Translation Bot authored
-
- Nov 13, 2022
-
-
Odoo Translation Bot authored
-
- Nov 06, 2022
-
-
Odoo Translation Bot authored
-
- Oct 30, 2022
-
-
Odoo Translation Bot authored
-
- Oct 24, 2022
-
-
Philippe Wauthy authored
In the Odoo Community edition, the barcode picture to invite the user to scan his badge in kiosk mode has no size restriction. This creates a layout issue when displaying the attendance kiosk mode in community. This commit fixes the layout by restricting the size of the picture to the size of the enterprise version. task-3036986 closes odoo/odoo#103763 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 23, 2022
-
-
Odoo Translation Bot authored
-
- Oct 21, 2022
-
-
Kevin Baptiste authored
A traceback would occur in some situations because of incorrect reference to `this.kioskDelay`. closes odoo/odoo#103724 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 16, 2022
-
-
Odoo Translation Bot authored
-
- Oct 06, 2022
-
-
Kevin Baptiste authored
This PR adapts the form views since the merge of odoo/odoo#100570. task-3002465 closes odoo/odoo#102096 Related: odoo/enterprise#32266 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Oct 02, 2022
-
-
Odoo Translation Bot authored
-
- Sep 25, 2022
-
-
Odoo Translation Bot authored
-
- Sep 20, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#100573 Related: odoo/enterprise#31507 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 14, 2022
-
-
Gorash authored
Adapt all manifest, split some XML file and update JavaScript files. Part-of: odoo/odoo#95500
-
- Sep 07, 2022
-
-
Kevin Baptiste authored
Add new settings to allow the user to select which camera to use for the barcode scanner and to allow/disallow the manual identification of employees. task-2973809 closes odoo/odoo#99622 Related: odoo/enterprise#31082 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Sep 02, 2022
-
-
Rob Coekaerts authored
The icon that is displayed in the employee kanban view is determined by the field hr_icon_display, computed in the method _compute_hr_icon_display. This method is overridden in multiple modules such as hr_holidays, hr_attendance and hr_homeworking. Currently this field has a state to show no icon (presence_undetermined). In this change this state is extracted into the a separate field show_hr_icon_display with the default state of hr_icon_display being presence_to_define. In this way a module such as hr_attendance, which only overrides _compute_hr_icon_display to show the default icon for everyone as a default, now only needs to change this separate field and does not need any knowledge of what other states exist. This reduces coupling between modules.
-
- Sep 01, 2022
-
-
Dossogne Bertrand authored
On the res.users form view, a smartbutton was created to appear in very specific situations to inform on the user's last connexion. Since its limited usage, that button is removed from the view. taskID 2958115 closes odoo/odoo#98470 Related: odoo/upgrade#3839 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Aug 29, 2022
-
-
Denis Ledoux authored
The goal being to get rid of the `groups_id` feature for backend views Changing the invisible attributes for the presence icon is a bit weird: - when a user logged in, you could see the green ball next to his name, - but when he checks in in the attendance app, the green ball disapear, hidding his presence status. Maybe in the past, there was a smart button also showing the presence status, therefore the information was twice in the form view, and this is maybe why this change of attributes was put in place, but this is no longer the case, there is no other way to see an employee has signed in or checked in from the form view once he checked in in the attendance app, which is weird. It therefore has been decided to remove this change of attribute in this inherited view. Part-of: odoo/odoo#98551
-
Denis Ledoux authored
Revision 7fd74226 takes care to prevent employees to modify manually their attendances, by removing the edit button from the attendance list. This is only visual, this doesn't actually prevent users to change their attendances, for instance through XMLRPC. Besides, with the group comment: ```xml <record id="group_hr_attendance" model="res.groups"> <field name="name">User</field> <field name="category_id" ref="base.module_category_human_resources_attendances"/> <field name="comment">The user will gain access to the human resources attendance menu, enabling him to manage his own attendance.</field> </record> ``` To me: - Employees should be able to sign in and sign out only - Attendance users should be able to modify their own attendances only - Attendance managers can modify attendances of anybody. Hence, instead of removing the edit button on the view, change the ACLs so employees do not have the rights to modify their attendances at all. Part-of: odoo/odoo#98551
-
Denis Ledoux authored
The goal of this revision is to get rid of the `groups_id` field of the model `ir.ui.view`. - This feature wasn't really known or used by most developers, and not straight-forward to understand. Removing it allows one less complicated thing to learn for developers. Besides, thanks to odoo/odoo#95729, changing the behavior of the `groups=` attribute, we can easily get rid of this `groups_id` feature by simply adding `groups=` in the elements of the views using the `groups_id` field, it will have the same effect: adding the elements in the view only for the users part of the specified group. - By getting rid of the groups_id many2many field on ir.ui.view, it makes possible to cache the view architecture without requiring to use the groups in the cache key. Currently, if we want to cache the view architecture, it would be required to use the intersection of the user groups with the groups_id groups of the view, making it costly to compute the cache key, therefore altering the performance point to cache the view architectures. Part-of: odoo/odoo#98551
-
- Aug 27, 2022
-
-
Abdelouahab (abla) authored
To Reporduce ============= 1. Create employee with Standard Working Schedule (100% presence / 40 hours / 08:00 - 12:00 & 13:00 - 17:00) 2. Create Time off type: Paid time off with following settings: - Take time off in: Hours - Deduct Extra Hours: No 3. Create a time off request for half a day for this employee (8/17/2022; morning) 4. Approve Time Off Request 5. Create an attendance record for this employee for the afternoon on this day (13:00 - 17:00) Problem ======= On the attendance report, this employee has -4:00 Extra Hours, which means that the leave wasn't taken into account when computing Extra Hours Solution ========= to solve the issue we take into account the Employee's leaves when computing Extra Hours opw-2956895 closes odoo/odoo#98969 X-original-commit: 3da24993 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Aug 23, 2022
-
-
Matthieu Stockbauer authored
*: bus, calendar, hr_attendance, iap_mail, im_livechat, project, snailmail, snailmail_account, survey, web, web_editor, website_livechat. This commit is part of the websocket integration in Odoo. This bus service now communicates with a shared worker in order to provide a single websocket connection for multiple tabs. It is designed to be used as a websocket except that events are slightly different, re-connection is handled automatically. If the browser does not support shared worker (Safari), the service fallback on a simple web worker. Available events are: - connect : fired upon a successful connection. - disconnect : fired upon reception of the websocket close event. The close code and reason are given to the listeners callback. - reconnect : fired upon a successful re-connection. - reconnecting : triggered when the worker starts to try reconnecting. - notification : fired upon the reception of notifications. Since multiple tabs are now handled by a worker, the cross_tab bus is no longer required and has been removed. Part-of: odoo/odoo#75510
-
- Aug 12, 2022
-
-
Víctor Martínez authored
TT36461 closes odoo/odoo#98037 X-original-commit: 9468c62a470455043c1fc45edf18df614c2d2d18 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Aug 02, 2022
-
-
Fabien Pinckaers authored
This commit aims at removing unuseful help message to: 1/ reduce translators work, to focus on more useful translations 2/ not sending unuseful information in load_views 3/ reduce help message to useful messages, so that we can mark fields having a tooltip in the future UI. 4/ some cleanup of existing messages too The main use cases: - REMOVED: help redundant with the field name, providing no extra info - MOVED TO COMMENT: technical help messages, that should not be in UX closes odoo/odoo#97279 Signed-off-by:
Fabien Pinckaers <fp@odoo.com>
-
- Jul 18, 2022
-
-
Jinjiu Liu authored
Reproduction: 1. Install Attendance app 2. Create a new internal user “kiosk”, with only access right “Kiosk Attendance” for app “Employee”, other places as blank 3. Make sure the Settings for Attendance app, Employee PIN is unchecked 4. In an incognito tab, log in as kiosk, go to Attendance, click “kiosk mode”, then “identify manually” 5. Choose an employee, with a warning message “Wrong pin” Reason: A recent update refined the user group check for the attendance_manual function. Checking if the user is an officer in the Attendance app can be over strict. However, after discussing with yti, we decided to pop up a warning message for security reasons when the user would like to use Kiosk mode without pin code. Fix: Add a warning message for higher access right requirement opw-2898452 Related fix in V15: https://github.com/odoo-dev/odoo/commit/2975c0539d8c2781ff56a9f8be8e302d45b7d80b closes odoo/odoo#96230 X-original-commit: 82f2966e Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Jul 07, 2022
-
-
Romeo Fragomeli authored
Automated change made by a lot of RegEx to change all think that is possible to automate. https://getbootstrap.com/docs/5.1/migration Task ID: 2766483 Part-of: odoo/odoo#95450
-
Romeo Fragomeli authored
> Media query mixins parameters have changed for a more logical approach > media-breakpoint-down() uses the breakpoint itself instead of the next > breakpoint (e.g., media-breakpoint-down(lg) instead of > media-breakpoint-down(md) targets viewports smaller than lg). > Similarly, the second parameter in media-breakpoint-between() also > uses the breakpoint itself instead of the next breakpoint (e.g., > media-between(sm, lg) instead of media-breakpoint-between(sm, md) > targets viewports between sm and lg). https://getbootstrap.com/docs/5.1/migration/#sass Task ID: 2766483 Part-of: odoo/odoo#95450
-
- Jun 23, 2022
-
-
Victor Feyens authored
For bugfix purposes, app administration groups have been given to (implied by) the "Settings" group because without those rights, opening/saving the settings crashed. 1) Do not load hidden view content This commit uses the conditional inheritance of views (depending on user groups) to avoid loading unnecessary view & record content client-side. This improves performance for admins without the specific application admin rights, but also fixes the main bugfix problem, caused by the webclient querying name_get for the records in relational fields content. Example: sale_management adds a res.config.settings field to specify the default sale.order.template for the current company. If a 'Settings' user without 'sale.group_sale_manager' opens the settings, he won't see this setting, but if a default template is specified for the current company, the webclient will still request the name_get of this template to the server, because the field was present in the view, only hidden with a groups attribute. With this commit change in sale, the field won't be in the view unless you have the Sale manager group, avoiding the error/traceback/bug. 2) Remove implied application administration groups Do not force the specific application groups on all 'Settings' user, they globally do not need those rights, and if they need it, they can add it to their account themselves. 3) Add a test to make sure settings user are able to manage settings. 4) Enforce 'settings' -> 'access rights' -> 'internal user' groups As the previous test highlighted some 'false positives' because it considered a settings user unable to read `crm.team` and `stock.warehouse` records, we also took the opportunity to enforce the fact that 'Settings' & 'Access rights' users must be internal users. It makes no sense for a portal/public user to have access to the settings, and didn't work anyway. Part-of: odoo/odoo#91909
-
- Jun 10, 2022
-
-
Martin Trigaux authored
closes odoo/odoo#93246 X-original-commit: 5ff6d185f70650c26c28a6aef7dd37c859ab58d2 Related: odoo/enterprise#28218 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jun 09, 2022
-
-
stefanorigano (SRI) authored
Part of the overall v16 SCSS optimization/restyle, task-2704984. task-2852148 closes odoo/odoo#91364 Related: odoo/enterprise#27333 Signed-off-by:
Pierre Paridans (app) <app@odoo.com>
-
stefanorigano (SRI) authored
Part of the overall v16 SCSS optimization/restyle, task-2704984. task-2852148 Part-of: odoo/odoo#91364
-
- May 25, 2022
-
-
Géry Debongnie authored
The kanban view was recently improved to add the support of 'action' and 'type' attributes on the kanban arch. This commit takes advantage of that change to simplify a few views in various addons. Part-of: odoo/odoo#92071
-
- May 13, 2022
-
-
tsm-odoo authored
Now that pyEnv is available, using it in the mock_server lighten the syntax. task-2582313 closes odoo/odoo#90783 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
- May 03, 2022
-
-
Dossogne Bertrand authored
*: approvals hr_apprasaisal hr_payroll hr_referral fleet hr hr_attendance hr_holidays hr_recruitment lunch Change various access rights names to improve understandability for users. Addition of an officer role in fleet with intermediate accesses TaskID 2742855 closes odoo/odoo#87545 Related: odoo/enterprise#25741 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Victor Feyens authored
Remove most values uselessly specified because giving the same value as the default one (see _DEFAULT_MANIFEST in odoo/modules/module.py) * auto_install is Falsy by default * author is Odoo SA by default * summary & description are empty strings by default * application is False by default * test, demo, depends and data are empty lists by default This will reduce noise/inconsistencies between manifests specifications, simplify analysis of manifests content, ... closes odoo/odoo#90209 Related: odoo/enterprise#26807 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
- May 02, 2022
-
-
Géry Debongnie authored
Earlier in Odoo, JS views were defined by defining 4 elements: View, Controller, Model, Renderer. This was complex in some way, because we wanted to inherit behaviour as well, so it was necessary to think along multiple dimensions to understand how the code was running. Then, with Owl, we rewrote some views, and simplified them: views were now just a Component. Most of the common behaviour now came from the generic View component that instantiated the concrete view with the proper informations. In practice, views were still split in views (which was the equivalent of the Controller of earlier views), Model and Renderer Now, this commit reintroduce the Controller, and change the way views are defined: by an object with multiple metadata, and an (optional) props function to compute the actual props used by the view. As a result, views are now much easier to extend/modify. closes odoo/odoo#89889 Related: odoo/enterprise#26728 Signed-off-by:
Géry Debongnie <ged@odoo.com>
-
- Apr 12, 2022
-
-
Thibault Delavallée authored
Even if ORM normally filters them out, no need to specify .id in domains. This leads to better and easier to read queries / domains. Task-2816580 closes odoo/odoo#85648 Related: odoo/enterprise#24911 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Mar 14, 2022
-
-
William Braeckman authored
Changes the previous attendance report override to use the new function instead. TaskId-2764844 closes odoo/odoo#85404 Related: odoo/enterprise#24765 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-