54 lines
2.0 KiB
XML
54 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="mvd_tcg_deck_text_transfer_view_form" model="ir.ui.view">
|
|
<field name="name">mvd.tcg.deck.text.transfer.view.form</field>
|
|
<field name="model">mvd.tcg.deck.text.transfer</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Deck List Transfer">
|
|
<group>
|
|
<group>
|
|
<field name="operation"/>
|
|
<field name="deck_id"/>
|
|
<field name="game_id"/>
|
|
</group>
|
|
<group>
|
|
<field
|
|
name="replace_existing"
|
|
invisible="operation != 'import'"
|
|
/>
|
|
</group>
|
|
</group>
|
|
<group col="1">
|
|
<field
|
|
name="line_text"
|
|
nolabel="1"
|
|
readonly="operation == 'export'"
|
|
placeholder="# Mainboard 1 Card Name 1 Another Card (TDM 101) # Sideboard 1 Third Card"
|
|
/>
|
|
</group>
|
|
<footer>
|
|
<button
|
|
name="action_apply_text_transfer"
|
|
type="object"
|
|
string="Apply"
|
|
class="btn-primary"
|
|
invisible="operation != 'import'"
|
|
/>
|
|
<button
|
|
string="Close"
|
|
class="btn-primary"
|
|
special="cancel"
|
|
invisible="operation != 'export'"
|
|
/>
|
|
<button
|
|
string="Cancel"
|
|
class="btn-secondary"
|
|
special="cancel"
|
|
invisible="operation == 'export'"
|
|
/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|