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