summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-07-12 15:36:24 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-07-12 15:36:24 +0700
commit17fd1072ccd6f2f74f73dd2e52ce7f0120adb3ce (patch)
tree9ec23101dbc979a3b295d2ea9c7306e224b7b921 /indoteknik_custom/models
parent5a349860e2da496e311b98e2075c783b8bbc0a14 (diff)
add is_show_program on flash sale
Diffstat (limited to 'indoteknik_custom/models')
-rw-r--r--indoteknik_custom/models/product_pricelist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/product_pricelist.py b/indoteknik_custom/models/product_pricelist.py
index b7a6d77e..2b17cf6e 100644
--- a/indoteknik_custom/models/product_pricelist.py
+++ b/indoteknik_custom/models/product_pricelist.py
@@ -6,6 +6,7 @@ class ProductPricelist(models.Model):
_inherit = 'product.pricelist'
is_flash_sale = fields.Boolean(string='Flash Sale', default=False)
+ is_show_program = fields.Boolean(string='Show Program', default=False)
banner = fields.Binary(string='Banner')
start_date = fields.Datetime(string='Start Date')
end_date = fields.Datetime(string='End Date')