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>
13 lines
584 B
XML
13 lines
584 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="spreadsheet_dashboard_livechat" model="spreadsheet.dashboard">
|
|
<field name="name">Live chat</field>
|
|
<field name="spreadsheet_binary_data" type="base64" file="spreadsheet_dashboard_im_livechat/data/files/livechat_dashboard.json"/>
|
|
<field name="dashboard_group_id" ref="spreadsheet_dashboard.spreadsheet_dashboard_group_website"/>
|
|
<field name="group_ids" eval="[Command.link(ref('im_livechat.im_livechat_group_manager'))]"/>
|
|
<field name="sequence">100</field>
|
|
</record>
|
|
|
|
</odoo>
|