You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that setting the value of the field "sale_qty_to_reinvoice" to False in a reinvoice credit note is no longer functioning as expected. Despite setting the field to False, the reinvoicing process does not reflect this change in inverse invoices lines.
Module
sale_line_refund_to_invoice_qty
Describe the bug
On creating ("Credit Note"), Identified that the "sale_qty_to_reinvoice" field was not updating on inverse invoices lines.
The problem occurred because the condition (if self.env.context.get("sale_qty_to_reinvoice", False) was bypassing updates when the value False was passed from the "account.move.reversal" wizard.
To Reproduce
Odoo 15.0
Steps to reproduce the behavior:
1.Create the customer invoice and make it paid.
2.Create a Credit Note for this paid invoice due to goods return.
3.Set "sale_qty_to_reinvoice" field is False in ("account.move.reversal") wizard while creating a "Creadit Note" and click on Reverse Button in wizard.
4.Identified that the "sale_qty_to_reinvoice" field was not False on inverse invoices lines
Expected behavior
As per set value in field "sale_qty_to_reinvoice" in ("account.move.reversal") wizard while creating a "Creadit Note", The field "sale_qty_to_reinvoice" value should be set for inverse invoices lines model "account.move.line".
The text was updated successfully, but these errors were encountered:
The issue is that setting the value of the field "sale_qty_to_reinvoice" to False in a reinvoice credit note is no longer functioning as expected. Despite setting the field to False, the reinvoicing process does not reflect this change in inverse invoices lines.
Module
sale_line_refund_to_invoice_qty
Describe the bug
On creating ("Credit Note"), Identified that the "sale_qty_to_reinvoice" field was not updating on inverse invoices lines.
The problem occurred because the condition (if self.env.context.get("sale_qty_to_reinvoice", False) was bypassing updates when the value False was passed from the "account.move.reversal" wizard.
To Reproduce
Odoo 15.0
Steps to reproduce the behavior:
1.Create the customer invoice and make it paid.
2.Create a Credit Note for this paid invoice due to goods return.
3.Set "sale_qty_to_reinvoice" field is False in ("account.move.reversal") wizard while creating a "Creadit Note" and click on Reverse Button in wizard.
4.Identified that the "sale_qty_to_reinvoice" field was not False on inverse invoices lines
Expected behavior
As per set value in field "sale_qty_to_reinvoice" in ("account.move.reversal") wizard while creating a "Creadit Note", The field "sale_qty_to_reinvoice" value should be set for inverse invoices lines model "account.move.line".
The text was updated successfully, but these errors were encountered: