mirror of
https://github.com/itsdave-de/msp.git
synced 2025-05-06 07:25:13 +02:00
Anpassung Rechnungdtyp ASAP
This commit is contained in:
parent
cd226e4fbe
commit
9d81f13cf6
@ -141,6 +141,9 @@ class AutoInvoiceGenerator(Document):
|
||||
for dn in x:
|
||||
item_doc = frappe.get_doc("Delivery Note", dn["name"])
|
||||
items = [self.create_invoice_doc_item(item) for item in item_doc.items]
|
||||
for item in items:
|
||||
item.delivery_note= dn["name"]
|
||||
|
||||
if len(items) > 0:
|
||||
self.create_invoice(cust, items, "Abrechnung Lieferschein " + dn["name"]+ " " + cust_doc.customer_name)
|
||||
invoice_count += 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user