c5bd3f6b2f55ed383f01123324a0027a52de8f93
When clicking on "Other activities" in the systray, a list of activities assigned to the user for which he has no access to underlying record is displayed. The default list allows to delete, archive, duplicate, ... activities but what we want is a readonly view. We add here a new view that doesn't allow any modification on the activities by removing those actions. Unfortunately, archive and unarchive action is not controllable with an attribute (nor by setting the active field as readonly in the view), so we create a very simple extension of the list view to disable it. We also add in the list view a button to mark an activity as done and a simple form view to see the details of the activity (note, ...). The "mark as done is not added in the form view as the activity is deleted causing an error because the form is still displayed and the record is gone. Note that those action are only removed from the client but the actions are not forbidden on the server side. Task-3562098 Part-of: odoo/odoo#139917
…
…
…
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%