From 6893789faab9c7f1d026f5d66f67ea2f67411cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Tue, 13 Jun 2023 13:39:22 +0200 Subject: [PATCH] Rename function with_inactive_records in documentation The commit e6c72b1f23e7 added the function but the documentation used another name --- trytond/doc/ref/transaction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/doc/ref/transaction.rst b/trytond/doc/ref/transaction.rst index fdd307d0a3..d753680432 100644 --- a/trytond/doc/ref/transaction.rst +++ b/trytond/doc/ref/transaction.rst @@ -165,7 +165,7 @@ Transaction 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.