Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.2 MB
Module directory on disk
Code analysis 0 migration notes 12 models 6 views 0 HTTP endpoints

Description

Allows to register withholdings during the payment of an invoice.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 6

XML IDNameModelTypeStatus
account_tax_view_search_inherit_l10n_ar_withholding account.tax.search.inherit.l10n_ar_withholding account.tax search Inherits account.view_account_tax_search
view_account_payment_register_form account.payment.register.form account.payment.register form Inherits l10n_account_withholding_tax.view_account_payment_register_form
view_afip_earnings_table_scale_form l10n_ar.earnings.scale.form l10n_ar.earnings.scale form New
view_afip_earnings_table_scale_tree l10n_ar.earnings.scale.tree l10n_ar.earnings.scale list New
view_partner_form res.partner.form.inherit res.partner form Inherits account.view_partner_property_form
view_tax_form-l10n_ar account.tax.form.l10n_ar.inherit account.tax form Inherits l10n_account_withholding_tax.view_tax_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 12

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (6)
  • l10n_ar_code Char
    tracking=True args: 'ARCA Code'
  • l10n_ar_minimum_threshold Float
    help='If the calculated withholding tax amount is lower than minimum withholding threshold then it is 0.0.' string='Minimum Threshold' tracking=True
  • l10n_ar_non_taxable_amount Float
    digits='Account' help='Until this base amount, the tax is not applied.' string='Non Taxable Amount' tracking=True
  • l10n_ar_scale_id Many2one → l10n_ar.earnings.scale
    comodel_name='l10n_ar.earnings.scale' help="Earnings table scale if tax type is 'Earnings Scale'." string='Scale' tracking=True
  • l10n_ar_state_id Many2one → res.country.state
    comodel_name='res.country.state' domain="[('country_id', '=?', country_id)]" ondelete='restrict' string='Jurisdiction' tracking=True
  • l10n_ar_withholding_tax_type Selection
    selection=[('earnings', 'Earnings'), ('earnings_scale', 'Earnings Scale'), ('iibb_untaxed', 'IIBB Untaxed'), ('iibb_total', 'IIBB Total Amount')] string='Argentine Withhold type' tracking=True
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • line_ids One2many → l10n_ar.earnings.scale.line
    args: 'l10n_ar.earnings.scale.line', 'scale_id'
  • name Char
    required=True translate=True
Public methods (0)

No public methods.

New fields (6)
  • currency_id Many2one → res.currency
    comodel_name='res.currency' default=<expr> store=False
  • fixed_amount Monetary
    compute='_compute_fixed_amount' help="What the brackets below this one withhold in full, to be added to the percentage this bracket applies to what exceeds its 'From $'." string='$'
  • from_amount Monetary
    compute='_compute_from_amount' string='From $'
  • percentage Float
    help="Percentage to apply to the part of the taxable amount (tax base + tax basis of the previous month - non-taxable minimum) that exceeds the 'From $' of this bracket." string='Add %'
  • scale_id Many2one → l10n_ar.earnings.scale
    comodel_name='l10n_ar.earnings.scale' help="Calculation of the withholding amount: from the taxable amount (tax base + tax bases applied this month to same tax and partner - non-taxable minimum), find the bracket it falls in, apply the percentage of that bracket to what exceeds its 'From $' and add the amount of its '$' column." ondelete='cascade' required=True
  • to_amount Monetary
    help="The taxable amount (tax base + tax bases applied this month to same tax and partner - non-taxable minimum) must be between the amount of the 'From $' column and the amount of this column." string='To $'
Public methods (0)

No public methods.

New fields (6)
  • company_id Many2one
    related='tax_id.company_id' store=True
  • from_date Date
    string='From Date'
  • partner_id Many2one → res.partner
    check_company=True ondelete='cascade' required=True args: 'res.partner'
  • ref Char
    string='ref'
  • tax_id Many2one → account.tax
    required=True args: 'account.tax'
  • to_date Date
    string='To Date'
Public methods (0)

No public methods.

New fields (1)
  • l10n_ar_partner_tax_ids One2many → l10n_ar.partner.tax
    args: 'l10n_ar.partner.tax', 'partner_id', 'Argentinean Withholding Taxes'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…