I'm trying to make an activity and then mark it done right away after its creation. I am able to create my activity with automated actions using
"newActivity = env["mail.activity"].create({ *activity info* })"
Then I figured out how to delete it.. "newActivity.unlink()"
But that wasn't it. I want to be able to mark the newActivity as done so it shows up in the old activities in the chatter. How do I do this?
Or can this be done?
Thank you