🎉 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,46 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="mvd_tcg_mtg_scryfall_lookup_view_form" model="ir.ui.view">
<field name="name">mvd.tcg.mtg.scryfall.lookup.view.form</field>
<field name="model">mvd.tcg.mtg.lookup</field>
<field name="arch" type="xml">
<form string="Lookup Card">
<sheet>
<group>
<group>
<field
name="query"
placeholder="e.g. Black Lotus or https://scryfall.com/card/lea/233/black-lotus"
/>
</group>
<group>
<field name="lookup_mode" widget="radio"/>
</group>
</group>
<div class="text-muted">
The Scryfall connector imports or refreshes one MTG
reference card together with its set metadata and
translations.
</div>
</sheet>
<footer>
<button
name="action_lookup_card"
string="Lookup Card"
type="object"
class="btn-primary"
/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="mvd_tcg_mtg_scryfall_lookup_action" model="ir.actions.act_window">
<field name="name">Lookup Card</field>
<field name="res_model">mvd.tcg.mtg.lookup</field>
<field name="view_mode">form</field>
<field name="view_id" ref="mvd_tcg_mtg_scryfall.mvd_tcg_mtg_scryfall_lookup_view_form"/>
<field name="target">new</field>
</record>
</odoo>