summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-03-04 13:30:06 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-03-04 13:30:06 +0700
commit98ec81f4442553070ce235d0e96d736c60dcd839 (patch)
tree80fa605cd608822f79dfefdd04886dc6aabf5435 /indoteknik_custom/models/account_move.py
parentbfb7d3b45bbf780fa77b9abc8a0f1860a50da57c (diff)
parent92b6da28414fed56732f86e1f04ea2fac3464d7d (diff)
Merge branch 'odoo-production' into CR/repeat-order
Diffstat (limited to 'indoteknik_custom/models/account_move.py')
-rw-r--r--indoteknik_custom/models/account_move.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index b2ac47c2..9aa0743b 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -65,6 +65,7 @@ class AccountMove(models.Model):
other_subtotal = fields.Float(string="Other Subtotal", compute='compute_other_subtotal')
other_taxes = fields.Float(string="Other Taxes", compute='compute_other_taxes')
is_hr = fields.Boolean(string="Is HR?", default=False)
+ purchase_order_id = fields.Many2one('purchase.order', string='Purchase Order')
def _update_line_name_from_ref(self):
"""Update all account.move.line name fields with ref from account.move"""