ux> in your object partner_relation had you add a fields.related to have the
description_src field of partner_relation_type ?
<cheval_boiteux> if not, you can do that to add :
<cheval_boiteux> 'description_src': fields.related('relation_type_id',
'description_src', type='char', store=False, string='Description'),
* Taytay est parti (Remote host closed the connection)
* Taytay ([email protected]) a rejoint #openobject
<cheval_boiteux> Then, you should add this field on the partner_relation views
(form and tree)
In you object partner_relation, you should add a related field like this :
'description_src': fields.related('relation_type_id',
'description_src', type='char', store=False, string='Description'),
Then, you should add this field in partner_relation views (tree and form) or
directly in the partner form if you define the partner_relation directly in the
res_partner form.
------------------------
Quentin THEURET
http://www.quentin-theuret.net
-------------------- m2f --------------------
--
http://www.openobject.com/forum/viewtopic.php?p=58974#58974
-------------------- m2f --------------------
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users