mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] rma_scrap: various fixes
This commit is contained in:
committed by
SergiCForgeFlow
parent
70289bdadd
commit
0f59a8048f
@@ -12,9 +12,3 @@ class StockMove(models.Model):
|
||||
copy=False,
|
||||
help="This Stock Move has been created from a Scrap operation in " "the RMA.",
|
||||
)
|
||||
|
||||
def _is_in_out_rma_move(self, op, states, location_type):
|
||||
res = super(StockMove, self)._is_in_out_rma_move(op, states, location_type)
|
||||
if self.is_rma_scrap:
|
||||
return False
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user