From 11886f4d9f2bdec245663010f35d94bcbe108a3e Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida Date: Wed, 3 Jun 2015 02:33:43 +0200 Subject: [PATCH] [FIX] YAML: typos --- openerp/tools/yaml_import.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/tools/yaml_import.py b/openerp/tools/yaml_import.py index 9393e836a6d..65c78ddcc04 100644 --- a/openerp/tools/yaml_import.py +++ b/openerp/tools/yaml_import.py @@ -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