Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] okr_management: new module #153

Open
wants to merge 2 commits into
base: 17.0
Choose a base branch
from

Conversation

ica-adhoc
Copy link

No description provided.

@roboadhoc
Copy link

{
'name': 'OKR Management',
'version': "17.0.1.0.0",
'category': 'Base',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿Es correcta esta categoría?

'name': 'OKR Management',
'version': "17.0.1.0.0",
'category': 'Base',
'sequence': 14,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿Para que serviría esta secuencia?

'version': "17.0.1.0.0",
'category': 'Base',
'sequence': 14,
'website': 'www.adhoc.com.ar',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿Es necesario el website?


class OkrKr(models.Model):
_name = 'okr.kr'
_description = 'okr.kr'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cambiar la descripción, que no se llame igual que la descripción técnica del modelo


class OkrObjective(models.Model):
_name = 'okr.objective'
_description = 'okr.objective'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cambiar la descripción, que no se llame igual que la descripción técnica del modelo.

objective_type = fields.Selection([('inspirational', 'Inspirational'), ('commitment', 'Commitment')], required=True, default='inspirational')
kr_ids = fields.One2many('okr.kr', 'objective_id')
progress = fields.Float(compute='_compute_progress')
responsible_id = fields.One2many('hr.employee')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Falta el many2one en hr.employee

importance = fields.Float(string='Importante')
target = fields.Float(string='Target')
result = fields.Float(string='Result')
responsible_id = fields.One2many('hr.employee')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Falta el many2one en hr.employee

_description = 'okr.kr'

name = fields.Char(string='Resume', required=True)
description = fields.Char(string='Description', required=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

borrar string

Comment on lines +10 to +13
progress = fields.Float(string='Progress', compute='_compute_progress')
importance = fields.Float(string='Importante')
target = fields.Float(string='Target')
result = fields.Float(string='Result')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

borrar strings

responsible_id = fields.One2many('hr.employee')
teammate_ids = fields.Many2many('hr.employee')
action_plan = fields.Text(string='Action Plan')
#code = fields.Char(size=4, required=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

borrar comentario

@pablohmontenegro
Copy link
Contributor

@ica-adhoc buenas Nacho, cómo estás? faltaría hacer rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants