[IMP] Set last_contract_id as stored true

Merged Jose Luis Zanotti requested to merge 12.0-Set_field_as_stored into 12.0

Merge request reports