Code review comment for lp:~openerp-commiter/openobject-addons/chricar_trunk_layout

Revision history for this message
Ferdinand (office-chricar) wrote :

> Review: Needs Fixing
> Why did you removed this ?
> <field name="context">{'contact_display': 'partner',
>
>
> We need this.
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
--
regards
Ferdinand Gassauer
ChriCar Beteiligungs- und Beratungs- GmbH
Official OpenERP Partner

« Back to merge proposal