# -*- coding: utf-8 -*- from odoo import models class PosConfig(models.Model): _inherit = 'pos.config' def _get_special_products(self): """ Remove down payment products from the special products list so they can be manually selected in the POS UI. """ res = super()._get_special_products() down_payment_products = self.env['pos.config'].search([]).mapped('down_payment_product_id') return res - down_payment_products