I am getting the following error in OpenERP:
TypeError: 'function' is not a py.js object
I have made duplicates of the account.invoice and account.invoice.line by the names sgs.invoice and sgs.invoice.line. i am copying data from account.invoice and account.invoice.line to the duplicate tables. But when I try to edit the data in sgs.invoice.line, I get the above error on clicking any many2one field or any text field having on_change method associated with it. What can be the problem?