diff --git a/addons/mail/doc/tracked_field.rst b/addons/mail/doc/tracked_field.rst new file mode 100644 index 00000000000..8d06ae1fa41 --- /dev/null +++ b/addons/mail/doc/tracked_field.rst @@ -0,0 +1,18 @@ +Tracked fields +--------------- +Tracked fields is generic logging system for the changes applied to some fields in open chatter. + - In the definition of a fields. you have to simply add tracked=True. + - When changing one of the fields having tracked=True on saved automatically write a log in openchatter for the changes in fields. + +How it works: ++++++++++++++ + - You have to add tracked=True in field defination as following. + - ``'stage_id': fields.many2one('project.task.type', 'Stage',tracked=True),`` + - For developed this feature we override write method of mail_thread. + - And make one mako template which shows old field and updated field. + +Open chatter log: ++++++++++++++++++ + - After changing field follower can show log of tracked field in open chatter as followed. + - Updated Fields: + - Stage: Analysis -> Specification \ No newline at end of file