Get The Old Value of Field

how get old value of field ???

On Python:

old_doc = self.get_doc_before_save()

2 Likes

image

1 Like

I want it for child table

u get the doc, child table will be present or not?

example: if my self has a child called “items” all values from old_doc.items will be old, or not?

yes, the old doc’s items is old items, suggest you to check the Version diff function.