forked from Yaltik/golem
small refactorings
This commit is contained in:
parent
f4bfa8afe9
commit
8ceb95f3f3
@ -16,4 +16,4 @@
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from . import golem_activity, golem_activity_registration_slot
|
||||
from . import golem_activity, golem_activity_registration_slot, golem_activity_registration
|
||||
|
@ -29,3 +29,5 @@ class GolemActivity(models.Model):
|
||||
slots_duration = fields.Float(string='Registration Slot Duration')
|
||||
registration_slot_ids = fields.One2many('golem.activity.registration.slot', 'activity_id',
|
||||
string='Registration Slots')
|
||||
|
||||
#@api.constrains('slots_number', 'slots_duration')
|
||||
|
Loading…
Reference in New Issue
Block a user