summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/account_move.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-03-04 10:00:53 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-03-04 10:00:53 +0700
commitcc170c5420fd8854303a63dba59065ab0f87c94e (patch)
tree6587c0a149cc7c34574666605e05763c66095f69 /indoteknik_custom/models/account_move.py
parent7c675cd5bc9f45d2ebca33a63b7184cbb97f0f2f (diff)
multi ask approval po and source document bills
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"""