summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/promotion
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-05-17 02:50:46 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-05-17 02:50:46 +0000
commit3d3cb07ee778c445b2f6be361a8749dab27822ec (patch)
tree3036c34392651fa07ad14977b87d2863a0cbb5cf /indoteknik_custom/models/promotion
parent844339e517540826f6990456a63945dc879e37d5 (diff)
parent39c13cc7ebe48344e3088bc5bb921458ba4f7972 (diff)
Merged in production (pull request #142)
Production
Diffstat (limited to 'indoteknik_custom/models/promotion')
-rw-r--r--indoteknik_custom/models/promotion/promotion_program_line.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/promotion/promotion_program_line.py b/indoteknik_custom/models/promotion/promotion_program_line.py
index 4bf50ac9..34b70ca5 100644
--- a/indoteknik_custom/models/promotion/promotion_program_line.py
+++ b/indoteknik_custom/models/promotion/promotion_program_line.py
@@ -32,6 +32,7 @@ class PromotionProgramLine(models.Model):
order_promotion_ids = fields.One2many('sale.order.promotion', 'program_line_id', 'Promotions')
active = fields.Boolean(string="Active", default=True)
solr_flag = fields.Integer(string="Solr Flag", default=1)
+ description = fields.Char('Description')
def get_active_promotions(self, product_id):
current_time = datetime.now().strftime('%Y-%m-%d %H:%M:%S')