I have a field where you get to pick a value from stock picking type value:
What I want, is to filter the list to not show already used values of stock picking value in the records of the model.
I want something like this:
so_receipt_location=fields.Many2one('stock.picking.type','Picking Location',domain=['id','not in' so_receipt_location.ids)
In a few words, don't display stock picking type option that has already been selected in any recordset of the model.
How can I achieve this?