[IMP]: Improve reference terms for partner
[FIX] Refer to context_datetime as static method which will make it work for function fields
[Merge]: Merge with Parent branch
[MERGE]: Merge with latest server
[IMP] context_today should apply to function fields also in order to show them in qweb reports
[IMP] test cursor: code cleanup to make it more robust to concurrent accesses
[MERGE] Sync with trunk
[MERGE][IMP] Terminology uniformisation
[IMP] fields.date: added date_to_datetime function