split_pendapatan_payment/models/pos_payment_method.py
2025-08-16 11:46:03 +07:00

14 lines
448 B
Python

# -*- coding: utf-8 -*-
from odoo import models, fields, api
class PosPaymentMethod(models.Model):
_inherit = 'pos.payment.method'
income_account_id = fields.Many2one(
'account.account',
string='Income Account',
domain=[('deprecated', '=', False)],
help='Account used for income lines when splitting by payment method. '
'If empty, the default income account from the product will be used.')