blob: 52e89de1bfa27c9eb9a87cf680a38728142b66bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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'
)
|