Odoo 9: How to get compute field values in Create ORM method
In Odoo 9:
am not finding a way to get the value of compute fields in the create method. However the same had achieved in other version by calling the function of compute-fields,
Say for instance in Sale Order:
'amount_total' is a compute field which calls the function "_amount_all" to calculate the amount.
Now in create method, the value for amount_total is yet to be filled hence in order to access it, one can just call the function _amount_all which will evaluate and return the value of amount_total.
So same way I would like to do in Odoo 9 as well, but not sure whether it is due to this api decorator or so, am unable to achieve .
Any thoughts are welcomed.