Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
2454 Переглядів

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?





Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Автор Найкраща відповідь

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


Аватар
Відмінити