Hello guys, I hope everybody is doing all right.
Let me tell you that I’m almost finish with Tryton module to get a certification according to the Angolan authorities. It’s been a really good journey, lot’s to learn about Trytond infrastrutute as well as python as a programming language. Both are really good and solid.
After finishing the process of database data collection and exporting to an xml file, I need to add a Hash value. The purpose of this hash value is to digitally sign a document created. For example, every time an invoice is posted, a hash value must be created and saved so it can be included in the SAFT reporting file.
So, I suppose it will be a function field, so I can call a method and calculate the hash value from the invoice data. Until here it’s all right . However, I’m struggling to create the column in the database and then create a new hash value when an invoice is posted.
Can you guys help me with this?