From 295dabd27518f3947994fb7cab39f6448db7aafa Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 3 Aug 2023 13:57:58 +0700 Subject: Update for_week to group_by_week on banner model, view, API --- indoteknik_custom/models/x_banner_banner.py | 12 ++++++------ indoteknik_custom/views/x_banner_banner.xml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'indoteknik_custom') 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 diff --git a/indoteknik_custom/views/x_banner_banner.xml b/indoteknik_custom/views/x_banner_banner.xml index 10c762af..5e6526e0 100755 --- a/indoteknik_custom/views/x_banner_banner.xml +++ b/indoteknik_custom/views/x_banner_banner.xml @@ -7,7 +7,7 @@ - + @@ -30,7 +30,7 @@ - + -- cgit v1.2.3 From 46529f2657d18b6c74bd95c013f528de0f687a56 Mon Sep 17 00:00:00 2001 From: Azka Nathan Date: Thu, 3 Aug 2023 15:54:08 +0700 Subject: attribute value --- indoteknik_custom/__manifest__.py | 1 + .../views/product_attribute_value.xml | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 indoteknik_custom/views/product_attribute_value.xml (limited to 'indoteknik_custom') diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index 91eb4166..b7aadbdf 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -86,6 +86,7 @@ 'views/bill_receipt.xml', 'views/account_move_multi_update.xml', 'views/airway_bill.xml', + 'views/product_attribute_value.xml', 'report/report.xml', 'report/report_banner_banner.xml', 'report/report_banner_banner2.xml', diff --git a/indoteknik_custom/views/product_attribute_value.xml b/indoteknik_custom/views/product_attribute_value.xml new file mode 100644 index 00000000..7c33ba7b --- /dev/null +++ b/indoteknik_custom/views/product_attribute_value.xml @@ -0,0 +1,55 @@ + + + + product.attribute.value.tree + product.attribute.value + + + + + + + + + + + + product.attribute.value.form + product.attribute.value + +
+ + + + + + + + + + + + + + + + + +
+
+
+ + + Product Attribute + ir.actions.act_window + product.attribute.value + tree,form + + + +
-- cgit v1.2.3