View or print attachement - gedit as default program
I have just installed document management system and encountered the problem to view or print attached documents.
When I press the "Attachements" button and choose the document (pdf or jpg) the system tries to open it with gedit, not pdf or jpg viewer.
Even if I choose another viewer (e.g. Acrobat or Evince) I cannot check the option "save it as default for this type of file" (the option is greyed). So I have to choose the viewer each time I want to open the attachement.
The "Print" button works correctly - opens with Acrobat Reader.
Is there any setting in OpenErp to set the default viewer?