I am trying to link two forms together. I was able to do that using this code: return { 'name':_('Some Form2'), 'view_mode': 'form', 'view_id': False, 'views': [(resource_id,'form')], 'view_type': 'form', 'res_model': 'some.model', 'type': 'ir.actions.act_window', 'context': {'default_name': some_id}, } It opens the form that I want but I've noticed that this code will not change the selected menu in the sidebar and the breadcrumb doesn't change as well. Unfortunately, I don't have enough karma to post images that may have clarified my question. I have googled a lot but I was not able to find something like my problem. Hope someone could point to a solution or workaround.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Project
- MRP
Этот вопрос был отмечен
6436
Представления
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
3
янв. 24
|
8653 | ||
|
0
янв. 24
|
7 | ||
|
3
февр. 20
|
2897 | ||
|
1
июн. 16
|
6534 | ||
|
2
февр. 16
|
7853 |