TIP: You can type at any time to perform a new search.
Electronic Withholding Ecuadorian Localization
l10n_ec_withhold · OCA/l10n-ecuador
- Repository
- OCA/l10n-ecuador · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Account
- Folder size
- 0.18 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-ecuador
- Last tracking update
- 2026-08-07 08:23:14
- Authors
- Odoo Community Association (OCA), Odoo-EC
- Maintainers
- Odoo Community Association (OCA), Odoo-EC
- Committers
- Carlos Lopez, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- cryptography==36.0.0, xades==0.2.4, xmlsig==0.1.9, zeep
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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)
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 (1)
-
l10n_ec_avoid_withholdBooleanhelp='Select if the tax position no require withholding'string='Avoid Withholding?'
No public methods.
New fields (1)
-
l10n_ec_withholding_typeSelectionstring='Withholding Type' args: [('purchase', 'Purchase'), ('sale', 'Sale')]
No public methods.
New fields (6)
-
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)
New fields (4)
-
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.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (6)
-
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.
New fields (5)
-
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')
New fields (2)
-
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
New fields (2)
-
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.
New fields (3)
-
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)
New fields (1)
-
withhold_idMany2one → l10n_ec.wizard.create.sale.withholdcomodel_name='l10n_ec.wizard.create.sale.withhold'ondelete='cascade'string='Withhold'
No public methods.
New fields (2)
-
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.