I am working to access the BOM data from XML-RPC, I can access the fields like mrp.bom and mrp.bom.line. My questions are:
- How can I access the total products instead of search for a particular product?
- How to access the particular product structure i.e., components and its attachments if any from ir.attachment?
- How can I upload/download attachment from XML-RPC?
ids=models.execute_kw(DB,uid,ODOO_PWD,'ir.attachment','search',[[['name','=','thermaln.png']]])
print(ids)
print("thermaln.png")[record]=models.execute_kw(DB,uid,ODOO_PWD,'ir.attachment','read',[ids])
I want to download it to a new local directory. Thanks in advance.
The file storage methods available cannot be accessed remotely. Can any body guide with the work around?