forked from senaite/senaite.core
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added api.copy_object function for both DX and AT types (senaite#2151)
* Improve the function for the creation of AT content types * Fix doctest BatchClientAssignment * Check permission when editing object unless temporary * Move the internal import outside of the loop * Save one reindex * Explicitly bypass permission check on creation * Additional doctest snippet to ensure that new objects are properly indexed * Added `api.copy_object` function for both DX and AT types Co-authored-by: Ramon Bartl <rb@ridingbytes.com>
- Loading branch information
Showing
3 changed files
with
189 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters