diff options
| author | Xavier Morel <xmo@odoo.com> | 2020-07-16 09:49:10 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-07-28 13:03:13 +0000 |
| commit | 6835aeb0de6895f7f4d6b23e0b4654465ef21d6a (patch) | |
| tree | a01960df831f7f6fee07b99851dfc49a0978b222 /addons/account_test | |
| parent | 96a3265118df686a0175b240c9636cfd2b53a492 (diff) | |
[REM] core, *: deprecate <act_window> and <report>
Convert deprecated tags through the codebase.
Diffstat (limited to 'addons/account_test')
| -rw-r--r-- | addons/account_test/report/accounting_assert_test_reports.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/addons/account_test/report/accounting_assert_test_reports.xml b/addons/account_test/report/accounting_assert_test_reports.xml index 8eb8102c618..bf2af6395e3 100644 --- a/addons/account_test/report/accounting_assert_test_reports.xml +++ b/addons/account_test/report/accounting_assert_test_reports.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <odoo> - <report - id="account_assert_test_report" - model="accounting.assert.test" - string="Accounting Tests" - report_type="qweb-pdf" - name="account_test.report_accounttest" - file="account_test.report_accounttest" - /> + <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"/> + <field name="binding_type">report</field> + </record> </odoo> |
