On 02/09/13 23:15 -0700, Kaushik S wrote: > Hi, > I have to send a notification to Tryton about changes. There should be > a global notification handler in Tryton which should receive external event > notifications. Some eg. > 1) Someone has cancelled an appointment by sending a text message or by > updating our website. > 2) An email attachment comes in, we need to upload the attachment to the > database automatically. > 3) A third party application wants to notify Tryton of some change. > > What are the best ways of handling these scenarios?
Add methods on each Model that needs to do something with those events and call them using json-rpc or XML-RPC. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpyXCFTHtEB5.pgp
Description: PGP signature
