[FIX] developer/*: code blocks linting & fixes
invalid xml
invalid python
correct indentation
closes odoo/documentation#3029
X-original-commit: b2121b7891
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -1394,7 +1394,7 @@ merge all those contexts before sending them to the server.
|
||||
|
||||
@api.model
|
||||
def my_method(self):
|
||||
print self.env.context
|
||||
print(self.env.context)
|
||||
// will print: {'lang': 'en_US', 'new_key': 'key_value', 'tz': 'Europe/Brussels', 'uid': 1}
|
||||
|
||||
You can see the dictionary in the argument ``context`` contains some keys that
|
||||
|
||||
Reference in New Issue
Block a user