Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
3d60ede5 by Nicolas Évrard at 2023-06-13T13:39:22+02:00
Rename function with_inactive_records in documentation
The commit e6c72b1f23e7 added the function but the documentation used another
name
- - - - -
1 changed file:
- trytond/doc/ref/transaction.rst
Changes:
=====================================
trytond/doc/ref/transaction.rst
=====================================
@@ -165,7 +165,7 @@
active test enabled.
Otherwise it returns a `context manager`_ that enable active test.
-.. function:: with_inactive_records(func)
+.. function:: inactive_records(func)
When called with a function, it decorates the function to be executed with
active test disabled.
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/3d60ede5821bf9f05324e1b12651f1a37309e97d
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/3d60ede5821bf9f05324e1b12651f1a37309e97d
You're receiving this email because of your account on foss.heptapod.net.