Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
third-party
Commits
c5bb60b6
Commit
c5bb60b6
authored
5 months ago
by
Yvon Kerdoncuff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
same as previous commit in another function
parent
20e1026a
refonte_espace_membre_sc
…
6813-marking-parent-gone-when-unpairing-binom-does-not-unsuscribe-parent-from-shift-template
7723-7559-change-purchase-order-workflow-django-side
7731-third-party-side-brinks-pos-export-not-working
7747-inventaire-par-article
7800-make-test-solution-work
7819-prevent-adding-product-already-in-order
7848-cannot-validate-qty-with-decimal-on-kg-product
7918_bug_quantites_stade_demande_prix
migration-v12
migration-v12-tag
1 merge request
!277
WIP: get modifications from third-party-v12 repo
Pipeline
#3897
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
models.py
members/models.py
+1
-1
No files found.
members/models.py
View file @
c5bb60b6
...
...
@@ -1425,7 +1425,7 @@ class CagetteMembers(models.Model):
if
res
:
cs
=
CagetteShift
()
for
idx
,
partner
in
enumerate
(
res
):
[
shift
D
ata
,
is_ftop
]
=
cs
.
get_shift_partner
(
int
(
partner
[
'id'
]))
[
shift
_d
ata
,
is_ftop
]
=
cs
.
get_shift_partner
(
int
(
partner
[
'id'
]))
res
[
idx
][
'makeups_to_come'
]
=
sum
(
1
for
value
in
shift_data
if
value
[
'is_makeup'
])
@staticmethod
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment