generateXml method
Full views.xml content for this single view
Implementation
String generateXml() {
final buf = StringBuffer();
buf.writeln('<?xml version="1.0" encoding="utf-8"?>');
buf.writeln('<odoo>');
buf.writeln(' <data>');
buf.writeln();
buf.writeln(_generateRecord());
buf.writeln();
buf.writeln(' </data>');
buf.write('</odoo>');
return buf.toString();
}