I need to store an Api Key that can be updated and is accessed anywhere in odoo not depending of the recordset/model like self.env.user or the timezone. I cannot update the context because it is a frozen dict. If its possible an example would be nice.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1497
Views
can store inside the user record itself ? or in system parameters ?
No I cannot save it into user, because it can be different users and the same value. System parameters won't do. If I got it from system parameters its the same if I store it in the model for the API. I would like to save it in the context or env so I do not need to fetch it ever time from the model.