mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX] rma_scrap: minor lint error
[FIX] rma_scrap: ensure scrapping serials will scrap just 1 unit & ensure scrapped quantity is always positve [FIX] rma_scrap: scrap quantity should consider the quantity in the stock moves not the product_uom_qty [IMP] rma_scrap: test serial case
This commit is contained in:
committed by
JasminSForgeFlow
parent
fc83285b6e
commit
3c5f311f84
@@ -19,5 +19,6 @@ class RmaOperation(models.Model):
|
||||
scrap_location_id = fields.Many2one(
|
||||
comodel_name="stock.location",
|
||||
string="Scrap Destination Location",
|
||||
domain="[('scrap_location', '=', True), ('company_id', 'in', [company_id, False])]",
|
||||
domain="[('scrap_location', '=', True),"
|
||||
"('company_id', 'in', [company_id, False])]",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user