- Sep 17, 2023
-
-
Odoo Translation Bot authored
-
- Sep 10, 2023
-
-
Odoo Translation Bot authored
-
- Sep 03, 2023
-
-
Odoo Translation Bot authored
-
- Aug 27, 2023
-
-
Odoo Translation Bot authored
-
- Aug 20, 2023
-
-
Odoo Translation Bot authored
-
- Aug 13, 2023
-
-
Odoo Translation Bot authored
-
- Aug 06, 2023
-
-
Odoo Translation Bot authored
-
- Aug 03, 2023
-
-
Yash Vaishnav authored
To reproduce the issue, follow these steps: 1. Install the Timesheet and Project. 2. From the settings menu, create a new company. 3. Create a project using the newly created company(e.g. New Company) and add a task to it. 4. Open the Timesheet application and create a new timesheet. 5. In the timesheet, select the project created in step 3, and observe that the dropdown for tasks does not display any task. Cause for this issue: -The timesheet application has a domain set for the task field where the company associated with the task_id should be the same as the company selected in the current environment. -However, when a new project is created with a 'New Company', the tasks associated with it also have the 'New Company' assigned to them. On the other hand, the current environment has a default company called 'Your Company' associated with it. -Therefore, due to this domain setting, the task field does not display any tasks since there are no tasks associated with the 'Your Company' in the current environment. Fix: Since the cause of the issue is related to the company domain set in the task field, we can solve it by removing it from the domain. task-3323027 closes odoo/odoo#130635 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- Jul 30, 2023
-
-
Odoo Translation Bot authored
-
- Jul 23, 2023
-
-
Odoo Translation Bot authored
-
- Jul 16, 2023
-
-
Odoo Translation Bot authored
-
- Jul 12, 2023
-
-
Gurupreet Singh authored
Description of the issue/feature this PR addresses: In the project task view, add initially planned hours 0.05 and assigned a complete value to the the task then the progress bar shows the wrong value Current behavior before PR: when adding the 00:05 planned hours and assigning the complete duration the The progress bar value is not right Desired behavior after PR is merged: progress bar value should be right task-3280609 closes odoo/odoo#128170 X-original-commit: 052dfb5f Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- Jul 11, 2023
-
-
Thomas Lefebvre (thle) authored
Steps to reproduce: ------------------- On the timesheets tab of a task, with a user who does not have access to employees, when you click on "Search More...", a traceback appears. Cause: ------ When we request the view from the backend, we ask for "hr.employee" and the backend returns "hr.employee.public". The latter will be a dictionary key. As a result, we will get an `undefined` when we use the `hr.employee` key. Solution: --------- Modify the relationship according to the user's group. opw-3389733 closes odoo/odoo#127543 Related: odoo/enterprise#43856 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- Jul 09, 2023
-
-
Odoo Translation Bot authored
-
- Jul 02, 2023
-
-
Odoo Translation Bot authored
-
- Jun 25, 2023
-
-
Odoo Translation Bot authored
-
- Jun 18, 2023
-
-
Odoo Translation Bot authored
-
- Jun 16, 2023
-
-
Hamza (hisl) authored
Steps to reproduce the issue: Add a project and create a task with a timesheet in it set the allocated hours to 00:03 add a line in the timesheet with hours spent 00:03 Current Behaviour: The percentage calculated would be 96%, even though the time allocated and time spent are equal. Desired Behaviour: The percentage should be 100 as both values i.e. time spent and time allocated are equal. This is happening because effective_hours value is being rounded off to 2 decimal places, and is not accurate enough to compute the progress_hours. Here, I have used the same line, that is used to compute effective_hours, to compute the task_total_hours but without rounding off. This will make the calculate more precise and accurate. OPW-3270858 closes odoo/odoo#124914 X-original-commit: 3b1316e7 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
Prakash Prajapati authored
When the hr_timesheet module is not installed and a customer uses the action_project_timesheets action through customization, a traceback will occur because he will not get the action of hr_timesheet. closes odoo/odoo#123214 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- Jun 12, 2023
-
-
Victor Piryns (pivi) authored
Current behaviour: In mobile view, if an user that doesn't have any rights over "Employees", clicking on any of the Many2One `employee_id` (for ex: when adding a timesheet on a task and clicking on the employee field), for either the dropdown, or to the form view with the `external` button, we get a stacktrace. Expected behaviour: We shouldn't be met with a stacktrace, if we don't have rights, we should be redirected to the corresponding view for the `hr.employee. public` model. Steps to reproduce: - Install Timesheets - Set Marc Demo's Employee's right to `none/empty`, login as Marc - In mobile view, go to Project > a task > open the timesheet sheet - Click on Add or any of the present timesheets - Click on employee field, either on it (redirect to the mobile kanban view of all employees) or to the right edge of it (redirect to the form view for the currently selected employee). - Instead of being redirected, you are met with a stacktrace. Reason for the problem: Since the migration to Owl, there is an implicit consistency expected between what is the requested model for said view, and the model we get back from the server for said view. In general (for example when in desktop view), usually we pass by an override of `get_formview_action` which changes the model we are loading front-end side depending on the access to the employee model. If access, we load `hr.employee`, if no access, `hr.employee.public`. But for mobile, we don't pass by an action, we just load a dialog, and the `resModel` used for the dialog is based on the `relation` of the `Many2OneField`, which is `hr.employee`. In that case when `get_views` is being called, we receive a view with the model key being `hr.employee.public`, which is inconsistent with what the front-end requested (which is `hr.employee`) and we have a stacktrace in owl. Fix: Override the `relation` property to the correct model in the corresponding widget set on the template of the field, based on available group. This relation is used to set the `resModel` when opening the dialog. Affected versions: - 16.0 - saas-16.1 - saas-16.2 - saas-16.3 - master opw-3269817 closes odoo/odoo#123217 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
- Jun 11, 2023
-
-
Odoo Translation Bot authored
-
- Jun 04, 2023
-
-
Odoo Translation Bot authored
-
- May 28, 2023
-
-
Odoo Translation Bot authored
-
- May 21, 2023
-
-
Odoo Translation Bot authored
-
- May 17, 2023
-
-
Kartik Chavda authored
Before this commit timesheet uom timer not displaying proper aggregated value because it was not added in formatters registry. This commit add timesheet uom timer widget in formatter registry to display right value when timesheets are encoding in days and views are displaying aggregated value(e.g. total in list view). task-3251672 closes odoo/odoo#121125 Related: odoo/enterprise#40928 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- May 15, 2023
-
-
Kartik Chavda authored
Steps: - Install timesheet. - Start timer. - Make sure there is enough record to show search more on task or project field. - Click on search more button. - Click on Create button on search more button. Issue: - Traceback. Cause: - Can not find owl form view in legacy form registry because recent removal of old legacy code. Fix: - Add a widget to open owl form view in search create dialog instead of legacy form view. task-3051478 closes odoo/odoo#115062 Related: odoo/enterprise#40581 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- May 14, 2023
-
-
Odoo Translation Bot authored
-
- May 07, 2023
-
-
Odoo Translation Bot authored
-
- Apr 28, 2023
-
-
Hubert Van de Walle (huvw) authored
Steps to reproduce ================== - Use an IOS device - Open a view with a float field - Try to edit it The virtual keyboard displayed is missing a dot, so you can only input integers Cause of the issue ================== For fields that should accept a float value, the inputmode attribute should be decimal. Also, specifically on IOS, even with the inputmode set to decimal, it isn't possible to enter a negative value. > decimal: > Fractional numeric input keyboard containing the digits and decimal separator > Devices may or may not show a minus key (-) Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode Solution ======== For IOS, remove the inputmode attribute so that the default keyboard shows. For other devices, use the decimal/numeric value depending on whether a float should be accepted. opw-3269275 closes odoo/odoo#119540 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Apr 27, 2023
-
-
Michael (mcm) authored
Before this commit, the mobile search view was sent to the end of the dom (t-portal) and so was on top of everything even the dialog that was opened after it. Now, the mobile search view is open in a dialog and the depth level between it and other dialogs is fixed. task id: 3273035 closes odoo/odoo#119595 Related: odoo/enterprise#40255 Signed-off-by:
Mathieu Duckerts-Antoine <dam@odoo.com>
-
- Apr 26, 2023
-
-
Odoo Translation Bot authored
-
- Apr 16, 2023
-
-
Odoo Translation Bot authored
-
- Apr 14, 2023
-
-
Thomas Lefebvre (thle) authored
Issue: When a project is shared with portal users, only timesheets that are linked to tasks will be displayed. Solution: Change the domain that selects the timesheets to be displayed to take into account timesheets that are not linked to a task, but are in a project to which the portal user has access. opw-3253632 closes odoo/odoo#118500 X-original-commit: 52703359 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com> Signed-off-by:
Lefebvre Thomas (thle) <thle@odoo.com>
-
- Apr 09, 2023
-
-
Odoo Translation Bot authored
-
- Apr 03, 2023
-
-
Audric Onockx (auon) authored
It takes a too long to load project task kanban view. And ~85% of this time is spent in `ProjectTask._get_all_subtasks`, which is a recursive method returning the children of the children, while any, of the task, for each task, just to display their count. We replaced this recursive method with a SQL request, which is way faster. Also, it can be called in batch. It will return a dict {id: subtask_ids}. task-3246085 closes odoo/odoo#116570 Related: odoo/enterprise#38723 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-
- Apr 02, 2023
-
-
Odoo Translation Bot authored
-
- Mar 31, 2023
-
-
Victor Piryns (pivi) authored
Current behaviour: When creating a timesheet, if in the vals passed the AAL doesn't have a company (possible since it's not required), then the `uom` of the timesheet is False, which doesn't make sense. Expected behaviour: The timesheet `uom` should fallback on the uom of the company of the project. Steps to reproduce: - Install hr_timesheet, Accounting - Activate the AAL in the settings - Create a project with an AAL - Remove the company on the AAL of the project - In that project create a task and log some timesheet. - `uom` field should be empty Reason for the problem: When setting the `product_uom_id` in the vals when creating/writing a timesheet, we just take the `project_time_mode_id` on the company linked to the AAL. The problem is that the company on an AAL is not a required field, so it can be `False`, leading the setting the val for `product_uom_id` to `False`. Fix: In case the AAL has no company, we get the `uom` from the company linked to the project. Affected versions: - 14.0 - 15.0 - saas-15.2 - 16.0 - saas-16.1 - saas-16.2 - master opw-3245671 closes odoo/odoo#117259 X-original-commit: b39642bf Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com> Signed-off-by:
Piryns Victor (pivi) <pivi@odoo.com>
-
- Mar 29, 2023
-
-
Victor Piryns (pivi) authored
Current behaviour: Search filter is not showing correct results for projects that are in overtime. Some projects that are not in overtime are not shown. Expected behaviour: Search filter for projects that are in overtime should work correctly. Steps to reproduce: - Install Project, Timesheets - In one of the projects, create a task in an "In Progress" stage - Add an employee on it, planned hours to 1h, and log in the timesheet 50 hours (so the task is clearly in overtime of 49h) - In that task, add an employee, planned hours to 50h - In the same project, create a task in a folded stage, log in the timesheet 1h (the task is +49h remaining hours in the green) - Fold the stage when done editing the stage. - In the project default view, we can clearly see that the project is in the red (-49h). - Filter based on overtime, the project is not present in the results Reason for the problem: There is a divergence of behaviour between the compute and the search method of the `is_project_overtime` on the project. The compute takes only the overtime of the tasks that are not in a folded stage. While the search is query all the tasks of the project, regardless of stage and summing those to deternine if the project is in overtime. So if you have 2 tasks, one in a folded stage and the other not, that have `remaining_hours` that are cancelling each other, the search result is incorrect for that project Fix: Update the SQL query in the search method for `is_project_overtime`, to reflect the domain conditions from the compute about the stages. Affected versions: - saas-15.2 - 16.0 - saas-16.1 - master opw-3182077 closes odoo/odoo#116714 X-original-commit: 1af9c0ac3063c0080c3880916ce1481ecbc118a1 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com> Signed-off-by:
Piryns Victor (pivi) <pivi@odoo.com>
-
- Mar 26, 2023
-
-
Odoo Translation Bot authored
-
- Mar 21, 2023
-
-
kais-odoo authored
Before this commit, '(incl. x on sub-tasks)' occured inside allocated hours input and allocated hours input was too long comapred to a value of it. So in this commit, added o_field_float_time class remove space. task-3000757 closes odoo/odoo#102824 Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com>
-