Community mailing list archives
community@mail.odoo.com
Browse archives
Create XML-record from an object
by
Anders Wallenquist
What is the best practice to create a XML-record from an object in Python? I have a sale.order.line, or an other object from an Odoo-model, and want to create a record like this: Laptop E5023 3 3 2950.00 Are there any methods from models.Model I can use? eg line._export_xml() Second question: what is best practice to programaticly load such xml-file? Regards Anders Wallenquist Vertel AB