Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cgscop_timesheet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Le Filament
Confédération Générale des SCOP
cgscop_timesheet
Commits
2925f6f5
Commit
2925f6f5
authored
1 month ago
by
Benjamin - Le Filament
Browse files
Options
Downloads
Plain Diff
[MR] Ajout d'une option pour identifier les activités liées à la création
See merge request
!14
parents
eec20cde
a452c206
No related branches found
Branches containing commit
No related tags found
1 merge request
!14
Ajout d'une option pour identifier les activités liées à la création
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
models/project.py
+3
-0
3 additions, 0 deletions
models/project.py
views/hr_timesheet_cgscop.xml
+1
-0
1 addition, 0 deletions
views/hr_timesheet_cgscop.xml
with
4 additions
and
0 deletions
models/project.py
+
3
−
0
View file @
2925f6f5
...
...
@@ -21,6 +21,9 @@ class ScopProjectTimesheet(models.Model):
ondelete
=
"
restrict
"
,
default
=
_default_ur
,
)
creation_invoiced
=
fields
.
Boolean
(
string
=
"
Facturé au titre de la création
"
,
)
@api.onchange
(
"
name
"
)
def
onchange_name
(
self
):
...
...
This diff is collapsed.
Click to expand it.
views/hr_timesheet_cgscop.xml
+
1
−
0
View file @
2925f6f5
...
...
@@ -68,6 +68,7 @@
placeholder=
"Code activité National"
options=
"{'no_open': True, 'no_create': True}"
/>
<field
name=
"creation_invoiced"
widget=
"boolean_toggle"
/>
<field
name=
"analytic_account_id"
invisible=
"1"
/>
<field
name=
"privacy_visibility"
invisible=
"1"
/>
<field
name=
"allow_timesheets"
invisible=
"1"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment