summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/stock_move.py
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-02-10 15:26:25 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-02-10 15:26:25 +0700
commitb87787893d25f735bdf9aba164bc8b1f23e2b72f (patch)
treede41a18dd103a96225698e6a9bdb9349d80190e0 /indoteknik_custom/models/stock_move.py
parent3de9e2a7e2b9b455fa85e33231612996538830f4 (diff)
fix line number in po/so and stock picking
Diffstat (limited to 'indoteknik_custom/models/stock_move.py')
-rw-r--r--indoteknik_custom/models/stock_move.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/models/stock_move.py b/indoteknik_custom/models/stock_move.py
index 869053d7..22a73010 100644
--- a/indoteknik_custom/models/stock_move.py
+++ b/indoteknik_custom/models/stock_move.py
@@ -33,3 +33,9 @@ class StockMove(models.Model):
new_account_move._post()
return True
return super(StockMove, self)._create_account_move_line(credit_account_id, debit_account_id, journal_id, qty, description, svl_id, cost)
+
+
+class StockMoveLine(models.Model):
+ _inherit = 'stock.move.line'
+
+ line_no = fields.Integer('No', default=0)