[gen] Added for Ref field, param 'insert' that defines at what position a newly tied object is inserted among referred objects.
This commit is contained in:
parent
477db8a21c
commit
98b748cfb1
3 changed files with 75 additions and 41 deletions
|
@ -135,7 +135,7 @@ class BaseMixin:
|
|||
for field in self.getAllAppyTypes():
|
||||
if field.type != 'Ref': continue
|
||||
for obj in field.getValue(self):
|
||||
field.back.unlinkObject(obj, self, back=True)
|
||||
field.back.unlinkObject(obj, appyObj, back=True)
|
||||
# Uncatalog the object
|
||||
self.reindex(unindex=True)
|
||||
# Delete the filesystem folder corresponding to this object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue