diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-01-21 14:52:58 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2026-01-21 14:52:58 +0700 |
| commit | e0004f24f001e8417f80933caa5b94d36ded003f (patch) | |
| tree | d372934040f5355f46ae0f03dd3991001aa8f6e0 | |
| parent | 035fbe33404455ba3fb016d3dc7d614fb4c3cd69 (diff) | |
| parent | d5ff9c0dce0cb83bb9f2f4853097dc4dfb104f40 (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into odoo-backup
| -rw-r--r-- | indoteknik_custom/models/price_group.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/price_group.xml | 4 |
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> |
