This commit is contained in:
Cayo Puigdefabregas 2023-12-11 14:07:59 +01:00
parent 1be7a18293
commit 6cf77c55db

View file

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