diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2025-02-04 08:55:01 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2025-02-04 08:55:01 +0700 |
| commit | 8cf663b15d39a04df97b3ef13f76b407ca6b7004 (patch) | |
| tree | 0ad656fb452143d83cb50246e47a538102845ec2 | |
| parent | dd0158651c5fa665cde6c534e7f4283f86adafc9 (diff) | |
xoretax xml add code barang
| -rw-r--r-- | indoteknik_custom/models/coretax_fatur.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/coretax_fatur.py b/indoteknik_custom/models/coretax_fatur.py index ae6dd2ae..706a4f44 100644 --- a/indoteknik_custom/models/coretax_fatur.py +++ b/indoteknik_custom/models/coretax_fatur.py @@ -77,7 +77,7 @@ class CoretaxFaktur(models.Model): otherTaxBase = round(line.price_subtotal * (11/12)) if line.price_subtotal else 0 good_service = ET.SubElement(list_of_good_service, 'GoodService') ET.SubElement(good_service, 'Opt').text = 'A' - ET.SubElement(good_service, 'Code') + ET.SubElement(good_service, 'Code').text = '000000' ET.SubElement(good_service, 'Name').text = line.name ET.SubElement(good_service, 'Unit').text = 'UM.0018' ET.SubElement(good_service, 'Price').text = str(round(line.price_subtotal/line.quantity, 2)) if line.price_subtotal else '0' |
