changeset 5353dc02d8f0 in trytond:4.4
details: https://hg.tryton.org/trytond?cmd=changeset;node=5353dc02d8f0
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 896237228d5d -r 5353dc02d8f0 doc/ref/models/models.rst
--- a/doc/ref/models/models.rst Tue Feb 19 21:37:58 2019 +0100
+++ b/doc/ref/models/models.rst Thu Mar 21 17:50:39 2019 +0100
@@ -322,8 +322,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)