Anpassung Zuschläge

This commit is contained in:
Beate Trzensiok 2022-09-02 11:59:54 +02:00
parent d22082c8bf
commit 086d7782e7
2 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,8 @@
{ {
"fieldname": "close", "fieldname": "close",
"fieldtype": "Button", "fieldtype": "Button",
"label": "Close" "label": "Close",
"options": "close_invoiced_delivery_notes"
}, },
{ {
"fieldname": "invoices_from_delivery_notes_section", "fieldname": "invoices_from_delivery_notes_section",
@ -78,7 +79,7 @@
], ],
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"modified": "2022-08-29 14:44:35.107379", "modified": "2022-09-02 11:56:18.512522",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "MSP", "module": "MSP",
"name": "Auto Invoice Generator", "name": "Auto Invoice Generator",

View File

@ -128,7 +128,7 @@ class AutoInvoiceGenerator(Document):
print(dn["name"]) print(dn["name"])
print(item.qty) print(item.qty)
print(item.uom) print(item.uom)
if item.item_group == "Dienstleistungen" or item.item_group == "Anfahrten" or item.item_group == "Arbeitszeiten Techniker" or item.item_group == "Anwendungsentwicklung": if item.item_group == "Dienstleistungen" or item.item_group == "Anfahrten" or item.item_group == "Arbeitszeiten Techniker" or item.item_group == "Zuschläge" or item.item_group == "Anwendungsentwicklung":
service_items.append(invoice_doc_item) service_items.append(invoice_doc_item)
elif item.against_sales_order: elif item.against_sales_order:
sales_order_items.append(invoice_doc_item) sales_order_items.append(invoice_doc_item)