account-invoicing icon indicating copy to clipboard operation
account-invoicing copied to clipboard

[14.0][ADD] account_credit_note_keep_invoiced_quantity

Open StefanRijnhart opened this issue 2 years ago • 3 comments

Keep invoiced quantities while creating a credit note

When creating credit notes for sale or purchase invoices, Odoo will reset the invoiced quantities on the order lines and make the orders become eligible for invoicing again. This module adds a checkbox in the credit note (or 'reversal') wizard to keep the invoiced quantities on the related order lines.

image

StefanRijnhart avatar Sep 29 '22 15:09 StefanRijnhart

Hi, I see wiith this module, relations wiith sale order and new credit note is missing.

I use module https://github.com/OCA/sale-workflow/tree/14.0/sale_force_invoiced for this purpose, from credit note wizard mark sale order as force_invoiced, this not solve your problem?

celm1990 avatar Sep 29 '22 17:09 celm1990

@celm1990 no, as our primary use case is for purchase orders. Also in the case of sales orders, I'd consider the approach from this PR more precise as it can be perfectly clear what the invoiced qty needs to be and how it can be achieved. In that way it is safer than sale_force_invoiced (which I was happy to use in the past to deal with orders that came out of a migration in an inconsistent invoice status) as it can be the case that we will want to create an additional invoice in more complex invoicing scenarios.

StefanRijnhart avatar Sep 29 '22 17:09 StefanRijnhart

But feel free to give this PR a thumbs-down :-1: . If nobody finds this useful, then I'll gladly move it back to my custom addons for this project.

StefanRijnhart avatar Sep 29 '22 17:09 StefanRijnhart

The module is now improved to include these 'dangling' credit notes in the sale and purchase's invoice_ids as accessible through the smart buttons on the order forms.

StefanRijnhart avatar Jan 05 '23 17:01 StefanRijnhart

Closing due to obvious lack of interest.

StefanRijnhart avatar Sep 04 '23 13:09 StefanRijnhart

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar May 12 '24 12:05 github-actions[bot]