currency.py 376 Bytes
# -*- coding: utf-8 -*-
from odoo import models, fields, api, exceptions
from .qr import qrfiscal
from odoo.exceptions import UserError, ValidationError, Warning, RedirectWarning
import base64, datetime

class res_currency(models.Model):
    _inherit = 'res.currency'

    codigo_afip = fields.Char(string='Codigo AFIP',
        help="si se deja en blanco se toma pesos")