Skip to content

Commit 8123c2e

Browse files
committed
[IMP] util/records: add missing doc details
`delete_unused` also marks as noupdate. closes #70 Signed-off-by: Alvaro Fuentes Suarez (afu) <[email protected]>
1 parent aaa1f0f commit 8123c2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/util/records.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,9 @@ def delete_unused(cr, *xmlids, **kwargs):
10911091
This function will remove records pointed by `xmlids` only if they are not referenced
10921092
from any table.
10931093
1094+
.. note::
1095+
The records that cannot be removed are set as `noupdate=True`.
1096+
10941097
:param list(str) xmlids: list of xml_ids to check for removal
10951098
:param bool deactivate: whether to deactivate records that cannot be removed because
10961099
they are referenced, `False` by default

0 commit comments

Comments
 (0)