This commit is contained in:
Cayo Puigdefabregas 2023-12-11 14:07:59 +01:00
parent 1be7a18293
commit 6cf77c55db
1 changed files with 2 additions and 1 deletions

View File

@ -26,4 +26,5 @@ class Promotion(models.Model):
)
def get_discount(self, price):
return price - price*0.25
return price - price*0.25