blob: bd17ded6a37729e3f5b18502a012b3b237cbabc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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')],
string='Customer Type'
)
|