diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-02-10 11:04:07 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-02-10 11:04:07 +0700 |
| commit | 337e769c7eab63275b4114f48e789bdcf808bdf1 (patch) | |
| tree | 24f09636ecd83abcc22f53295c905d637801b437 /indoteknik_custom/models/purchase_order.py | |
| parent | bbf176b0ce51ade22b74d0df2023025a4cef3efa (diff) | |
add line no in so / po and stock picking
Diffstat (limited to 'indoteknik_custom/models/purchase_order.py')
| -rwxr-xr-x | indoteknik_custom/models/purchase_order.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/purchase_order.py b/indoteknik_custom/models/purchase_order.py index b4d671b6..2f3d2ec4 100755 --- a/indoteknik_custom/models/purchase_order.py +++ b/indoteknik_custom/models/purchase_order.py @@ -169,6 +169,8 @@ class PurchaseOrder(models.Model): self.approval_status = 'approved' self.po_status = 'menunggu' + self.calculate_line_no() + return res def po_approve(self): |
