summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-03 09:34:00 +0700
committerFIN-IT_AndriFP <andrifebriyadiputra@gmail.com>2025-12-03 09:34:00 +0700
commit0a5376fe987ca2a6656d9b63c52b939c33150a21 (patch)
treec7335fce017f60a316eb1320c29ef4c2e0ed467b
parenta24399b23e6818aa93d8fe0af3dcf1a4da6bc6da (diff)
(andri) fix journal entries
-rw-r--r--indoteknik_custom/models/advance_payment_request.py2
-rwxr-xr-xindoteknik_custom/models/product_template.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/advance_payment_request.py b/indoteknik_custom/models/advance_payment_request.py
index a50fabd7..d379eac8 100644
--- a/indoteknik_custom/models/advance_payment_request.py
+++ b/indoteknik_custom/models/advance_payment_request.py
@@ -1211,7 +1211,7 @@ class AdvancePaymentSettlement(models.Model):
cab_move = self.pum_id.move_id
# Account Bank Intransit dari CAB:
- bank_intransit_line = cab_move.line_ids.filtered(lambda l: l.account_id.id in [573, 389, 392])
+ bank_intransit_line = cab_move.line_ids.filtered(lambda l: l.account_id.id in [573, 389, 392, 683])
if not bank_intransit_line:
raise UserError("Account Bank Intransit dengan tidak ditemukan di CAB terkait.")
account_sisa_pum = bank_intransit_line[0].account_id.id
diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py
index 13e99707..ee33a185 100755
--- a/indoteknik_custom/models/product_template.py
+++ b/indoteknik_custom/models/product_template.py
@@ -74,6 +74,7 @@ class ProductTemplate(models.Model):
merchandise_ok = fields.Boolean(string='Product Promotion')
print_barcode = fields.Boolean(string='Print Barcode', default=True)
# qr_code = fields.Binary("QR Code", compute='_compute_qr_code')
+ # has_magento = fields.Boolean(string='Has Magento?', default=False)
@api.model
def create(self, vals):