[Analyses pour la ville] small improvment
This commit is contained in:
parent
c46d91bc50
commit
58717a8e79
@ -20,7 +20,6 @@
|
||||
|
||||
import logging
|
||||
from odoo import models, fields, api, _
|
||||
from odoo.exceptions import UserError, ValidationError
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@ -39,6 +38,7 @@ class GolemActivityRegistrationAnalysisWizard(models.TransientModel):
|
||||
|
||||
@api.multi
|
||||
def get_pivot_view(self):
|
||||
""" get pivot view """
|
||||
self.ensure_one()
|
||||
rec = self[0]
|
||||
if rec.analyse_type == 'age_start_activity_area':
|
||||
@ -53,6 +53,7 @@ class GolemActivityRegistrationAnalysisWizard(models.TransientModel):
|
||||
|
||||
@api.multi
|
||||
def registration_analye(self):
|
||||
""" registration analyse """
|
||||
self.ensure_one()
|
||||
analysis_rec = self[0]
|
||||
registrations = self.env['golem.activity.registration'].search(
|
||||
|
Loading…
Reference in New Issue
Block a user