summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/res_partner.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-21 13:43:29 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-21 13:43:29 +0700
commitff20b62d6932c6be4ffb56f63f3c05be3aa72c06 (patch)
treeb9bfad89162ade294b904275feba80d74d9a7b26 /indoteknik_custom/models/res_partner.py
parentc7f6d959e0e7a2e8adc45cff515f2b5666f3e732 (diff)
<iman> update merchant
Diffstat (limited to 'indoteknik_custom/models/res_partner.py')
-rw-r--r--indoteknik_custom/models/res_partner.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/indoteknik_custom/models/res_partner.py b/indoteknik_custom/models/res_partner.py
index 9e53dae1..d7bd260f 100644
--- a/indoteknik_custom/models/res_partner.py
+++ b/indoteknik_custom/models/res_partner.py
@@ -76,8 +76,11 @@ class ResPartner(models.Model):
"this feature", tracking=3)
# MERCHANT
+ # informasi perusahaan
name_merchant = fields.Char(string='Name')
+ pejabat_name = fields.Char(string='Pejabat Name')
pic_merchant = fields.Char(string='PIC Merchant', required=True)
+ pic_position = fields.Char(string='Jabatan PIC')
address_merchant = fields.Char(string='Alamat')
state_merchant = fields.Many2one('res.country.state', string='State')
city_merchant = fields.Many2one('vit.kota', string='Kota')
@@ -92,6 +95,20 @@ class ResPartner(models.Model):
email_finance_merchant = fields.Char(string='Email Finance')
phone_merchant = fields.Char(string='No. Telepon Perusahaan')
mobile_merchant = fields.Char(string='No. Handphone')
+ bisnis_type = fields.Selection([
+ ('1', 'PT'),
+ ('2', 'CV'),
+ ('3', 'Perorangan'),
+ ])
+ website_merchant = fields.Char(string='Website')
+ category_perusahaan = fields.Selection([
+ ('1', 'Principal (Pemegang merk/Produsen)'),
+ ('2', 'Sole Distributor (Distributor Tunggal)'),
+ ('3', 'Authorized Distributor (Distributor Resmi)'),
+ ('4', 'Importer (Pengimpor Barang)'),
+ ('5', 'Wholesaler (Pedagang Besar)'),
+ ])
+
harga_tayang = fields.Char(string='Harga Tayang (HET)')
file_dokumenKtpDirut = fields.Binary(string="KTP Dirut/Direktur", tracking=True, track_visibility="onchange")
file_kartuNama = fields.Binary(string="Kartu Nama", tracking=True, track_visibility="onchange")