summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-08-03 13:57:58 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-08-03 13:57:58 +0700
commit295dabd27518f3947994fb7cab39f6448db7aafa (patch)
tree36a41eb8ece2970e20729283bc00cd09bee26f96 /indoteknik_custom/models
parent4a670f1f85848ef46c605fd67ff4e3d305571522 (diff)
Update for_week to group_by_week on banner model, view, API
Diffstat (limited to 'indoteknik_custom/models')
-rwxr-xr-xindoteknik_custom/models/x_banner_banner.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/indoteknik_custom/models/x_banner_banner.py b/indoteknik_custom/models/x_banner_banner.py
index a9de2067..d6884c9b 100755
--- a/indoteknik_custom/models/x_banner_banner.py
+++ b/indoteknik_custom/models/x_banner_banner.py
@@ -18,9 +18,9 @@ class XBannerBanner(models.Model):
('tidak_tayang', 'Tidak Tayang')
], 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
+ group_by_week = fields.Selection([
+ ('1', '1'),
+ ('2', '2'),
+ ('3', '3'),
+ ('4', '4')
+ ], string='Group by Week') \ No newline at end of file