hi
i am working on my custom module in i want to get one (doc,pdf) file from user in website.and added that object in attachment object in odoo means in 'ir.applicant' model of odoo i want to set that file in 'attachment_ids' so how can i do that from controller i am create applicant object from controller but i want to add just file in attachment in odoo