From e9bab44dfde5a9240299f93f24b9bd7744a6edc4 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 19 Sep 2023 13:21:05 +0700 Subject: add group 6 to 8 in pricing group --- indoteknik_custom/models/price_group.py | 6 ++++++ indoteknik_custom/views/price_group.xml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/indoteknik_custom/models/price_group.py b/indoteknik_custom/models/price_group.py index 50f0520f..2a1bbc91 100644 --- a/indoteknik_custom/models/price_group.py +++ b/indoteknik_custom/models/price_group.py @@ -15,6 +15,9 @@ class PriceGroup(models.Model): group3 = fields.Float(string='Kelompok 3 (%)') group4 = fields.Float(string='Kelompok 4 (%)') group5 = fields.Float(string='Kelompok 5 (%)') + group6 = fields.Float(string='Kelompok 6 (%)') + group7 = fields.Float(string='Kelompok 7 (%)') + group8 = fields.Float(string='Kelompok 8 (%)') class Manufacture(models.Model): _inherit = 'x_manufactures' @@ -25,4 +28,7 @@ class Manufacture(models.Model): ('group3', 'Kelompok 3'), ('group4', 'Kelompok 4'), ('group5', 'Kelompok 5'), + ('group6', 'Kelompok 6'), + ('group7', 'Kelompok 7'), + ('group8', 'Kelompok 8'), ], string='Pricing Group', copy=False) diff --git a/indoteknik_custom/views/price_group.xml b/indoteknik_custom/views/price_group.xml index 7ee8d422..5db8756e 100644 --- a/indoteknik_custom/views/price_group.xml +++ b/indoteknik_custom/views/price_group.xml @@ -23,6 +23,9 @@ + + + @@ -42,6 +45,9 @@ + + + -- cgit v1.2.3