blob: 17d2fd05c83b8fe3d555ebc744bcae668ec3319f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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')
transaction_type = fields.Selection(
[('digunggung', 'Digunggung'),
('difaktur', 'Faktur Pajak')],
string='Transaction Type'
)
customer_type = fields.Selection(
[('online', 'Online'),
('offline', 'Offline')],
string='Customer Type'
)
|