summaryrefslogtreecommitdiff
path: root/odoo/tools/convert.py
diff options
context:
space:
mode:
authorAndrew Latham <lathama@gmail.com>2017-10-23 11:02:19 -0500
committerMartin Trigaux <mat@odoo.com>2017-10-25 09:22:52 +0200
commitb67e18bcb53c7551c1c6a1056224960e06ae4fe2 (patch)
tree2967a076435b7334f2a04070298cf762c4f21351 /odoo/tools/convert.py
parenta924cbf98333fdd3d63d96254d189cb25cf2246a (diff)
[IMP] tools: basic spelling and grammar corrections
Closes #20391
Diffstat (limited to 'odoo/tools/convert.py')
-rw-r--r--odoo/tools/convert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/odoo/tools/convert.py b/odoo/tools/convert.py
index 59e87d6ee32..e670d93b80e 100644
--- a/odoo/tools/convert.py
+++ b/odoo/tools/convert.py
@@ -130,7 +130,7 @@ def _eval_xml(self, node, env):
# bytestring of n nuls. In Python 2 it obviously returns the
# stringified number, which is what we're expecting here
s = s.replace(found, pycompat.text_type(self.idref[id]))
- s = s.replace('%%', '%') # Quite wierd but it's for (somewhat) backward compatibility sake
+ s = s.replace('%%', '%') # Quite weird but it's for (somewhat) backward compatibility sake
return s
if t == 'xml':
@@ -581,7 +581,7 @@ form: module.record_id""" % (xml_id,)
)
self._test_xml_id(rec_id)
- # in update mode, the record won't be updated if the data node explicitely
+ # in update mode, the record won't be updated if the data node explicitly
# opt-out using @noupdate="1". A second check will be performed in
# ir.model.data#_update() using the record's ir.model.data `noupdate` field.
if self.isnoupdate(data_node) and self.mode != 'init':