-
Notifications
You must be signed in to change notification settings - Fork 24
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
base: 17.0
Are you sure you want to change the base?
Conversation
{ | ||
'name': 'OKR Management', | ||
'version': "17.0.1.0.0", | ||
'category': 'Base', |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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') |
There was a problem hiding this comment.
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') |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
borrar string
progress = fields.Float(string='Progress', compute='_compute_progress') | ||
importance = fields.Float(string='Importante') | ||
target = fields.Float(string='Target') | ||
result = fields.Float(string='Result') |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
borrar comentario
@ica-adhoc buenas Nacho, cómo estás? faltaría hacer rebase |
No description provided.