diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-09-19 13:21:05 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-09-19 13:21:05 +0700 |
| commit | e9bab44dfde5a9240299f93f24b9bd7744a6edc4 (patch) | |
| tree | 5f67b3a7d3d7ecde97c51b9c3969ba1ce4806cbd | |
| parent | 074a3fef721e3894cef359390281f59b21e8b9c2 (diff) | |
add group 6 to 8 in pricing group
| -rw-r--r-- | indoteknik_custom/models/price_group.py | 6 | ||||
| -rw-r--r-- | indoteknik_custom/views/price_group.xml | 6 |
2 files changed, 12 insertions, 0 deletions
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 @@ <field name="group3"/> <field name="group4"/> <field name="group5"/> + <field name="group6"/> + <field name="group7"/> + <field name="group8"/> </tree> </field> </record> @@ -42,6 +45,9 @@ <field name="group3"/> <field name="group4"/> <field name="group5"/> + <field name="group6"/> + <field name="group7"/> + <field name="group8"/> </group> </group> </sheet> |
