Define custom fields and serializer for MatrixServiceProduct

This commit is contained in:
fnux 2020-02-28 16:26:45 +01:00
commit af1265003e
4 changed files with 17 additions and 3 deletions

View file

@ -163,5 +163,9 @@ class Product(models.Model):
def recurring_price(self, recurring_period=RecurringPeriod.PER_MONTH):
pass # To be implemented in child.
@property
def setup_fee(self):
return 0
class Meta:
abstract = True