diff options
| -rw-r--r-- | indoteknik_custom/models/coretax_fatur.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indoteknik_custom/models/coretax_fatur.py b/indoteknik_custom/models/coretax_fatur.py index d93ca7b7..c098fd01 100644 --- a/indoteknik_custom/models/coretax_fatur.py +++ b/indoteknik_custom/models/coretax_fatur.py @@ -154,9 +154,6 @@ class CoretaxFaktur(models.Model): uom = line.product_uom_id coretax_id = uom.coretax_id if uom else 'UM.0018' - bquick_id = 80007 - if invoice.partner_id.id == bquick_id: - coretax_id = 'UM.0018' # coretax_id = line.product_uom_id.coretax_id # Calculate other tax values @@ -170,7 +167,7 @@ class CoretaxFaktur(models.Model): ET.SubElement(good_service, 'Opt').text = 'A' ET.SubElement(good_service, 'Code').text = '000000' ET.SubElement(good_service, 'Name').text = line_name - ET.SubElement(good_service, 'Unit').text = coretax_id + ET.SubElement(good_service, 'Unit').text = coretax_id if invoice.partner_id.id != 80007 else 'UM.0018' # ET.SubElement(good_service, 'Price').text = str(round(line_price_unit, 2)) if line_price_unit else '0' ET.SubElement(good_service, 'Price').text = str(price_per_unit) ET.SubElement(good_service, 'Qty').text = str(quantity) |
