How to get selection value translated in python code
_name = 'pos.session'
POS_SESSION_STATE = [
('opening_control', 'Opening Control'),
('opened', 'In Progress'),
('closing_control', 'Closing Control'),
('closed', 'Closed & Posted'),
]
state = fields.Selection(
POS_SESSION_STATE, string='Status',
required=True, readonly=True,
index=True, copy=False, default='opening_control')
When I do a print in python code the state value returns me translated as the qweb reports