forked from Yaltik/golem
[TPM] Membership type -> Link season
This commit is contained in:
parent
66c4f8f75a
commit
52137f3829
@ -28,6 +28,8 @@ class GolemSeason(models.Model):
|
|||||||
_('This season name has already been used.'))]
|
_('This season name has already been used.'))]
|
||||||
|
|
||||||
name = fields.Char('Season name', copy=False)
|
name = fields.Char('Season name', copy=False)
|
||||||
|
|
||||||
|
membership_id = fields.Many2one('product.product', 'Membership type')
|
||||||
member_counter = fields.Integer('Counter for member number generation',
|
member_counter = fields.Integer('Counter for member number generation',
|
||||||
readonly=True, default=1)
|
readonly=True, default=1)
|
||||||
date_start = fields.Date('Period start')
|
date_start = fields.Date('Period start')
|
||||||
|
@ -35,6 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</div>
|
</div>
|
||||||
<group string="Season">
|
<group string="Season">
|
||||||
<field name="is_default" invisible="True" />
|
<field name="is_default" invisible="True" />
|
||||||
|
<field name="membership_id" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
<field name="date_start" />
|
<field name="date_start" />
|
||||||
<field name="date_end" />
|
<field name="date_end" />
|
||||||
|
Loading…
Reference in New Issue
Block a user