🎉 Initialize module repository

This commit is contained in:
Marc Wempe
2026-04-03 23:08:58 +02:00
commit 685c3296f1
23 changed files with 4022 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="mvd_tcg_mtg_set_view_form_scryfall" model="ir.ui.view">
<field name="name">mvd.tcg.mtg.set.view.form.scryfall</field>
<field name="model">mvd.tcg.mtg.set</field>
<field name="inherit_id" ref="mvd_tcg_mtg.mvd_tcg_mtg_set_view_form"/>
<field name="arch" type="xml">
<xpath expr="//sheet" position="before">
<header>
<button
name="action_mtg_scryfall_refresh_set"
string="Refresh from Scryfall"
type="object"
class="btn-primary"
groups="mvd_tcg_base.mvd_tcg_base_group_manager,base.group_system"
/>
</header>
</xpath>
<xpath expr="//div[@name='button_box']" position="inside">
<button
name="action_open_mtg_scryfall_last_import_run"
type="object"
class="oe_stat_button"
icon="fa-refresh"
invisible="not mtg_scryfall_last_import_run_id"
groups="mvd_tcg_base.mvd_tcg_base_group_manager,base.group_system"
>
<div class="o_stat_info">
<span class="o_stat_text">Last Import</span>
<span class="o_stat_value">Open</span>
</div>
</button>
</xpath>
<xpath expr="//notebook/page[@name='general_information']" position="after">
<page string="Scryfall" name="scryfall_connector" groups="mvd_tcg_base.mvd_tcg_base_group_administrator,base.group_system">
<group>
<group>
<field name="mtg_scryfall_last_synced_at"/>
</group>
<group>
<field name="mtg_scryfall_last_import_run_id"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>