otherwise when a method such as fields_get is overridden using the new API, self.env.context is an empty directory, and the translations cannot be performed correctly Closes #7911
5c7190c
b79f64f
edbd0df