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.
After some researchs, I found that "action_res_users_my" opens the form of current user. But I don't understand why it opens a form for current user instead of a new form. I'd like to make another act_window that will open a form view for a user's attribute. If I link an act_window to a form view only, it opens a new form, so I need a tree view and a useless click to go on the correct form view. I don't know how to give a record id in the link between act_window and its form view. There is a "res_id" field but it doesn't seem dynamic (depending of current user).
you just need to pass the record id in the context of the action under the name of 'active_id', like this:
'name': _('Supplier Invoices'),
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: 7/20/15, 4:22 AM|
|Seen: 878 times|
|Last updated: 11/25/15, 5:05 PM|