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
Quando si genera un DN da un trasferimento in uscita collegato ad un SO da cui è già stata emessa una fattura si ottiene questo errore:
File "/home/odoo/odoo/addons/l10n-italy/l10n_it_delivery_note/wizard/delivery_note_create.py", line 118, in confirm
sale_order_id._assign_delivery_notes_invoices(sale_order_id.invoice_ids)
File "/home/odoo/odoo/addons/l10n-italy/l10n_it_delivery_note/models/sale_order.py", line 109, in _assign_delivery_notes_invoices
ready_invoice_ids = [
File "/home/odoo/odoo/addons/l10n-italy/l10n_it_delivery_note/models/sale_order.py", line 112, in <listcomp>
if invoice_id in invoice_ids
File "/home/odoo/odoo/odoo/odoo/models.py", line 5822, in __contains__
raise TypeError(f"unsupported operand types in: {item!r} in {self}")
TypeError: unsupported operand types in: 687 in account.move(687,)
Module
l10n_it_delivery_note
Describe the bug
Quando si genera un DN da un trasferimento in uscita collegato ad un SO da cui è già stata emessa una fattura si ottiene questo errore:
To Reproduce
Affected versions:
Steps to reproduce the behavior:
Expected behavior
Bisogna ricavare gli
ids
invece che gli oggetti nella prima riga segnalata nel traceback riportato qui sopra.The text was updated successfully, but these errors were encountered: