Repository
OCA/l10n-argentina · module folder · Try on Runboat
Module version
2.0.0
Category
Argentina Localization
Folder size
0.7 MB
License
GPL-3
Application
No
Auto-installable
No
Website
http://e-mips.com.ar
Last tracking update
2026-08-07 07:17:53
Authors
E-MIPS
Maintainers
E-MIPS
Committers
Pedro M. Baeza
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_ar_electronic_invoice_storage_rg1361, l10n_ar_wsfe_jasper, l10n_ar_wsfe_perceptions
Description
        WSFE (Web Service de Factura Electronica).
        Este módulo nos permite facturar de forma electrónica a través del Servicio Web
        que publica la AFIP.
    

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
cai_account_supplier_invoice_form cai.account.supplier.invoice.form.inherit account.invoice form Inherits account.invoice_supplier_form
view_wsfe_config_form wsfe.config.form wsfe.config form New
view_wsfe_config_tree wsfe.config.tree wsfe.config tree New
view_wsfe_request_form wsfe.request.form wsfe.request form New
view_wsfe_request_tree wsfe.request.tree wsfe.request tree New
view_wsfe_sinchronize_voucher WSFE Sinchronize Voucher wsfe.sinchronize.voucher form New
view_wsfe_voucher_type_form wsfe.voucher_type.form wsfe.voucher_type form New
view_wsfe_voucher_type_tree wsfe.voucher_type.tree wsfe.voucher_type tree New
wsfe_account_invoice_form wsfe.account.invoice.form.inherit account.invoice form Inherits account.invoice_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (3)
  • aut_cae Boolean
    default=False help='Pedido de autorizacion a la AFIP' args: 'Autorizar'
  • cae Char
    help='CAE (Codigo de Autorizacion Electronico assigned by AFIP.)' required=False size=32 args: 'CAE/CAI'
  • cae_due_date Date
    help='Fecha de vencimiento del CAE' required=False args: 'CAE Due Date'
Public methods (6)
  • action_aut_cae(self)
    @api.multi
  • action_number(self)
    @api.multi
  • get_next_invoice_number(self)
    @api.multi
    Funcion para obtener el siguiente numero de comprobante correspondiente en el sistema
  • hook_add_taxes(self, inv, detalle)
    @api.model
  • refund(self, cr, uid, ids, date=None, period_id=None, description=None, journal_id=None, context=None)
  • wsfe_invoice_prepare_detail(self)
    @api.multi

New fields (0)

No new fields.

Public methods (1)
  • hook_compute_invoice_taxes(self, invoice, tax_grouped)
    @api.multi

New fields (8)
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company Name'
  • cuit Char
    related='company_id.partner_id.vat' string='Cuit'
  • exempt_operations_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', False), ('exempt_operations', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • homologation Boolean
    help='If true, there will be some validations that are disabled, for example, invoice number correlativeness' args: 'Homologation'
  • point_of_sale_ids Many2many → pos.ar
    args: 'pos.ar', 'pos_ar_wsfe_rel', 'wsfe_config_id', 'pos_ar_id', 'Points of Sale'
  • url Char
    required=True size=60 args: 'URL for WSFE'
  • vat_tax_ids One2many → wsfe.tax.codes
    domain=[('from_afip', '=', True)] args: 'wsfe.tax.codes', 'wsfe_config_id', 'Taxes'
  • wsaa_ticket_id Many2one → wsaa.ta
    args: 'wsaa.ta', 'Ticket Access'
Public methods (8)
  • check_errors(self, res, raise_exception=True)
    @api.model
  • check_observations(self, res)
    @api.model
  • create(self, cr, uid, vals, context)
  • get_config(self)
    @api.model
  • get_invoice_CAE(self, pos, voucher_type, details)
    @api.multi
  • get_last_voucher(self, pos, voucher_type)
    @api.model
  • get_voucher_info(self, cr, uid, ids, pos, voucher_type, number, context={})
    @api.v7
  • read_tax(self)
    @api.multi

New fields (9)
  • date_request Datetime
    required=True args: 'Request Date'
  • detail_ids One2many → wsfe.request.detail
    readonly=True args: 'wsfe.request.detail', 'request_id', 'Details'
  • errors Text
    readonly=True args: 'Errors'
  • name Char
    required=False size=64 args: 'Desc'
  • nregs Integer
    readonly=True required=True args: 'Number of Records'
  • pos_ar Char
    readonly=True required=True size=16 args: 'POS'
  • reprocess Boolean
    default=False readonly=True args: 'Reprocess'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected'), ('P', 'Partial')], 'Result'
  • voucher_type Char
    readonly=True required=True size=64 args: 'Voucher Type'
Public methods (0)

No public methods.

New fields (12)
  • amount_total Char
    readonly=True size=64 args: 'Amount Total'
  • cae Char
    readonly=True required=False size=64 args: 'CAE'
  • cae_duedate Date
    readonly=True required=False args: 'CAE Due Date'
  • concept Selection
    readonly=True args: [('1', 'Products'), ('2', 'Services'), ('3', 'Products&Services')], 'Concept'
  • docnum Char
    readonly=True size=32 args: 'Document Number'
  • doctype Integer
    readonly=True args: 'Document Type'
  • name Many2one → account.invoice
    readonly=True required=False args: 'account.invoice', 'Voucher'
  • observations Text
    readonly=True args: 'Observations'
  • request_id Many2one → wsfe.request
    required=True args: 'wsfe.request', 'Request'
  • result Selection
    readonly=True args: [('A', 'Approved'), ('R', 'Rejected')], 'Result'
  • voucher_date Date
    readonly=True args: 'Voucher Date'
  • voucher_number Integer
    readonly=True args: 'Voucher Number'
Public methods (0)

No public methods.

New fields (9)
  • code Char
    required=False size=4 args: 'Code'
  • exempt_operations Boolean
    help='Check it if this VAT Tax corresponds to vat tax exempts operations, such as to sell books, milk, etc. The taxes with this checked, will be reported to AFIP as exempt operations (base amount) without VAT applied on this' args: 'Exempt Operations'
  • from_afip Boolean
    args: 'From AFIP'
  • from_date Date
    args: 'Effective From'
  • name Char
    required=True size=64 args: 'Desc'
  • tax_code_id Many2one → account.tax.code
    args: 'account.tax.code', 'Account Tax Code'
  • tax_id Many2one → account.tax
    args: 'account.tax', 'Account Tax'
  • to_date Date
    args: 'Effect Until'
  • wsfe_config_id Many2one → wsfe.config
    args: 'wsfe.config', 'WSFE Configuration'
Public methods (0)

No public methods.

New fields (5)
  • code Char
    help='Internal Code assigned by AFIP for voucher type' required=True size=4 args: 'Code'
  • denomination_id Many2one → invoice.denomination
    required=False args: 'invoice.denomination', 'Denomination'
  • document_type Selection
    readonly=False required=True select=True args: [('out_invoice', 'Factura'), ('out_refund', 'Nota de Credito'), ('out_debit', 'Nota de Debito')], 'Document Type'
  • name Char
    help='Voucher Type, eg.: Factura A, Nota de Credito B, etc.' readonly=False required=True size=64 args: 'Name'
  • voucher_model Selection
    required=True select=True args: [('invoice', 'Factura/NC/ND'), ('voucher', 'Recibo')], 'Voucher Model'
Public methods (1)
  • get_voucher_type(self, voucher)
    @api.model

Loading…

Loading…

Loading…