Operator
This commit is contained in:
@@ -1974,6 +1974,7 @@ class LotQt(
|
||||
lqt.lot_shipment_out.as_('r_lot_shipment_out'),
|
||||
lqt.lot_shipment_internal.as_('r_lot_shipment_internal'),
|
||||
si.vessel.as_('r_vessel'),
|
||||
si.operator.as_('r_operator'),
|
||||
lqt.lot_move.as_('r_lot_move'),
|
||||
lqt.lot_status.as_('r_lot_status'),
|
||||
Case((lp.lot_type=='physic',lp.lot_av),else_=lqt.lot_av).as_('r_lot_av'),
|
||||
@@ -2121,6 +2122,7 @@ class LotQt(
|
||||
lp.lot_shipment_out.as_('r_lot_shipment_out'),
|
||||
lp.lot_shipment_internal.as_('r_lot_shipment_internal'),
|
||||
si.vessel.as_("r_vessel"),
|
||||
si.operator.as_("r_operator"),
|
||||
lp.move.as_("r_lot_move"),
|
||||
lp.lot_status.as_("r_lot_status"),
|
||||
lp.lot_av.as_("r_lot_av"),
|
||||
@@ -2190,6 +2192,7 @@ class LotQt(
|
||||
lp.lot_shipment_out.as_('r_lot_shipment_out'),
|
||||
lp.lot_shipment_internal.as_('r_lot_shipment_internal'),
|
||||
Max(si.vessel).as_("r_vessel"),
|
||||
Max(si.operator).as_("r_operator"),
|
||||
Max(lp.move).as_("r_lot_move"),
|
||||
Max(lp.lot_status).as_("r_lot_status"),
|
||||
Max(lp.lot_av).as_("r_lot_av"),
|
||||
@@ -2247,6 +2250,7 @@ class LotQt(
|
||||
union.r_lot_shipment_out.as_('r_lot_shipment_out'),
|
||||
union.r_lot_shipment_internal.as_('r_lot_shipment_internal'),
|
||||
union.r_vessel.as_("r_vessel"),
|
||||
union.r_operator.as_("r_operator"),
|
||||
union.r_lot_move.as_("r_lot_move"),
|
||||
union.r_lot_status.as_("r_lot_status"),
|
||||
union.r_lot_av.as_("r_lot_av"),
|
||||
@@ -2328,6 +2332,7 @@ class LotReport(
|
||||
r_lot_shipment_out = fields.Many2One('stock.shipment.out', "Shipment Out")
|
||||
r_lot_shipment_internal = fields.Many2One('stock.shipment.internal', "Shipment Internal")
|
||||
r_vessel = fields.Many2One('trade.vessel', "Vessel")
|
||||
r_operator = fields.Many2One('party.party', "Operator")
|
||||
r_lot_move = fields.Many2One('stock.move', "Move")
|
||||
r_lot_parent = fields.Many2One('lot.lot',"Parent")
|
||||
r_lot_himself = fields.Many2One('lot.lot',"Lot")
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
<prefix name="sh_icon"/>
|
||||
</field>
|
||||
<field name="r_vessel" width="130" optional="1"/>
|
||||
<field name="r_operator" width="130" optional="1"/>
|
||||
<field name="r_shipping_status" widget="badge" string="Shipping status" badge_colors="shipped:#16a34a,unshipped:#ef4444,scheduled:#f59e0b" width="120"/>
|
||||
<field name="r_lot_status"/>
|
||||
<field name="r_lot_av" width="80" optional="1" tree_invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user