Skip to content

Commit

Permalink
[UPD] Modificado campos del modelo project
Browse files Browse the repository at this point in the history
  • Loading branch information
marrasbinovo committed Aug 29, 2024
1 parent 78dab69 commit 13e1098
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions project_characterization/models/project_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ class ProjectProject(models.Model):
)
code = fields.Char(related="analytic_account_id.code")
justification_deadline = fields.Date(
related="analytic_account_id.justification_deadline"
related="analytic_account_id.justification_deadline", readonly=False
)
nonoperative = fields.Boolean(related="analytic_account_id.nonoperative")
num_code = fields.Char(related="analytic_account_id.num_code")
op_space_id = fields.Many2one(related="analytic_account_id.op_space_id")
res_area_id = fields.Many2one(related="analytic_account_id.res_area_id")
res_area_type_id = fields.Many2one(related="analytic_account_id.res_area_type_id")
res_character_id = fields.Many2one(related="analytic_account_id.res_character_id")
res_target_id = fields.Many2one(related="analytic_account_id.res_target_id")
res_team_id = fields.Many2one(related="analytic_account_id.res_team_id")
nonoperative = fields.Boolean(related="analytic_account_id.nonoperative", readonly=False)
num_code = fields.Char(related="analytic_account_id.num_code", readonly=False)
op_space_id = fields.Many2one(related="analytic_account_id.op_space_id", readonly=False)
res_area_id = fields.Many2one(related="analytic_account_id.res_area_id", readonly=False)
res_area_type_id = fields.Many2one(related="analytic_account_id.res_area_type_id", readonly=False)
res_character_id = fields.Many2one(related="analytic_account_id.res_character_id", readonly=False)
res_target_id = fields.Many2one(related="analytic_account_id.res_target_id", readonly=False)
res_team_id = fields.Many2one(related="analytic_account_id.res_team_id", readonly=False)

@api.onchange("res_area_id")
def _onchange_area_id(self):
Expand Down

0 comments on commit 13e1098

Please sign in to comment.