1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_ec_edi/models/product.py
2024-12-10 09:04:09 +07:00

17 lines
529 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class ProductTemplate(models.Model):
_inherit = 'product.template'
l10n_ec_withhold_tax_id = fields.Many2one(
comodel_name='account.tax',
company_dependent=True,
string="Profit Withhold",
domain=[('tax_group_id.l10n_ec_type', '=', 'withhold_income_purchase')],
help="Ecuador: Default profit withholding tax when the product is purchased.",
)