Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions okr_management/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
##############################################################################
#
# Copyright (C) 2019 ADHOC SA (http://www.adhoc.com.ar)
# All Rights Reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'OKR Management',
'version': '16.0.0.0.0',
'category': 'Base',
'sequence': 14,
'summary': '',
'author': 'ADHOC SA',
'website': 'www.adhoc.com.ar',
'license': 'AGPL-3',
'images': [
],
'depends': [
'base',
],
'data': [
],
'demo': [
],
'installable': True,
'auto_install': False,
'application': False,
}
1 change: 1 addition & 0 deletions okr_management/init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
1 change: 1 addition & 0 deletions okr_management/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import okr_management
22 changes: 22 additions & 0 deletions okr_management/models/okr_management.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from odoo import models, fields, api


class OkrManagement(models.Model):
_name = 'ir.model.okr_management'
_description = 'ir.model.okr_management'

objective_summary = fields.Text()
description_summary = fields.Text()
progress = fields.Float()
weight = fields.Float()
target = fields.Float()
result = fields.Float()
responsible_ids = fields.One2many() # me falta relacionarlo con los usuarios
team_id = fields.One2many() # me fatla relacionarlo con los equipos
action_plan = fields.Text()
comments = fields.Text()
interdependencies = fields.Text()
made_in_the_quarter = fields.Text()
notes_for_next_quarter = fields.Text()

# Y falta todo lo otro...