[FIX] YAML: typos
This commit is contained in:
parent
5760a5d547
commit
11886f4d9f
|
@ -136,7 +136,7 @@ class YamlInterpreter(object):
|
|||
id = xml_id
|
||||
if '.' in xml_id:
|
||||
module, id = xml_id.split('.', 1)
|
||||
assert '.' not in id, "The ID reference '%s' must contains maximum one dot.\n" \
|
||||
assert '.' not in id, "The ID reference '%s' must contain at most one dot.\n" \
|
||||
"It is used to refer to other modules ID, in the form: module.record_id" \
|
||||
% (xml_id,)
|
||||
if module != self.module:
|
||||
|
@ -334,7 +334,7 @@ class YamlInterpreter(object):
|
|||
self.cr.commit()
|
||||
|
||||
def _create_record(self, model, fields, view_info=None, parent={}, default=True):
|
||||
"""This function processes the !record tag in yalm files. It simulates the record creation through an xml
|
||||
"""This function processes the !record tag in yaml files. It simulates the record creation through an xml
|
||||
view (either specified on the !record tag or the default one for this object), including the calls to
|
||||
on_change() functions, and sending only values for fields that aren't set as readonly.
|
||||
:param model: model instance
|
||||
|
|
Loading…
Reference in New Issue