Move profile and settings into the new unified dashboard, showing user info in one place
This commit is contained in:
parent
2d826734a0
commit
7edefe23c3
37 changed files with 726 additions and 500 deletions
|
|
@ -334,6 +334,7 @@ class TradeAcceptance(models.Model):
|
|||
if new_state not in allowed:
|
||||
raise ValueError(f"Transition from {self.state} to {new_state} is not allowed.")
|
||||
|
||||
self._actioning_user = user
|
||||
self.state = new_state
|
||||
self.save(update_fields=["state"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue