summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-10 13:10:35 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-10 13:10:35 +0700
commitc827294ee6dd613de089af846521cfdc76550e16 (patch)
tree9483340f1c8465c35b9c6089890f2cd261b410fc /indoteknik_custom/models/account_move.py
parent9200e74126c99410b79ef2c344915251bef6af19 (diff)
(andri) revisi mengenai onchange create reklas dan yang lain
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
-rw-r--r--indoteknik_custom/models/account_move.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 3333af8f..4cd2b6b3 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -68,6 +68,9 @@ class AccountMove(models.Model):
purchase_order_id = fields.Many2one('purchase.order', string='Purchase Order')
length_of_payment = fields.Integer(string="Length of Payment", compute='compute_length_of_payment')
reklas_misc_id = fields.Many2one('account.move', string='Journal Entries Reklas')
+ # Di model account.move
+ bill_id = fields.Many2one('account.move', string='Vendor Bill', domain=[('move_type', '=', 'in_invoice')], help='Bill asal dari proses reklas ini')
+
def name_get(self):
result = []