forked from Mapan/odoo17e
34 lines
1.9 KiB
Python
34 lines
1.9 KiB
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import models, fields
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = "res.partner"
|
|
|
|
l10n_br_subject_cofins = fields.Selection(
|
|
[("T", "Taxable"), ("N", "Not Taxable"), ("Z", "Taxable With Rate=0.00"), ("E", "Exempt"), ("H", "Suspended")],
|
|
string="COFINS Details",
|
|
default="T",
|
|
help="Brazil: There are cases where both seller, buyer, and items are taxable but a special situation forces the transaction to be exempt especially "
|
|
"for PIS and COFINS. This attribute allows users to identify such scenarios and trigger the exemption despite all other settings.",
|
|
)
|
|
l10n_br_subject_pis = fields.Selection(
|
|
[("T", "Taxable"), ("N", "Not Taxable"), ("Z", "Taxable With Rate=0.00"), ("E", "Exempt"), ("H", "Suspended")],
|
|
string="PIS Details",
|
|
default="T",
|
|
help="Brazil: There are cases where both seller, buyer, and items are taxable but a special situation forces the transaction to be exempt especially for PIS "
|
|
"and COFINS. This attribute allows users to identify such scenarios and trigger the exemption despite all other settings.",
|
|
)
|
|
l10n_br_is_subject_csll = fields.Boolean(
|
|
"CSLL Taxable",
|
|
default=True,
|
|
help="Brazil: If not checked, then it will be treated as Exempt. There are cases where both seller, buyer, and items are taxable but a special situation "
|
|
"forces the transaction to be CSLL exempt. This attribute allows users to identify such scenarios and trigger the exemption despite "
|
|
"all other settings.",
|
|
)
|
|
l10n_br_iss_simples_rate = fields.Float(
|
|
"ISS Simplified Rate",
|
|
help="Brazil: In case the customer or the seller - company - is in the "
|
|
"Simplified Regime, the seller - company - needs to inform the ISS rate.",
|
|
)
|