Skip to content

Commit

Permalink
TA#70089 [14.0][CHG] project_type : allow copy on project type (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
lanto-razafindrabe authored Nov 8, 2024
1 parent a9faaa0 commit 5e7eb76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions project_type/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

This module adds the fields `sequence`, `active` and `color` to the project type Form view.

Since version 1.1.1, it allows to copy the project type when duplicating project.

Contributors
------------
* Numigi (tm) and all its contributors (https://bit.ly/numigiens)
2 changes: 1 addition & 1 deletion project_type/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Project Type",
"version": "1.1.0",
"version": "1.1.1",
"author": "Numigi",
"maintainer": "Numigi",
"website": "https://bit.ly/numigi-com",
Expand Down
2 changes: 1 addition & 1 deletion project_type/models/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
class ProjectWithType(models.Model):
_inherit = 'project.project'

type_id = fields.Many2one(tracking=True)
type_id = fields.Many2one(tracking=True, copy=True)

0 comments on commit 5e7eb76

Please sign in to comment.