fix(stock entry): wrong valuation rate in repack
This commit is contained in:
parent
a4cb0313dd
commit
99f5e869e0
@ -995,7 +995,9 @@ class StockEntry(StockController):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def mark_finished_and_scrap_items(self):
|
def mark_finished_and_scrap_items(self):
|
||||||
if any([d.item_code for d in self.items if (d.is_finished_item and d.t_warehouse)]):
|
if self.purpose != "Repack" and any(
|
||||||
|
[d.item_code for d in self.items if (d.is_finished_item and d.t_warehouse)]
|
||||||
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
finished_item = self.get_finished_item()
|
finished_item = self.get_finished_item()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user