When entering information for a new incoming or outgoing call, how can I save 
the "duration" of the call automatically?

When a user first enters the form, a variable is created to stored the current 
datetime. But when a user clicks the "save" or "save & edit" button, I want to 
automatically calculate the duration (by determining the difference in seconds) 
and then insert the result into the database table "crm_case" under the 
"duration" field (along with the other form elments as well).

How do I do that?

Thanks




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=36246#36246

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to