OdooWiki OCA HUB

Credit Notes extension for Ecuador

l10n_ec_credit_note folder_open OCA/l10n-ecuador open_in_new
Account License: AGPL-3

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.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

For Ecuadorian companies, this module lets you classify credit notes as either a discount or a return, and automatically picks the right accounting account for each product line based on settings at company, product category or product level.

When you create a credit note for a customer invoice in an Ecuadorian company, a new field "Credit note type" appears on the credit note form, with two choices: Discount or Return. The same choice is offered in the credit note wizard that opens when you use the Reverse/Credit Note button on a customer invoice.

The module adds two accounting account fields, "C.C. Discount" and "C.C. Refund", in several places: - In Accounting settings, under the Ecuador section, as default accounts for credit notes. - On each product category and each product, so you can override the default per category or per product.

When a product line is added to a customer credit note, Odoo looks for the account in this order: first the product, then its product category, then the company default. The account used depends on whether the credit note is a Discount or a Return.

For Discount credit notes, the module also skips the automatic cost-of-goods-sold (Anglo-Saxon) stock accounting entries, so no COGS lines are created for those refunds. The credit note type is carried over from the wizard to the created credit note, and it is required on customer credit notes.

Depends on

accountaccount_edil10n_ecl10n_ec_basel10n_ec_account_edistock_account
Models and fields (7)
  • res.company · extends an existing modell10n_ec_property_account_return_id, l10n_ec_property_account_discount_id
  • account.move · extends an existing modell10n_ec_type_credit_note (Credit note type)
  • product.category · extends an existing modell10n_ec_property_account_return_id, l10n_ec_property_account_discount_id
  • product.template · extends an existing modell10n_ec_property_account_return_id, l10n_ec_property_account_discount_id
  • account.move.line · extends an existing model
  • res.config.settings · extends an existing modell10n_ec_property_account_return_id, l10n_ec_property_account_discount_id
  • account.move.reversal · extends an existing modell10n_ec_type_credit_note (Credit Note type)

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/l10n-ecuador.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.