mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
* kpi migration to odoo 9 * UI error connected * Correction base on last maxime review * correction on @elicoidal review * Warning exception improve in kpi_threshold * Latest Ellicoidal comment implemented * last Ellicoial recommendation done. * Copyright corrected
15 lines
423 B
Python
15 lines
423 B
Python
# -*- coding: utf-8 -*-
|
|
# Copyright 2012 - Now Savoir-faire Linux <https://www.savoirfairelinux.com/>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from openerp import fields, models
|
|
|
|
|
|
class KPICategory(models.Model):
|
|
"""KPI Category."""
|
|
|
|
_name = "kpi.category"
|
|
_description = "KPI Category"
|
|
name = fields.Char('Name', size=50, required=True)
|
|
description = fields.Text('Description')
|