changeset e6b6d66b0eff in trytond:5.0
details: https://hg.tryton.org/trytond?cmd=changeset;node=e6b6d66b0eff
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 44f4b77820b2 -r e6b6d66b0eff doc/ref/models/models.rst
--- a/doc/ref/models/models.rst Tue Feb 19 21:34:55 2019 +0100
+++ b/doc/ref/models/models.rst Thu Mar 21 17:50:39 2019 +0100
@@ -340,8 +340,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)