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 | etc.
Is possible manipulation on postgresql temporary table in odoo?
Presumably, the creation is not a problem, but how to organize views?
I would be grateful for any suggestion or an example.
In posgresql you can use temporary views and or tables but they are not accessible from Odoo.
Odoo has it's special temporary tables, they are typically used for wizards. To use a temporary table you can define it as a normal class, just use the following type of inheritance: models.TransientModel (new api) or osv.osv_memory (old api).
The views are defined as normal views.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/22/16, 5:12 PM|
|Seen: 385 times|
|Last updated: 10/23/16, 3:10 PM|