summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/voucher.py
diff options
context:
space:
mode:
authortrisusilo48 <tri.susilo@altama.co.id>2025-03-03 13:45:12 +0700
committertrisusilo48 <tri.susilo@altama.co.id>2025-03-03 13:45:12 +0700
commit887a0a83cd1ba53689d8c4b453761b94fa7e109b (patch)
treeab586cf196a454d17df70301bef6c4e714b5223a /indoteknik_custom/models/voucher.py
parent83d9fcaaae0ba04902d0010a801ccc2245834bab (diff)
parent7c675cd5bc9f45d2ebca33a63b7184cbb97f0f2f (diff)
Merge branch 'odoo-production' into feature/integrasi_biteship
# Conflicts: # indoteknik_custom/__manifest__.py # indoteknik_custom/models/sale_order.py # indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/models/voucher.py')
-rw-r--r--indoteknik_custom/models/voucher.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/indoteknik_custom/models/voucher.py b/indoteknik_custom/models/voucher.py
index 37c97338..101d4bcf 100644
--- a/indoteknik_custom/models/voucher.py
+++ b/indoteknik_custom/models/voucher.py
@@ -59,7 +59,11 @@ class Voucher(models.Model):
show_on_email = fields.Selection([
('user_activation', 'User Activation')
], 'Show on Email')
-
+ account_type = fields.Selection(string='Account Type', default="all", selection=[
+ ('all', "All Account"),
+ ('person', "Account Individu"),
+ ('company', "Account Company"),
+ ])
@api.constrains('description')
def _check_description_length(self):
for record in self: