Repository
OCA/l10n-ecuador · module folder · Try on Runboat
Module version
1.0.0
Category
Account
Folder size
0.05 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, Weblate, 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
### Description

This module extends the functionality of Credit Notes for Ecuador. It provides advanced management of accounting
accounts related to credit notes with the following main features:

- **Accounting Account Management:** Controls accounting accounts by company, product category, and specific product.
- **Credit Note Type Configuration:** Allows the configuration of credit note types in both the model and the wizard,
  facilitating the retrieval and assignment of the corresponding accounts.
- **Anglo-Saxon Accounting:** Manages Anglo-Saxon accounting if activated, ensuring correct integration with accounting
  processes.

The module also offers the option to use alternative accounts for discounts or returns, enhancing flexibility in
accounting management.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
account_move_form_view_latam account.move.credit.note.form account.move form Inherits account.view_move_form
account_product_category_form_view product.category.form product.category form Inherits account.view_category_property_form
res_config_settings_view_form res.config.settings.view.form res.config.settings form Inherits l10n_ec_account_edi.res_config_settings_l10n_ec_edi
stock_product_template_form_view product.template.form product.template form Inherits account.product_template_form_view
view_account_invoice_refund_sale account.move.reversal.sale.form account.move.reversal form Inherits account.view_account_move_reversal
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (7)

New fields (1)
  • l10n_ec_type_credit_note Selection
    default='discount' string='Credit note type' args: [('discount', 'Discount'), ('return', 'Return')]
Public methods (2)
  • action_reverse(self)
  • copy_data(self, default=None)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • l10n_ec_type_credit_note Selection
    string='Credit Note type' args: [('discount', 'Discount'), ('return', 'Return')]
Public methods (0)

No public methods.

New fields (2)
  • l10n_ec_property_account_discount_id Many2one → account.account
    company_dependent=True args: 'account.account', 'C.C. Discount'
  • l10n_ec_property_account_return_id Many2one → account.account
    company_dependent=True args: 'account.account', 'C.C. Refund'
Public methods (0)

No public methods.

New fields (2)
  • l10n_ec_property_account_discount_id Many2one → account.account
    company_dependent=True tracking=True args: 'account.account', 'C.C. Discount'
  • l10n_ec_property_account_return_id Many2one → account.account
    company_dependent=True tracking=True args: 'account.account', 'C.C. Refund'
Public methods (0)

No public methods.

New fields (2)
  • l10n_ec_property_account_discount_id Many2one → account.account
    args: 'account.account', 'C.C. Discount'
  • l10n_ec_property_account_return_id Many2one → account.account
    args: 'account.account', 'C.C. Refund'
Public methods (0)

No public methods.

New fields (2)
  • l10n_ec_property_account_discount_id Many2one → account.account
    readonly=False related='company_id.l10n_ec_property_account_discount_id' args: 'account.account', 'C.C. Discount'
  • l10n_ec_property_account_return_id Many2one → account.account
    readonly=False related='company_id.l10n_ec_property_account_return_id' args: 'account.account'
Public methods (0)

No public methods.