6da71c3de27271e9fe77fc8067051f7dc47604d3
Before this commit, when the user wants to delete a stage in the My Tasks menu, he got a user error because the context in the action cannot be converted from string to a dictionary with literal_eval function. The reason is `uid` is not replaced by the current user id before using the `literal_eval` function. This commit replaces the uid by the current user id and then apply the literal_eval function. Steps to reproduce the issue: 1. Go to Project App 2. Click on `My Tasks` menu 3. Add a group by `Stage` 4. Try to remove a stage in which there is no recurrence task Current Behavior: A traceback is occurred because the literal_eval cannot convert the context from the action. Expected Behavior: The stage should be archived and tasks contained in that stage. Bug found task-2944742 closes odoo/odoo#100599 X-original-commit: f4198e497fba8d22231ce22ea148b73e6e207d4c Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%