OpenERP Programming error.
Error:
ProgrammingError: can't adapt type 'browse_record'
Solution:
For example, if you have provided
'product_id': line.product_id,
in _columns, the above error will occur. All you have to do is to provide the id of product_id as follows
'product_id': line.product_id.id,
and it will solve the error.
Error:
ProgrammingError: can't adapt type 'browse_record'
Solution:
For example, if you have provided
'product_id': line.product_id,
in _columns, the above error will occur. All you have to do is to provide the id of product_id as follows
'product_id': line.product_id.id,
and it will solve the error.
Thanks! Just what I needed. Works now...
ReplyDeletecoool, It works ! thank you
ReplyDelete