Skip to content

Commit

Permalink
new validation
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 7, 2016
1 parent 9784eed commit 588aaab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/budy/models/product.py
Expand Up @@ -79,7 +79,8 @@ class Product(base.BudyBase):

price = appier.field(
type = commons.Decimal,
index = True
index = True,
initial = commons.Decimal(0.0)
)

currency = appier.field(
Expand Down

0 comments on commit 588aaab

Please sign in to comment.