forked from Yaltik/golem
[REF]GOLEM Activity Registration State small refactoring
This commit is contained in:
parent
5006d2d2b4
commit
7c51acbfc9
@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
|
# Copyright 2017-2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU Affero General Public License as
|
# it under the terms of the GNU Affero General Public License as
|
||||||
@ -18,7 +18,8 @@
|
|||||||
{
|
{
|
||||||
'name': 'GOLEM Activity Session Member Registrations States',
|
'name': 'GOLEM Activity Session Member Registrations States',
|
||||||
'summary': 'GOLEM Activities Session Member Registration states',
|
'summary': 'GOLEM Activities Session Member Registration states',
|
||||||
'version': '10.0.1.0.1',
|
'description': 'GOLEM Activities Session Member Registration states',
|
||||||
|
'version': '10.0.1.0.2',
|
||||||
'category': 'GOLEM',
|
'category': 'GOLEM',
|
||||||
'author': 'Fabien Bourgeois',
|
'author': 'Fabien Bourgeois',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
@ -28,5 +29,5 @@
|
|||||||
'data': ['views/golem_activity_registration_views.xml',
|
'data': ['views/golem_activity_registration_views.xml',
|
||||||
'views/golem_member_views.xml', 'views/golem_activity_views.xml',
|
'views/golem_member_views.xml', 'views/golem_activity_views.xml',
|
||||||
'wizard/golem_activity_registration_invoicing.xml']
|
'wizard/golem_activity_registration_invoicing.xml']
|
||||||
# 'report/golem_member_report.xml']
|
# 'report/golem_member_report.xml']
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,8 @@ class GolemActivityRegistrationInvoicingLine(models.TransientModel):
|
|||||||
required=True)
|
required=True)
|
||||||
registration_id = fields.Many2one('golem.activity.registration', required=True)
|
registration_id = fields.Many2one('golem.activity.registration', required=True)
|
||||||
activity_id = fields.Many2one('golem.activity', required=True, readonly=True)
|
activity_id = fields.Many2one('golem.activity', required=True, readonly=True)
|
||||||
price = fields.Float('Price')
|
price = fields.Float()
|
||||||
|
|
||||||
|
|
||||||
class GolemActivityRegistrationInvoicing(models.TransientModel):
|
class GolemActivityRegistrationInvoicing(models.TransientModel):
|
||||||
""" GOLEM Activity Registration Invoicing Wizard """
|
""" GOLEM Activity Registration Invoicing Wizard """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user