Hey Experts
I am trying to get inventory moves related to supplier shipments
here is what I am currently doing
class QualityControlPreproduction(Workflow, ModelSQL, ModelView):
"Quality Control Preproduction"
__name__ = "quality.control.preproduction"
shipment = fields.Many2One('stock.shipment.in', "Supplier Shipment",
domain=[
('state', '=', 'done'),
]
)
moves = fields.Many2One('stock.move', "Moves",
domain=[('shipment', '=', Eval('shipment')),]
)
but the I can’t see any records at all
Any example is much appreciated