Hi,
I have a perplexing problem with buttons and closing a window in 6.1.
I have a one2many list. When I press the edit button in the first column a window opens.
The window has a Save and Cancel button at the top left and I have created a couple of buttons type="object" which call a function.
At the end of the function I return: return {'type': 'ir.actions.act_window_close'}
The function does its processing, but the window does not close by itself.
Am I doing something wrong or does the API treat one2many lists differently. Is there a workaround?
Regards
Grahame Jordan