summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/product_pricelist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_pricelist.py b/indoteknik_custom/models/product_pricelist.py
index 190887cf..a309945d 100644
--- a/indoteknik_custom/models/product_pricelist.py
+++ b/indoteknik_custom/models/product_pricelist.py
@@ -10,6 +10,10 @@ class ProductPricelist(models.Model):
start_date = fields.Datetime(string='Start Date')
end_date = fields.Datetime(string='End Date')
banner_mobile = fields.Binary(string='Banner Mobile')
+ flashsale_option = fields.Selection([
+ ('all', 'For All User'),
+ ('registered_user', 'Only for Registered User')
+ ], string='Flashsale Option')
class ProductPricelistItem(models.Model):