This commit converts the report code to the new framework. Since the module stock still has code that extends the old "ReportClientAction", the old report code is put inside this module. It can be then naturally removed once the module is fully converted. closes odoo/odoo#97390 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
|
|
<record id="report_layout_striped" model="report.layout">
|
|
<field name="name">Striped</field>
|
|
<field name="sequence">5</field>
|
|
<field name="view_id" ref="web.external_layout_striped"/>
|
|
</record>
|
|
|
|
<record id="report_layout_standard" model="report.layout">
|
|
<field name="name">Light</field>
|
|
<field name="sequence">2</field>
|
|
<field name="view_id" ref="web.external_layout_standard"/>
|
|
</record>
|
|
|
|
<record id="report_layout_boxed" model="report.layout">
|
|
<field name="name">Boxed</field>
|
|
<field name="sequence">3</field>
|
|
<field name="view_id" ref="web.external_layout_boxed"/>
|
|
</record>
|
|
|
|
<record id="report_layout_bold" model="report.layout">
|
|
<field name="name">Bold</field>
|
|
<field name="sequence">4</field>
|
|
<field name="view_id" ref="web.external_layout_bold"/>
|
|
</record>
|
|
|
|
<record id="asset_styles_company_report" model="ir.attachment">
|
|
<field name="datas" model="res.company" eval="obj()._get_asset_style_b64()"/>
|
|
<field name="mimetype">text/scss</field>
|
|
<field name="name">res.company.scss</field>
|
|
<field name="type">binary</field>
|
|
<field name="url">web/static/asset_styles_company_report.scss</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|