odoo15中report record写法:
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="account_assert_test_report" model="ir.actions.report"> <field name="name">Accounting Tests</field> <field name="model">accounting.assert.test</field> <field name="report_type">qweb-pdf</field> <field name="report_name">account_test.report_accounttest</field> <field name="report_file">account_test.report_accounttest</field> <field name="binding_model_id" ref="model_accounting_assert_test"/>