summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2026-01-21 09:03:21 +0700
committerstephanchrst <stephanchrst@gmail.com>2026-01-21 09:03:21 +0700
commitd5ff9c0dce0cb83bb9f2f4853097dc4dfb104f40 (patch)
tree5900cccca80cd319f39d44fc5ad9b1a78784378b
parent33f01a131c10b7352ade3b52072cfd5b6b2333f0 (diff)
add pricing group up to 10
-rw-r--r--indoteknik_custom/models/price_group.py4
-rw-r--r--indoteknik_custom/views/price_group.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/models/price_group.py b/indoteknik_custom/models/price_group.py
index 1b1c817f..fce78fff 100644
--- a/indoteknik_custom/models/price_group.py
+++ b/indoteknik_custom/models/price_group.py
@@ -18,6 +18,8 @@ class PriceGroup(models.Model):
group6 = fields.Float(string='Kelompok 6 (%)')
group7 = fields.Float(string='Kelompok 7 (%)')
group8 = fields.Float(string='Kelompok 8 (%)')
+ group9 = fields.Float(string='Kelompok 9 (%)')
+ group10 = fields.Float(string='Kelompok 10 (%)')
def collect_price_group(self):
PRICE_GROUP_ID = {
@@ -47,4 +49,6 @@ class Manufacture(models.Model):
('group6', 'Kelompok 6'),
('group7', 'Kelompok 7'),
('group8', 'Kelompok 8'),
+ ('group9', 'Kelompok 9'),
+ ('group10', 'Kelompok 10'),
], string='Pricing Group', copy=False)
diff --git a/indoteknik_custom/views/price_group.xml b/indoteknik_custom/views/price_group.xml
index 5db8756e..7fad8d8d 100644
--- a/indoteknik_custom/views/price_group.xml
+++ b/indoteknik_custom/views/price_group.xml
@@ -26,6 +26,8 @@
<field name="group6"/>
<field name="group7"/>
<field name="group8"/>
+ <field name="group9"/>
+ <field name="group10"/>
</tree>
</field>
</record>
@@ -48,6 +50,8 @@
<field name="group6"/>
<field name="group7"/>
<field name="group8"/>
+ <field name="group9"/>
+ <field name="group10"/>
</group>
</group>
</sheet>