Credit Notes extension for Ecuador

l10n_ec_credit_note
REPOSITORY
REPOSITORYOCA/l10n-ecuador
GIT
GIThttps://github.com/OCA/l10n-ecuador.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-ecuador/tree/17.0/l10n_ec_credit_note
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccount
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Odoo-EC
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Odoo-EC
COMMITTERS
COMMITTERSCarlos Lopez, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-ecuador
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-ecuador:
    - l10n_ec_base
    - l10n_ec_account_edi
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - account_edi
    - l10n_ec
    - base_iban
    - account_debit_note
    - l10n_latam_invoice_document
    - l10n_latam_base
    - contacts
    - base_vat
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES cryptography==36.0.0
xades==0.2.4
xmlsig==0.1.9
zeep
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 xpath Inherits account.view_move_form
account_product_category_form_view product.category.form product.category group Inherits account.view_category_property_form
res_config_settings_view_form res.config.settings.view.form res.config.settings xpath Inherits l10n_ec_account_edi.res_config_settings_l10n_ec_edi
stock_product_template_form_view product.template.form product.template group Inherits account.product_template_form_view
view_account_invoice_refund_sale account.move.reversal.sale.form account.move.reversal xpath Inherits account.view_account_move_reversal
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.