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.
I am trying to understand how Odoo works.
I want to display a popup form with all items in a stock picking report when user press a button.
The user will select or deselect items in that popup and other stuff will be done.
My specific question is: do I have to create a new model for this popup window?
I have seen how to define the button, and it seems it has to refer to a new model.
It depends on what you want to achieve. It is not required to make a new model [if the model already exists] to show a popup Form. The popup form is a normal action just with target = new. chick this line .
If you want to make a popup form as a wizard or something you can make a model inherited from osv.osv_memory [models.TransientModel new API]. also check this line
Hope this could helps you with some clues ..
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: 2/11/16, 6:28 AM|
|Seen: 644 times|
|Last updated: 2/12/16, 12:46 AM|