changeset f0306c170777 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=f0306c170777
description:
        Update documentation of the return of ModelStorage.import_data
diffstat:

 doc/ref/models/models.rst |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r c6dcf77b210d -r f0306c170777 doc/ref/models/models.rst
--- a/doc/ref/models/models.rst Thu Mar 21 15:13:13 2019 +0100
+++ b/doc/ref/models/models.rst Thu Mar 21 17:50:39 2019 +0100
@@ -306,8 +306,7 @@
 
     Create records for all values in ``datas``.
     The field names of values must be defined in ``fields_names``.
-    It returns a tuple containing: the number of records imported, the last 
values
-    if failed, the exception if failed and the warning if failed.
+    It returns the number of imported records.
 
 .. classmethod:: ModelStorage.check_xml_record(records, values)
 

Reply via email to