Tryton - Issues

 

Issue8227

Title Use field context to read .rec_name
Priority feature Status unread
Superseder Nosy List ced, pokoli
Type feature request Components sao, tryton, trytond
Assigned To Keywords
Reviews

Created on 2019-03-24.12:52:17 by ced, last changed by pokoli.

Messages
msg47963 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-03-24.12:52:16
It may be useful to customize the rec_name of relation (Many2One or Reference). The customization could be done via context on the field.
For that we need to make some changes to ensure coherent behavior:

* In ModelSQL.read read_related must be called with the context of the field
* In the clients, the fallback read call to read rec_name must also use the field context
History
Date User Action Args
2019-03-25 09:42:46pokolisetnosy: + pokoli
2019-03-24 12:57:45cedlinkissue8228 superseder
2019-03-24 12:52:17cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)