产品优化
This commit is contained in:
@@ -95,7 +95,6 @@ class ResMrpBomMo(models.Model):
|
||||
limit=1,
|
||||
order='volume desc'
|
||||
)
|
||||
logging.info('get_bom-vals:%s' % embryo_has)
|
||||
if embryo_has:
|
||||
rate_of_waste = ((embryo_has.volume - product.model_volume) % embryo_has.volume) * 100
|
||||
if rate_of_waste <= 20:
|
||||
|
||||
Reference in New Issue
Block a user