Repository
OCA/l10n-argentina · module folder · Try on Runboat
Module version
1.0.0
Category
Localisation Modules
Folder size
0.06 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
Odoo Community Association (OCA), E-MIPS
Maintainers
Odoo Community Association (OCA), E-MIPS
Committers
Pedro M. Baeza, Stéphane Bidoul (ACSONE)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_ar_tax_reports, l10n_ar_wsfe_perceptions
Description
    This module provide :
    1) Implementation of Perceptions Taxes for Argentina
       based on tax objects of OpenERP like account.invoice, account.tax and account.tax.code.
    

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
view_invoice_perception_form account.invoice.perception.form.inherit account.invoice form Inherits account.invoice_form
view_invoice_supplier_perception_form account.invoice.perception.form.inherit account.invoice form Inherits account.invoice_supplier_form
view_perception_perception_form perception.perception.form perception.perception form New
view_perception_perception_tree perception.perception.tree perception.perception tree New
view_perception_tax_line_form perception.tax.line.form perception.tax.line form New
view_perception_tax_line_search perception.tax.line.search perception.tax.line search New
view_perception_tax_line_tree perception.tax.line.tree perception.tax.line tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • perception_ids One2many → perception.tax.line
    readonly=True states={'draft': [('readonly', False)]} string='Perception' args: 'perception.tax.line', 'invoice_id'
Public methods (1)
  • finalize_invoice_move_lines(self, move_lines)
    @api.multi
    finalize_invoice_move_lines(invoice, move_lines) -> move_lines Hook method to be overridden in additional modules to verify and possibly alter the move lines to be created by an invoice, for special cases. :param self: browsable record of the invoice that is generating the move lines :param move_lines: list of dictionaries with the account.move.lines (as for create()) :return: the (possibly updated) final move_lines to create for this invoice

New fields (0)

No new fields.

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

New fields (16)
  • account_id Many2one → account.account
    domain=[('type', '<>', 'view'), ('type', '<>', 'income'), ('type', '<>', 'closed')] required=True args: 'account.account', 'Tax Account'
  • ait_id Many2one → account.invoice.tax
    ondelete='cascade' args: 'account.invoice.tax', 'Invoice Tax'
  • amount Float
    digits_compute=dp.get_precision('Account') args: 'Amount'
  • base Float
    digits_compute=dp.get_precision('Account') args: 'Base'
  • base_amount Float
    digits_compute=dp.get_precision('Account') args: 'Base Code Amount'
  • base_code_id Many2one → account.tax.code
    help='The account basis of the tax declaration.' args: 'account.tax.code', 'Base Code'
  • company_id Many2one
    readonly=True related='account_id.company_id' store=True string='Company'
  • date Date
    select=True args: 'Date'
  • invoice_id Many2one → account.invoice
    ondelete='cascade' args: 'account.invoice', 'Invoice'
  • name Char
    required=True size=64 args: 'Perception'
  • partner_id Many2one
    readonly=True related='invoice_id.partner_id' string='Partner'
  • perception_id Many2one → perception.perception
    help='Perception configuration used for this perception tax, where all the configuration resides. Accounts, Tax Codes, etc.' required=True args: 'perception.perception', 'Perception Configuration'
  • state_id Many2one → res.country.state
    string='State/Province' args: 'res.country.state'
  • tax_amount Float
    digits_compute=dp.get_precision('Account') args: 'Tax Code Amount'
  • tax_code_id Many2one → account.tax.code
    help='The tax basis of the tax declaration.' args: 'account.tax.code', 'Tax Code'
  • vat Char
    readonly=True related='invoice_id.partner_id.vat' string='CIF/NIF'
Public methods (1)
  • onchange_perception(self)
    @api.onchange('perception_id')

Loading…

Loading…

Loading…