Hello,
on a one2many widget in a parent form I can specify the view that will be opened setting the "form_view_ref" and "tree_view_ref" variables in the context. Is it possible to use different forms depending on the parent form mode? For example if the parent form is in edit mode I would like to open a special edit-form cliking on "add an item". If the parent is only viewing data, not in edit mode, then clicking on an entry on the one2many widget should open another form view of the child element. Thank you for any suggestions.
nero
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
4321
Tampilan
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
How to set secure condition in form view of odoo
Diselesaikan
|
|
1
Okt 22
|
3448 | |
how set label of field in single line?(odoo11)
Diselesaikan
|
|
1
Jan 20
|
14080 | |
|
1
Nov 18
|
7227 | ||
How can I return a record after deletion
Diselesaikan
|
|
1
Jun 22
|
6153 | |
|
1
Agu 24
|
2008 |