Skip to content
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

Update basket stock records when strategy changes #4180

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

st8st8
Copy link
Contributor

@st8st8 st8st8 commented Oct 3, 2023

No description provided.

@st8st8
Copy link
Contributor Author

st8st8 commented Oct 3, 2023

References issue:

#4164

@st8st8
Copy link
Contributor Author

st8st8 commented Oct 4, 2023

Actually - this is quite broken because it causes attempted modifications of frozen baskets, I'll have to rethink...

@specialunderwear
Copy link
Member

Ok, looking forward to your solution, thnx!

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #4180 (2516a2d) into master (cb93f5e) will increase coverage by 0.51%.
Report is 9 commits behind head on master.
The diff coverage is 81.81%.

❗ Current head 2516a2d differs from pull request most recent head 7a5fa8f. Consider uploading reports for the commit 7a5fa8f to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4180      +/-   ##
==========================================
+ Coverage   87.84%   88.35%   +0.51%     
==========================================
  Files         291      293       +2     
  Lines       16145    16045     -100     
==========================================
- Hits        14182    14176       -6     
+ Misses       1963     1869      -94     
Files Coverage Δ
src/oscar/apps/basket/abstract_models.py 91.52% <85.71%> (-0.14%) ⬇️
src/oscar/apps/basket/middleware.py 87.00% <75.00%> (ø)

... and 6 files with indirect coverage changes

…into partner_basket

# Conflicts:
#	src/oscar/apps/basket/middleware.py
@st8st8
Copy link
Contributor Author

st8st8 commented Mar 3, 2024

In the end, I went with updating stock records at time of merge baskets, when users log in.

Take a look....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants