Community mailing list archives

related property field

OpenERP Master
- 02/27/2015 00:01:13
It possible to have a related field that is a property? For instance, I want to display the unit cost on the stock move tree which will be sourced from product template. This field used to be float now its property. When I load my view I get

  File "/usr/local/openerp/odoo/openerp/osv/", line 1432, in _fnct_read
    value = value[field][:1]
TypeError: 'float' object has no attribute '__getitem__

if I removed the [:1] it works, either a bug or what.