summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-02-04 15:36:00 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-02-04 15:36:00 +0700
commite990d1d8af808fe2cc5f7218df12849f9ee370a9 (patch)
tree5f19c09bcfa9eecdd5242bfa112ec38c19acb15d
parent0bf3a1d1db07ee8306d81443cc4dba94b3740808 (diff)
parent8cf663b15d39a04df97b3ef13f76b407ca6b7004 (diff)
Merge branch 'odoo-production' of bitbucket.org:altafixco/indoteknik-addons into odoo-production
-rw-r--r--indoteknik_custom/models/coretax_fatur.py2
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'