Use variable "type_sal" instead of "cadre".
Add missing webob imports.