i have a many2one field. It is in a line(part of tree for one2many.)
<tree string="PLD" editable="bottom">
<field name="priority_set" />
<field name="shop_id" domain="[('is_shop', '=', True),('usage','=','internal')]" options="{'no_open':True,'no_create':1,'no_create_edit':1}" /> //shop_id = fields.many2one('stock.location')
<field name="temp_id" options="{'no_open':True,'no_create':1,'no_create_edit':1}" />
</tree>
i want to select a shop for 1st line. In the 2nd line, the selected shop value should not be shown in the many2one dropdown. How can it be done?