Skip to content
Extraits de code Groupes Projets
Valider 175046cb rédigé par Juliana's avatar Juliana
Parcourir les fichiers

[UPD]Change range date

parent 318382ad
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# Copyright 2021 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import main
# © 2019 Le Filament (<http://www.le-filament.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import json
from odoo import http
from odoo.http import request
class Main(http.Controller):
@http.route(['/get_data_conso'], type='json', auth="user", website=True)
def get_conso(self, operation_id, scale, **kw):
values = operation_id.graph_view_conso(scale)
@http.route(['/get_data_prod'], type='json', auth="user", website=True)
def get_conso(self, operation_id, scale, **kw):
values = operation_id.graph_view_prod(scale)
\ No newline at end of file
Ce diff est replié.
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter