🎉 Initialize module repository
This commit is contained in:
65
views/res_config_settings_views.xml
Normal file
65
views/res_config_settings_views.xml
Normal file
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="mvd_tcg_res_config_settings_view_form" model="ir.ui.view">
|
||||
<field name="name">res.config.settings.view.form.inherit.mvd.tcg</field>
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//form" position="inside">
|
||||
<app
|
||||
string="TCG"
|
||||
data-string="TCG"
|
||||
name="mvd_tcg"
|
||||
logo="/mvd_tcg_base/static/description/icon.png"
|
||||
groups="mvd_tcg_base.mvd_tcg_base_group_administrator,base.group_system"
|
||||
>
|
||||
<block title="Overview" name="mvd_tcg_overview">
|
||||
<setting
|
||||
id="mvd_tcg_overview_setting"
|
||||
string="Suite Configuration"
|
||||
help="Connector and AI defaults for the MVD TCG suite."
|
||||
>
|
||||
<div class="text-muted">
|
||||
Configure connector and analysis defaults here. Technical integration
|
||||
details stay in settings instead of user-facing data forms.
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
<ul class="list-unstyled mb-0">
|
||||
<li>
|
||||
<strong>Scryfall Connector</strong>:
|
||||
import defaults and API behavior for MTG reference sync.
|
||||
</li>
|
||||
<li>
|
||||
<strong>OpenAI Analysis</strong>:
|
||||
model and batching defaults for deck analysis, role tagging,
|
||||
alternatives, and deck fill.
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</setting>
|
||||
</block>
|
||||
<block title="Uploads" name="mvd_tcg_uploads">
|
||||
<setting
|
||||
id="mvd_tcg_max_file_upload_size_mb_setting"
|
||||
string="Maximum File Upload Size"
|
||||
help="Controls the file size limit exposed to the Odoo web client for TCG-related uploads and imports."
|
||||
>
|
||||
<field name="mvd_tcg_max_file_upload_size_mb"/>
|
||||
<div class="text-muted mt-2">
|
||||
Increase this value if large CSV, XLSX, ZIP, or image archives should be uploaded through the browser.
|
||||
</div>
|
||||
</setting>
|
||||
</block>
|
||||
</app>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mvd_tcg_action_configuration" model="ir.actions.act_window">
|
||||
<field name="name">TCG Settings</field>
|
||||
<field name="res_model">res.config.settings</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="target">current</field>
|
||||
<field name="context">{'module': 'mvd_tcg', 'bin_size': False}</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user