🎉 Initialize module repository
This commit is contained in:
14
models/mvd_tcg_game.py
Normal file
14
models/mvd_tcg_game.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""MTG-specific helpers on the neutral game model."""
|
||||
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class MvdTcgGame(models.Model):
|
||||
"""Provide stable access to the seeded MTG game record."""
|
||||
|
||||
_inherit = "mvd.tcg.game"
|
||||
|
||||
@api.model
|
||||
def _mvd_tcg_get_mtg_game(self):
|
||||
"""Return the seeded MTG game record."""
|
||||
return self.env.ref("mvd_tcg_mtg.mvd_tcg_game_mtg")
|
||||
Reference in New Issue
Block a user