Files
enterprise-addons/spreadsheet_dashboard_documents/wizard/documents_to_dashboard_views.xml
T

28 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="spreadsheet_document_to_dashboard_view_form" model="ir.ui.view">
<field name="name">spreadsheet.document.to.dashboard.view.form</field>
<field name="model">spreadsheet.document.to.dashboard</field>
<field name="arch" type="xml">
<form>
<div class="alert alert-warning" role="alert">
We're sending the original spreadsheet to the trash. No worries, though! You can still make edits by heading over to the Dashboard configuration.
</div>
<group>
<group>
<field name="name"/>
<field name="dashboard_group_id" options="{'no_open': True, 'no_create_edit': True}" placeholder="Choose a dashboard section..."/>
</group>
<group>
<field name="group_ids" widget="many2many_tags"/>
</group>
</group>
<footer>
<button string="Create" name="create_dashboard" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>