We need to display partner AND address and as we can not have address_id twice so I have added in stock.py
'partner_id': fields.related('picking_id','address_id','partner_id',type='many2one', relation="res.partner", string="Partner"),
and display (a few lines later) partner_id and adress_id
hope that is OK
« Back to merge proposal
We need to display partner AND address and
as we can not have address_id twice
so I have added in stock.py
'partner_id': related( 'picking_ id','address_ id','partner_ id',type= 'many2one' , "res.partner" , string="Partner"),
fields.
relation=
and display (a few lines later)
partner_id and adress_id
hope that is OK