I added a new date field in the quotation form via the developer's mode. Now i want to get the field's value by retrieving it via python. The problem is that the string it is retrieving is 'False', a boolean value, i checked it. My code is correct because when i retrieved an existing date field on the form, it is retrieving it correctly. The problem is arising only with the custom field that i added. How can i solve this? i am using openerp 7....
prod_obj = self.pool.get('sale.order')
products_ids = prod_obj.browse(cr, uid,uid,context=context)
expected_date = products_ids['x_expected_payment_date']
'x_expected_payment_date' is the custom field i added. it is displaying correctly on the form btw.