CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have managed to get the manufacturer product code into purchase order line, now, I would like to add the manufacturer name which is a many2one field. I have tried :
'manufacturer' : fields.related('manufacturer_pref','manufacturer',type="many2one", relation="res.partner", string="Manufacturer",store=True),
but I am getting TypeError: string indices must be integers.
anyone can point me out in the right direction ?
About This Community
Odoo Training Center
|Asked: 4/23/14, 3:16 PM|
|Seen: 1205 times|
|Last updated: 3/16/15, 8:10 AM|