Hello,
I use odoo 8, i have a wizard and a product_id filed in this wizard, i want to to close wizard on onchange function for product_id field.
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I use odoo 8, i have a wizard and a product_id filed in this wizard, i want to to close wizard on onchange function for product_id field.
Thanks
Thansk, but it only work when you click on a button but not with onchange on a filed
@api.onchange('product_id')
def onchange_product_id(self):
if self.product_id:
return {'type': 'ir.actions.act_window_close'}
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Load currnet record values when calling wizard
Diselesaikan
|
|
1
Des 22
|
3327 | |
What is wizard ?
Diselesaikan
|
|
3
Nov 23
|
32261 | |
|
2
Des 23
|
17659 | ||
populate wizard form dynamically
Diselesaikan
|
|
6
Apr 18
|
21334 | |
How To call wizard from python in odoo10
Diselesaikan
|
|
5
Des 23
|
18218 |
return {'type': 'ir.actions.act_window_close'} this actually closes the wizard
Did you find the solution for this?