I want to add attachment via code in project_issue. i have a button in tree view of project_issue, by clicking that button i open one popup (osv.memory) dialog . i put attachment field in that model(osv.memory). On button click of that dialog i want to attach document to project_issue record. How it is possible ?