v14-facturacionelectronica/l10n_co_account_e_invoicing/models/account_fiscal_year.py

15 lines
566 B
Python

# -*- coding: utf-8 -*-
# Copyright 2021 Joan Marín <Github@JoanMarin>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
class AccountFiscalYear(models.Model):
_inherit = 'account.fiscal.year'
out_invoice_sent = fields.Integer(string='Invoices Sent', default=0)
out_refund_credit_sent = fields.Integer(string='Credit Notes Sent', default=0)
out_refund_debit_sent = fields.Integer(string='Debit Notes Sent', default=0)
in_invoice_sent = fields.Integer(string='Support Documents Sent', default=0)