python - What is the use of related fields in OpenERP? -


can explain me related fields. example -

  • how used
  • how can helped
  • for kind of scenario should use fields.related

if can provide small example real use of fields.related appreciate it.

it lets pull field related table. can find more details in developer book, , 1 example @ order_partner_id field of sale_order_line class. in version 5.14, that's @ line 806 of addons/sale/sale.py.

i find want display field in list, it's on parent record instead of actual table i'm listing.


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -