I need to perform a notification on a non tryton database after the creation of the record.
I see that it's possible to overwrite the create function.. but there is any better solutions to be sure to be after the commit of the database ?
I do in this way
@classmethod def create(cls, values): newObject = super(Inventory, cls).create(values) newObject.notifieToMainServer()
regards