Adrià Gil Sorribes
6 years ago
17 changed files with 316 additions and 348 deletions
-
1kpi/__init__.py
-
3kpi/__manifest__.py
-
12kpi/data/kpi.xml
-
1kpi/models/__init__.py
-
7kpi/models/kpi.py
-
3kpi/models/kpi_category.py
-
3kpi/models/kpi_history.py
-
3kpi/models/kpi_threshold.py
-
5kpi/models/kpi_threshold_range.py
-
1kpi/tests/__init__.py
-
3kpi/tests/test_kpi.py
-
27kpi/views/kpi.xml
-
6kpi/views/kpi_category.xml
-
2kpi/views/kpi_history.xml
-
4kpi/views/kpi_threshold.xml
-
39kpi/views/kpi_threshold_range.xml
-
2kpi/views/menu.xml
@ -1,4 +1,3 @@ |
|||
# -*- 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). |
|||
|
|||
|
@ -1,10 +1,9 @@ |
|||
# -*- 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). |
|||
|
|||
{ |
|||
"name": "Key Performance Indicator", |
|||
"version": "9.0.1.1.0", |
|||
"version": "11.0.1.1.0", |
|||
"author": "Savoir-faire Linux,Odoo Community Association (OCA)", |
|||
"website": "http://www.savoirfairelinux.com", |
|||
"license": "AGPL-3", |
@ -1,18 +1,16 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<!-- Copyright 2012 - Now Savoir-faire Linux <https://www.savoirfairelinux.com/> |
|||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|||
<odoo> |
|||
<data noupdate="1"> |
|||
<odoo noupdate="1"> |
|||
<record forcecreate="True" id="ir_cron_kpi_action" model="ir.cron"> |
|||
<field name="name">Update KPI values</field> |
|||
<field name="user_id" ref="base.user_root"/> |
|||
<field name="interval_number">1</field> |
|||
<field name="interval_type">hours</field> |
|||
<field name="numbercall">-1</field> |
|||
<field eval="False" name="doall"/> |
|||
<field eval="'kpi'" name="model"/> |
|||
<field eval="'update_kpi_value'" name="function"/> |
|||
<field eval="'()'" name="args"/> |
|||
<field name="doall" eval="False"/> |
|||
<field name="model_id" ref="model_kpi"/> |
|||
<field name="state">code</field> |
|||
<field name="code">model.update_kpi_value()</field> |
|||
</record> |
|||
</data> |
|||
</odoo> |
@ -1,4 +1,3 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|||
|
|||
from . import test_kpi |
Write
Preview
Loading…
Cancel
Save
Reference in new issue