Files
odoo_source/addons/spreadsheet_dashboard_purchase/data/dashboards.xml
T
Chenyun Yang 0a87304ff0 [REF] spreadsheet: spreadsheet models
This commit refactors the current model structure of spreadsheet-related
module. Data fields are integrated into an abstract model
`spreadsheet.mixin` and all sub-models are inherited from it. This way
we can group all decode/encode logics into one place.

task 3222572

closes odoo/odoo#116498

Related: odoo/upgrade#4473
Related: odoo/enterprise#38692
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
2023-03-30 15:09:33 +02:00

13 lines
573 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="spreadsheet_dashboard_vendors" model="spreadsheet.dashboard">
<field name="name">Vendors</field>
<field name="spreadsheet_binary_data" type="base64" file="spreadsheet_dashboard_purchase/data/files/vendors_dashboard.json"/>
<field name="dashboard_group_id" ref="spreadsheet_dashboard.spreadsheet_dashboard_group_logistics"/>
<field name="group_ids" eval="[Command.link(ref('purchase.group_purchase_manager'))]"/>
<field name="sequence">200</field>
</record>
</odoo>