summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-08-01 16:16:24 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-08-01 16:16:24 +0700
commitf371d548f434fac43595dffd9125f1d63f978157 (patch)
tree66f276000d8f8e7d51799e6721788eb579dc5ef2 /indoteknik_custom/models
parenta58a6148cb903cab6f34a4b5084df98436819c85 (diff)
Add sequence and for_week on banner
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/x_banner_banner.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/indoteknik_custom/models/x_banner_banner.py b/indoteknik_custom/models/x_banner_banner.py
index c34b7634..a9de2067 100755
--- a/indoteknik_custom/models/x_banner_banner.py
+++ b/indoteknik_custom/models/x_banner_banner.py
@@ -16,4 +16,11 @@ class XBannerBanner(models.Model):
x_status_banner = fields.Selection([
('tayang', 'Tayang'),
('tidak_tayang', 'Tidak Tayang')
- ], string="Status") \ No newline at end of file
+ ], string="Status")
+ sequence = fields.Integer(string='Sequence')
+ for_week = fields.Selection([
+ ('1', 1),
+ ('2', 2),
+ ('3', 3),
+ ('4', 4)
+ ], string='For Week') \ No newline at end of file