View unanswered posts | View active topics
|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
jayarajmohan
|
Post subject: I want to close the popup screen in openerp6 using py file Posted: Sat Jan 29, 2011 1:52 pm |
|
Joined: Tue Jun 16, 2009 6:08 am Posts: 105
|
|
Hi,
We have created one popup in openerp6 using the same structure of openerp. We got popup well. But we cant close that popup automatically from python code.
We tried in py file as "self.close()" , but it shows error,
Error message : '' object has no attribute 'Close' .
What we can do for using self.close() ?
Any thing we need to import ?
Thanks
|
|
| Top |
|
 |
|
jayarajmohan
|
Post subject: Re: I want to close the popup screen in openerp6 using py f Posted: Wed Feb 02, 2011 9:03 am |
|
Joined: Tue Jun 16, 2009 6:08 am Posts: 105
|
|
I used the following command to close the popup.
return {'type':'ir.actions.act_window_close' }
Thanks
|
|
| Top |
|
 |
|
JuanjoA
|
Post subject: Re: I want to close the popup screen in openerp6 using py f Posted: Tue Jun 21, 2011 6:03 pm |
|
Joined: Fri May 28, 2010 10:33 am Posts: 409
|
|
Thx, nice tip
Juanjo A
_________________ Formación online OpenERP - Programación módulos - Apoyo instalación http://www.malagatic.com @malagatic
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 3 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|