from odoo import fields, models class PosConfig(models.Model): _inherit = 'pos.config' discount_100_income_account_id = fields.Many2one( 'account.account', string='100% Discount Income Account', help='Account used for Income when an order has a 100% discount (0 total).', domain="[('deprecated', '=', False)]" ) discount_100_expense_account_id = fields.Many2one( 'account.account', string='100% Discount Expense Account', help='Account used for Expense/Discount when an order has a 100% discount (0 total).', domain="[('deprecated', '=', False)]" )