Skip to content

Fix critical sales and backup regressions#75

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/critical-bug-investigation-1f2a
Draft

Fix critical sales and backup regressions#75
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/critical-bug-investigation-1f2a

Conversation

@cursor

@cursor cursor Bot commented Jun 25, 2026

Copy link
Copy Markdown

Summary

  • Stop sale detail GET requests from rewriting persisted sale amounts.
  • Reject unsupported sale payment methods and remove exposed credit checkout.
  • Require POST/CSRF and transaction locks for draft sale item deletion.
  • Fix backup restore confirmation/context and roll back DB/media when media restore fails.
  • Avoid invalid admin log content type IDs for log file actions.

Validation

  • .venv/bin/python manage.py test inventory.tests.test_sale_status inventory.tests.test_sales_balance_payment inventory.tests.test_views.BackupViewSecurityTest
  • .venv/bin/python manage.py test inventory.tests.test_i18n
  • .venv/bin/python manage.py check
Open in Web View Automation 

cursoragent and others added 2 commits June 25, 2026 11:07
Co-authored-by: Xianist Lab <zhtyyx@users.noreply.github.com>
Co-authored-by: Xianist Lab <zhtyyx@users.noreply.github.com>
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.

1 participant