Repository
OCA/l10n-argentina · module folder · Try on Runboat
Module version
1.0.0
Category
Localisation Modules
Folder size
0.07 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
Description
    This module provide :
    1) Implementation of Retentions Taxes for Argentina
       based on tax objects of OpenERP like account.tax and account.tax.code.
    

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
view_retention_retention_filter retention.retention.filter retention.retention search New
view_retention_retention_form retention.retention.form retention.retention form New
view_retention_retention_tree retention.retention.tree retention.retention tree New
view_retention_tax_line_form retention.tax.line.form retention.tax.line form New
view_retention_tax_line_search retention.tax.line.search retention.tax.line search New
view_retention_tax_line_tree retention.tax.line.tree retention.tax.line tree New
view_vendor_payment_retention_form account.voucher.payment.retention.form.inherit account.voucher form Inherits l10n_ar_account_check.view_voucher_check_form
view_vendor_receipt_retention_form account.voucher.receipt.retention.form.inherit account.voucher form Inherits l10n_ar_account_check.view_vendor_receipt_check_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • retention_ids One2many → retention.tax.line
    readonly=True states={'draft': [('readonly', False)]} args: 'retention.tax.line', 'voucher_id', 'Retentions'
Public methods (6)
  • create_move_line_hook(self, move_id, move_lines)
    @api.multi
  • onchange_issued_checks(self)
    @api.onchange('issued_check_ids')
  • onchange_payment_line(self)
    @api.onchange('payment_line_ids')
  • onchange_retentions(self)
    @api.onchange('retention_ids')
  • onchange_third_checks(self)
    @api.onchange('third_check_ids')
  • onchange_third_receipt_checks(self)
    @api.onchange('third_check_receipt_ids')

New fields (6)
  • jurisdiccion Selection
    default='nacional' args: [('nacional', 'Nacional'), ('provincial', 'Provincial'), ('municipal', 'Municipal')], 'Jurisdiccion'
  • name Char
    required=True size=64 args: 'Retention'
  • state_id Many2one → res.country.state
    domain="[('country_id','=','Argentina')]" args: 'res.country.state', 'State/Province'
  • tax_id Many2one → account.tax
    help='Tax configuration for this retention' required=True args: 'account.tax', 'Tax'
  • type Selection
    required=True args: [('vat', 'VAT'), ('gross_income', 'Gross Income'), ('profit', 'Profit'), ('other', 'Other')], 'Type'
  • type_tax_use Selection
    readonly=True related='tax_id.type_tax_use' string='Tax Application'
Public methods (0)

No public methods.

New fields (17)
  • account_id Many2one → account.account
    domain=[('type', '<>', 'view'), ('type', '<>', 'income'), ('type', '<>', 'closed')] required=True args: 'account.account', 'Tax Account'
  • amount Float
    digits=dp.get_precision('Account') args: 'Amount'
  • base Float
    digits=dp.get_precision('Account') args: 'Base'
  • base_amount Float
    digits=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'
  • certificate_no Char
    required=False size=32 args: 'Certificate No.'
  • company_id Many2one
    readonly=True related='account_id.company_id' store=True string='Company'
  • date Date
    select=True args: 'Date'
  • name Char
    size=64 args: 'Retention'
  • partner_id Many2one → res.partner
    required=False args: 'res.partner', 'Partner'
  • retention_id Many2one → retention.retention
    help='Retention configuration used for this retention tax, where all the configuration resides. Accounts, Tax Codes, etc.' required=True args: 'retention.retention', 'Retention Configuration'
  • state_id Many2one → res.country.state
    string='State/Province' args: 'res.country.state'
  • tax_amount Float
    digits=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='partner_id.vat' string='CIF/NIF'
  • voucher_id Many2one → account.voucher
    ondelete='cascade' args: 'account.voucher', 'Voucher'
  • voucher_number Char
    size=64 args: 'Reference'
Public methods (2)
  • create_voucher_move_line(self)
    @api.model
    Params self = retention.tax.line
  • onchange_retention(self)
    @api.onchange('retention_id')

Loading…

Loading…

Loading…