forked from Yaltik/golem
[TPM] Membership type -> Link season
This commit is contained in:
parent
a3ea12191f
commit
485a45f217
@ -29,7 +29,10 @@ class GolemSeason(models.Model):
|
||||
|
||||
name = fields.Char('Season name', copy=False)
|
||||
|
||||
membership_id = fields.Many2one('product.product', 'Membership type')
|
||||
membership_id = fields.Many2one('product.template', 'Membership type',
|
||||
domain="[('membership', '=', True)]" )
|
||||
|
||||
|
||||
member_counter = fields.Integer('Counter for member number generation',
|
||||
readonly=True, default=1)
|
||||
date_start = fields.Date('Period start')
|
||||
|
Loading…
Reference in New Issue
Block a user