Skip to Content
Menu
This question has been flagged
2 Replies
2101 Views

hi gurus,
I want to store data via a custom module and model which is retrieved from an automation system. I have a 'process data' menue and a ''Day model in tree view that contains '5 minute data' model entries from a business process. As I want to just display the data that is filled in by code I want to protect it from tampering. Is it enough to just ''castrate the view of all the CRUD buttons? Or do I have to block API in a special way too? Or is there an even better approach to store live process data inside odoo?





Avatar
Discard
Best Answer

You better create some permission for those modules for example to restrict create, edit and delete operations, only read allowed and you don't need to customized the ui

Avatar
Discard
Author Best Answer

Thanks for that.

Meanwhile I understood the api and been able to setup the right permissions.

 For all who start developing in odoo:

There is an absolutely amazing module_builder module for V8. Helps a lot when experimenting and tryong understand how code should be structured etc.

Use it as a starting point and custom example generator


Avatar
Discard