style: Spaces to Tabs
(cherry picked from commit a2fff8741e7ea928c4152d8f867db3ef9eb08b19)
This commit is contained in:
parent
9fd673e498
commit
a65b20d976
@ -655,9 +655,9 @@ class TestStockEntry(FrappeTestCase):
|
||||
def test_serial_batch_item_stock_entry(self):
|
||||
"""
|
||||
Behaviour: 1) Submit Stock Entry (Receipt) with Serial & Batched Item
|
||||
2) Cancel same Stock Entry
|
||||
2) Cancel same Stock Entry
|
||||
Expected Result: 1) Batch is created with Reference in Serial No
|
||||
2) Batch is deleted and Serial No is Inactive
|
||||
2) Batch is deleted and Serial No is Inactive
|
||||
"""
|
||||
from erpnext.stock.doctype.batch.batch import get_batch_qty
|
||||
|
||||
@ -697,9 +697,9 @@ class TestStockEntry(FrappeTestCase):
|
||||
"""
|
||||
Behaviour: Create 2 Stock Entries, both adding Serial Nos to same batch
|
||||
Expected: 1) Cancelling first Stock Entry (origin transaction of created batch)
|
||||
should throw a LinkExistsError
|
||||
2) Cancelling second Stock Entry should make Serial Nos that are, linked to mentioned batch
|
||||
and in that transaction only, Inactive.
|
||||
should throw a LinkExistsError
|
||||
2) Cancelling second Stock Entry should make Serial Nos that are, linked to mentioned batch
|
||||
and in that transaction only, Inactive.
|
||||
"""
|
||||
from erpnext.stock.doctype.batch.batch import get_batch_qty
|
||||
|
||||
|
@ -315,10 +315,10 @@ class TestStockReconciliation(FrappeTestCase):
|
||||
def test_stock_reco_for_serial_and_batch_item_with_future_dependent_entry(self):
|
||||
"""
|
||||
Behaviour: 1) Create Stock Reconciliation, which will be the origin document
|
||||
of a new batch having a serial no
|
||||
2) Create a Stock Entry that adds a serial no to the same batch following this
|
||||
Stock Reconciliation
|
||||
3) Cancel Stock Entry
|
||||
of a new batch having a serial no
|
||||
2) Create a Stock Entry that adds a serial no to the same batch following this
|
||||
Stock Reconciliation
|
||||
3) Cancel Stock Entry
|
||||
Expected Result: 3) Serial No only in the Stock Entry is Inactive and Batch qty decreases
|
||||
"""
|
||||
from erpnext.stock.doctype.batch.batch import get_batch_qty
|
||||
|
Loading…
x
Reference in New Issue
Block a user