changeset 8b90d895ce61 in trytond:4.8
details: https://hg.tryton.org/trytond?cmd=changeset;node=8b90d895ce61
description:
Update documentation of the return of ModelStorage.import_data
(grafted from f0306c1707773f7918424489eb18254e4b594d8e)
diffstat:
doc/ref/models/models.rst | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 8895b2ed5477 -r 8b90d895ce61 doc/ref/models/models.rst
--- a/doc/ref/models/models.rst Tue Feb 19 21:35:45 2019 +0100
+++ b/doc/ref/models/models.rst Thu Mar 21 17:50:39 2019 +0100
@@ -326,8 +326,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)