Skip to content

Conversation

@zaoral
Copy link
Contributor

@zaoral zaoral commented Apr 9, 2025

Description of the issue/feature this PR addresses:

In debit notes wizards: If we make a wrong credit note and we want to correct it we must generate a debit note related to it.
Currently odoo only allows to generate debit notes from an invoice.

Steps to reproduce the error.

  1. Install the Argentine localization
  2. Create an invoice and post it
  3. From the invoice using the wizard create a credit note and post it.
  4. From the credit note open the wizard to create a debit note.
  5. On submit the wizard we obtain an exception "You can not use a credit_note document type with a invoice"

This happens because the debit note wizard use copy method without change the l10n_latam_document_type_id value.

Current behavior before PR:

When creating a debit note from a credit note get an error.

Desired behavior after PR is merged:

We can create a debit memo from a credit note.

Adhoc tiket 69428 - 69854


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented Apr 9, 2025

Pull request status dashboard

@C3POdoo C3POdoo added the Localization about adapting the content to a specify country (usually chart of accounts) label Apr 9, 2025
@jorenvo
Copy link
Contributor

jorenvo commented Apr 15, 2025

Hi @zaoral, I think this one can be closed since you opened #205430 for 17. When that's merged it will be forward-ported to all later versions.

@zaoral zaoral closed this Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Localization about adapting the content to a specify country (usually chart of accounts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants