mirror of
https://github.com/bringout/oca-ocb-l10n_americas.git
synced 2026-04-27 01:11:59 +02:00
Initial commit: L10N_Americas packages
This commit is contained in:
commit
12b27ce151
714 changed files with 79328 additions and 0 deletions
28
odoo-bringout-oca-ocb-l10n_br/l10n_br/models/account.py
Normal file
28
odoo-bringout-oca-ocb-l10n_br/l10n_br/models/account.py
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class AccountTaxTemplate(models.Model):
|
||||
""" Add fields used to define some brazilian taxes """
|
||||
_inherit = 'account.tax.template'
|
||||
|
||||
tax_discount = fields.Boolean(string='Discount this Tax in Prince',
|
||||
help="Mark it for (ICMS, PIS e etc.).")
|
||||
base_reduction = fields.Float(string='Redution', digits=0, required=True,
|
||||
help="Um percentual decimal em % entre 0-1.", default=0)
|
||||
amount_mva = fields.Float(string='MVA Percent', digits=0, required=True,
|
||||
help="Um percentual decimal em % entre 0-1.", default=0)
|
||||
|
||||
|
||||
class AccountTax(models.Model):
|
||||
""" Add fields used to define some brazilian taxes """
|
||||
_inherit = 'account.tax'
|
||||
|
||||
tax_discount = fields.Boolean(string='Discount this Tax in Prince',
|
||||
help="Mark it for (ICMS, PIS e etc.).")
|
||||
base_reduction = fields.Float(string='Redution', digits=0, required=True,
|
||||
help="Um percentual decimal em % entre 0-1.", default=0)
|
||||
amount_mva = fields.Float(string='MVA Percent', digits=0, required=True,
|
||||
help="Um percentual decimal em % entre 0-1.", default=0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue