Electronic Withholding Ecuadorian Localization
l10n_ec_withhold · OCA/l10n-ecuador
-
Security25/25No findings
-
Activity6/25Last human commit 27 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
The l10n_ec_withhold module is designed to facilitate the management of withholding taxes in the context of Ecuadorian localization. Withholding taxes play a crucial role in financial transactions, both in the procurement of goods and services (purchases) and the sale of products or services (sales). This module streamlines the process of handling withholding taxes, ensuring compliance with Ecuadorian tax regulations.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 17
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_fiscal_position_form |
account.fiscal.position.form | account.fiscal.position | form | Inherits l10n_ec_base.account_fiscal_position_form |
account_invoice_custom_view |
Facturas con retencion | account.move | form | Inherits account.view_move_form |
account_journal_form_view |
account.journal.form | account.journal | form | Inherits account.view_account_journal_form |
account_journal_latam_form_view |
account.journal.form | account.journal | form | Inherits l10n_latam_invoice_document.view_account_journal_form |
e_withhold_document_body |
e_withhold_document_body | ir.ui.view | qweb | New |
ec_edi_withhold |
ec_edi_withhold | ir.ui.view | qweb | New |
ec_edi_withhold_dividend_pay |
ec_edi_withhold_dividend_pay | ir.ui.view | qweb | New |
ec_edi_withhold_refunds |
ec_edi_withhold_refunds | ir.ui.view | qweb | New |
ec_edi_withhold_tax_support |
ec_edi_withhold_tax_support | ir.ui.view | qweb | New |
ec_edi_withhold_totals_refunds |
ec_edi_withhold_totals_refunds | ir.ui.view | qweb | New |
l10n_ec_wizard_purchase_withhold_form_view |
Create purchase Withhold Wizard | l10n_ec.wizard.create.purchase.withhold | form | New |
l10n_ec_wizard_sale_withhold_form_view |
Create Sale Withhold Wizard | l10n_ec.wizard.create.sale.withhold | form | New |
report_withhold_document_ec |
report_withhold_document_ec | ir.ui.view | qweb | Inherits l10n_ec_account_edi.report_invoice_document |
report_withhold_ec |
report_withhold_ec | ir.ui.view | qweb | New |
view_account_move_withhold_form |
account.move.form.withhold | account.move | form | Inherits l10n_ec_account_edi.view_move_form |
view_account_move_withhold_tree |
account.move.withhold.tree | account.move | tree | Inherits account.view_move_tree |
view_partner_withhold_form |
view.partner.property.withhold.form | res.partner | form | Inherits account.view_partner_property_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 15
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
-
l10n_ec_avoid_withholdBooleanhelp='Select if the tax position no require withholding'string='Avoid Withholding?'
No public methods.
-
l10n_ec_withholding_typeSelectionstring='Withholding Type' args: [('purchase', 'Purchase'), ('sale', 'Sale')]
No public methods.
-
l10n_ec_tax_supportSelectionhelp='Tax support in invoice line'string='Tax Support' args: TAX_SUPPORT -
l10n_ec_withhold_activeBooleancompute='_compute_l10n_ec_withhold_active'store=Truestring='Withholds?' -
l10n_ec_withhold_countIntegercompute='_compute_l10n_ec_withhold_count'string='Withholds Count' -
l10n_ec_withhold_idsMany2many → account.movecolumn1='move_id'column2='withhold_id'copy=Falsereadonly=Truerelation='l10n_ec_withhold_invoice_rel'string='Withhold' args: 'account.move' -
l10n_ec_withhold_line_idsOne2many → account.move.linecomodel_name='account.move.line'inverse_name='l10n_ec_withhold_id'readonly=Truestring='Lineas de retencion' -
l10n_ec_withholding_typeSelectionstring='Withholding Type' args: [('purchase', 'Purchase'), ('sale', 'Sale')]
-
action_open_business_doc(self) -
action_send_and_print(self) -
action_show_l10n_ec_withholds(self) -
action_try_create_ecuadorian_withhold(self) -
button_cancel(self) -
get_formview_id(self, access_uid=None) -
get_views(self, views, options=None)@api.model -
get_withhold_types(self)@api.model -
is_purchase_withhold(self) -
is_sale_withhold(self) -
is_withhold(self)
-
l10n_ec_invoice_withhold_idMany2one → account.movecomodel_name='account.move'copy=Falsereadonly=Truestring='Invoice' -
l10n_ec_tax_supportSelectioncopy=Falsehelp='Tax support in invoice line'string='Tax Support' args: TAX_SUPPORT -
l10n_ec_withhold_idMany2one → account.movecomodel_name='account.move'copy=Falsereadonly=Truestring='Withhold' -
l10n_ec_withhold_tax_amountMonetarycompute='_compute_withhold_tax_amount'store=Truestring='Withhold Tax Amount'
No public methods.
No new fields.
Public methods (0)No public methods.
-
document_numberCharcompute='_compute_document_number'readonly=Falserequired=Falsesize=17store=True -
electronic_authorizationCharrequired=Falsesize=49 -
invoice_idMany2one → account.movecomodel_name='account.move'readonly=Truestring='Related Document' -
issue_dateDaterequired=Truestring='Date' -
journal_idMany2one → account.journalcomodel_name='account.journal'string='Journal' -
partner_idMany2one → res.partnerstring='Partner' args: 'res.partner'
No public methods.
-
base_amountFloatreadonly=Truestring='Amount Base' -
invoice_idMany2one → account.moveargs: 'account.move' -
tax_group_withhold_idMany2one → account.tax.groupcomodel_name='account.tax.group'string='Withholding Type' -
tax_withhold_idMany2one → account.taxcomodel_name='account.tax'string='Withholding tax' -
withhold_amountFloatcompute='_compute_withholding_amount'store=Truestring='Amount Withhold'
-
onchange_tax_group_withhold(self)@api.onchange('tax_group_withhold_id')
-
withhold_line_idsOne2many → l10n_ec.wizard.create.purchase.withhold.linecomodel_name='l10n_ec.wizard.create.purchase.withhold.line'inverse_name='withhold_id'required=Truestring='Lines' -
withhold_totalsFloatcompute='_compute_total_withhold'store=True
-
button_validate(self)Create a purchase Withholding and try reconcile with invoice
-
l10n_ec_tax_supportSelectioncopy=Falsestring='Tax Support' args: TAX_SUPPORT -
withhold_idMany2one → l10n_ec.wizard.create.purchase.withholdcomodel_name='l10n_ec.wizard.create.purchase.withhold'ondelete='cascade'string='Withhold'
No public methods.
-
invoice_idsMany2many → account.movecomodel_name='account.move'string='Invoice' -
withhold_line_idsOne2many → l10n_ec.wizard.create.sale.withhold.linecomodel_name='l10n_ec.wizard.create.sale.withhold.line'inverse_name='withhold_id'required=Truestring='Lines' -
withhold_totalsFloatcompute='_compute_total_withhold'store=True
-
button_validate(self)Create a Sale Withholding and try reconcile with invoice -
default_get(self, fields)@api.model -
extract_date_from_authorization(self) -
extract_document_number_from_authorization(self) -
onchange_authorization(self)@api.onchange('electronic_authorization') -
onchange_document_number(self)@api.onchange('document_number') -
validate(self) -
validate_authorization(self) -
validate_repeated_invoice(self) -
validate_repeated_withhold(self) -
validate_selected_invoices(self)
-
withhold_idMany2one → l10n_ec.wizard.create.sale.withholdcomodel_name='l10n_ec.wizard.create.sale.withhold'ondelete='cascade'string='Withhold'
No public methods.
-
l10n_ec_avoid_withholdBooleanrelated='property_account_position_id.l10n_ec_avoid_withhold' -
l10n_ec_tax_supportSelectionhelp='Tax support in invoice line'string='Tax Support' args: TAX_SUPPORT
No public methods.
Loading…