summaryrefslogtreecommitdiff
path: root/fixco_custom/models/partner.py
blob: bb1872c81981925244f432cdff700db2c3881c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from odoo import models, fields, api

class Partner(models.Model):
    _inherit = 'res.partner'

    ginee_shop_id = fields.Char(string='Ginee Shop ID')
    ginee_journal_id = fields.Many2one('account.journal', string='Ginee Journal ID')
    tax_id = fields.Many2one('account.tax', string='Tax')
    transaction_type = fields.Selection(
        [('digunggung', 'Digunggung'),
         ('difaktur', 'Faktur Pajak')],
        string='Transaction Type'
    )
    customer_type = fields.Selection(
        [('online', 'Online'),
         ('offline', 'Offline'),
         ('website', 'Website')],
        string='Customer Type'
    )
    sppkp = fields.Char(string="SPPKP", tracking=True)
    nitku = fields.Char(string="NITKU", tracking=True)
    npwp = fields.Char(string="NPWP", tracking=True)