11.02.26
This commit is contained in:
@@ -243,9 +243,9 @@ class AutomationDocument(ModelSQL, ModelView, Workflow):
|
||||
if lot.lot_type == 'physic':
|
||||
wr_payload = {
|
||||
"chunk_key": lot.lot_chunk_key,
|
||||
"gross_weight": float(round(lot.lot_qt * factor_gross,5)),
|
||||
"net_weight": float(round(lot.lot_qt * factor_net,5)),
|
||||
"tare_total": float(round(wr.tare_kg * (lot.lot_qt / wr.bales),5)) ,
|
||||
"gross_weight": float(round(Decimal(lot.lot_qt) * factor_gross,5)),
|
||||
"net_weight": float(round(Decimal(lot.lot_qt) * factor_net,5)),
|
||||
"tare_total": float(round(wr.tare_kg * (Decimal(lot.lot_qt) / wr.bales),5)) ,
|
||||
"bags": int(lot.lot_qt),
|
||||
"surveyor_code": sh[0].controller.get_alf(),
|
||||
"place_key": sh[0].to_location.get_places(),
|
||||
|
||||
Reference in New Issue
Block a user